libertas: return errno from lbs_add_card()
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 7 Oct 2018 00:33:27 +0000 (02:33 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 13 Oct 2018 17:03:53 +0000 (20:03 +0300)
commitbbc2a101f06beef093dda87bd7de47ad532e5448
tree53225ac9a580f2550d30156c2404cb7c7540e118
parent6528d88047801b80d2a5370ad46fb6eff2f509e0
libertas: return errno from lbs_add_card()

This makes the error handling somewhat cleaner -- lbs_add_card() does no
logner throw away the errno and lets its callers propagate it.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/if_cs.c
drivers/net/wireless/marvell/libertas/if_sdio.c
drivers/net/wireless/marvell/libertas/if_spi.c
drivers/net/wireless/marvell/libertas/if_usb.c
drivers/net/wireless/marvell/libertas/main.c