]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: spi-xilinx: Remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 31 May 2013 11:47:49 +0000 (17:17 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 4 Jun 2013 17:38:32 +0000 (18:38 +0100)
commit913b19660e166e718d419cccd753c3990881f17c
treee2e5f64e2e6022af4e61c9c601499599a298d42e
parent082339bc63cccf8ea49b1f3cf4ee39ce00742849
spi: spi-xilinx: Remove redundant platform_set_drvdata()

Setting platform data to NULL is not necessary.
Also fixes the following sparse warning:
drivers/spi/spi-xilinx.c:508:35: warning: Using plain integer as NULL pointer

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-xilinx.c