spi: pl022: remove unused ret and pins_state variables
authorFabio Baltieri <fabio.baltieri@linaro.org>
Mon, 17 Jun 2013 10:08:15 +0000 (12:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2013 16:18:33 +0000 (18:18 +0200)
commit97e3d9e32f12dfb19c38fdd692db76523608febc
treebdef1cae7ffd93f7ac30a4a310aa0828d66ef38a
parentac68936652819dad1e5decefddb1c7fc1d7bc364
spi: pl022: remove unused ret and pins_state variables

Removes the warnings:

drivers/spi/spi-pl022.c: In function 'pl022_suspend_resources':
drivers/spi/spi-pl022.c:2322:24: warning: unused variable 'pins_state' [-Wunused-variable]
drivers/spi/spi-pl022.c:2321:6: warning: unused variable 'ret' [-Wunused-variable]
drivers/spi/spi-pl022.c: In function 'pl022_resume_resources':
drivers/spi/spi-pl022.c:2334:6: warning: unused variable 'ret' [-Wunused-variable]

introduced in:

f1c9cf0 spi: pl022: use pinctrl PM helpers

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c