]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: dw-pci: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 09:54:31 +0000 (18:54 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:19:14 +0000 (00:19 +0100)
commit7cce62f3aa956a4ce170e53c98cc195b74aba4b4
tree638eaf65849ca71aab8bb26326ffcdc59498a4e0
parent1e0d191f62c779cdd6953db2541b6b92969ce1bb
spi: dw-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: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw-pci.c