]> git.karo-electronics.de Git - linux-beck.git/commit
wireless: adm8211: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 11:22:10 +0000 (20:22 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:42 +0000 (15:13 -0400)
commit11caec6952599c95e43e34b87e75a6add5be0067
treedf64db149f1781de5b8a5a87568a6d7161273721
parentc1faf2cae280400e5368431da9c87ecfca8fbc62
wireless: adm8211: remove unnecessary pci_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/adm8211.c