]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: davinci: use spi->cs_gpio directly
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 16 Oct 2015 15:22:07 +0000 (16:22 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 16 Oct 2015 18:09:01 +0000 (19:09 +0100)
commit8cae0424787ba02987a6f3a6117f31f6a77260dc
tree10720b74a64effa937ec987beb36e90397106183
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
spi: davinci: use spi->cs_gpio directly

Use spi->cs_gpio directly to remove the following build warning:
drivers/spi/spi-davinci.c:219:6: warning: 'gpio' may be used uninitialized in this function

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-davinci.c