]> git.karo-electronics.de Git - linux-beck.git/commit
wireless: libertas: remove unnecessary spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 02:11:15 +0000 (11:11 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:56:37 +0000 (14:56 -0500)
commit85f66a0e9bddb37570788ae040a9755d64127a2e
tree33177da27a334bca30281ac26ee3d4ec05ebb5b4
parent515adc14cb860f1fb83f48acc6558baec10386f4
wireless: libertas: remove unnecessary spi_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c