[PATCH] spi: pl022: remove unused ret and pins_state variables
Linus Walleij
linus.walleij at linaro.org
Mon Jun 17 07:22:30 EDT 2013
On Mon, Jun 17, 2013 at 12:08 PM, Fabio Baltieri
<fabio.baltieri at linaro.org> wrote:
> 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 at linaro.org>
How sloppy of me. Applied with Mark's ACK.
Thanks!
Linus Walleij
More information about the linux-arm-kernel
mailing list