pcmcia: sa1111: fix propagation of lowlevel board init return code
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 2 Sep 2016 09:14:20 +0000 (10:14 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 12 Sep 2016 09:57:01 +0000 (10:57 +0100)
commit3f8df892b2312011f2ba73aedc0a192d70b8844e
tree1cf5ab57ba1d5d5c002a697a18454953fba1e701
parenta466ebd2fc6a793e55f028a008b9f094d7d30fe3
pcmcia: sa1111: fix propagation of lowlevel board init return code

When testing Lubbock, it was noticed that the sa1111 pcmcia driver bound
but was not functional due to no sockets being registered.  This is
because the return code from the lowlevel board initialisation was not
being propagated out of the probe function.  Fix this.

Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/pcmcia/sa1111_badge4.c
drivers/pcmcia/sa1111_generic.c
drivers/pcmcia/sa1111_jornada720.c
drivers/pcmcia/sa1111_lubbock.c
drivers/pcmcia/sa1111_neponset.c