wlcore: sdio: return correct error code
authorRaphaël Poggi <poggi.raph@gmail.com>
Thu, 2 Jul 2015 08:34:49 +0000 (10:34 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Jul 2015 13:54:15 +0000 (16:54 +0300)
commitcf7d5a80201066daac467d57a47b0826c2e88354
tree0c4ac52382d3e6b7eab78f40732ab2650ea6fa7d
parent277bf09e8be9fa35d6bc0175c2c5a1e6bdb0626e
wlcore: sdio: return correct error code

When wlcore_probe_of failed, return the correct error code instead of ENOMEM

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/sdio.c