]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bfin-v3: remove unnecessary platform_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 22 Aug 2013 02:02:17 +0000 (11:02 +0900)
committerMark Brown <broonie@linaro.org>
Thu, 22 Aug 2013 09:58:42 +0000 (10:58 +0100)
commitfe8e73cfb790ad9522c039154f05369cba04dd71
treebeac70525597172e800715d27c578cb402ab4e72
parent704589eaf16a3f680c2b3f3f4ba92ffb04e388af
spi: bfin-v3: remove unnecessary platform_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-bfin-v3.c