Skip to content
Commit 913b1966 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown
Browse files

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 082339bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment