staging: wilc1000: linux_sdio_probe: use return value
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:28 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:20:04 +0000 (13:20 -0800)
commit51d002931b170ea6f056a4c12ae0a9f7233202e5
tree59cd41731e7eecd400e773c5861bacab370e89fb
parent0f34e924f6cfb0730fc33d9b58a5d91c88239792
staging: wilc1000: linux_sdio_probe: use return value

Return ret from wilc_netdev_init instead of -1 for proper error handling.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan_sdio.c