mwifiex: check if mwifiex_sdio_probe_of() fails and return error
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 27 May 2016 14:18:20 +0000 (10:18 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 16 Jun 2016 15:05:08 +0000 (18:05 +0300)
commit213d9421c165973f6cc9d79e91c8be2de25d0ea0
tree0caabd388eda957ac11bf8af570b38fb02f9981d
parentd3f04ece53a40f6d3c83821ce0cf82d3d16880c9
mwifiex: check if mwifiex_sdio_probe_of() fails and return error

The function can fail so the returned value should be checked
and the error propagated to the caller in case of a failure.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sdio.c