spi: img-spfi: fix kbuild test robot warning
authorSifan Naeem <sifan.naeem@imgtec.com>
Thu, 6 Aug 2015 09:33:01 +0000 (10:33 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 6 Aug 2015 11:26:01 +0000 (12:26 +0100)
commit9176c6657b5c313cf504d157e6d91496ee5c8708
treee233f4e5ef0ae362697df4bdb2dfca8b5e9115a5
parentb03ba9e314c12b2127243145b5c1f41b2408de62
spi: img-spfi: fix kbuild test robot warning

drivers/spi/spi-img-spfi.c: In function 'img_spfi_setup':
drivers/spi/spi-img-spfi.c:446: warning: 'ret' may be used
uninitialized in this function.

Fixes: commit b03ba9e314c1 ("spi: img-spfi: fix multiple calls to request gpio")
Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-img-spfi.c