drivers: SPI: sunxi SPL: fix warning
authorAndre Przywara <andre.przywara@arm.com>
Sun, 20 Nov 2016 14:56:55 +0000 (14:56 +0000)
committerJagan Teki <jagan@openedev.com>
Mon, 21 Nov 2016 09:35:08 +0000 (15:05 +0530)
commit2334c4e705d190fe0f4b385da65ba29231aaed90
tree965e4a160c140bbcf8d2e20784376ae1df5be75e
parent94b653b3dfd2091fefb168fbee0f4c5487e7fc35
drivers: SPI: sunxi SPL: fix warning

Somehow an int returning function without a return statement sneaked
in, fix it.
Also fix some whitespace damage on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sunxi_spi_spl.c