]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: pl022: remove unnecessary amba_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 09:53:36 +0000 (18:53 +0900)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:21:32 +0000 (00:21 +0100)
commit4ebfee9118599dece86429270be1bcbb3099f237
treee86b851ffb7d48794a360ea37c9ea482b562f68d
parent6e99897ba0cdeb83e91738683000aeed6a079cae
spi: pl022: remove unnecessary amba_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-pl022.c