]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5cb271ad7046767af64e77709f81f4c7c2c8c277
tree53225ac9a580f2550d30156c2404cb7c7540e118
parent2977effabe14ee47c0ba281040cb7b18c3e846f1
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