]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: pci: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 03:37:24 +0000 (12:37 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:56:39 +0000 (14:56 -0500)
commita24e38f03fbe118c36f511c8b7cdbfa9da85dc93
tree6be7245a8f81c2b2ec1d186f88d2f74da3259e45
parenta05baa28a6b547476a2d02ffcdd38d2405f3a971
bcma: pci: 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/bcma/host_pci.c