]> git.karo-electronics.de Git - linux-beck.git/commit
staging: wilc1000: linux_wlan_spi.c: return linux error value
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:27 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:20:04 +0000 (13:20 -0800)
commit0f34e924f6cfb0730fc33d9b58a5d91c88239792
tree48952ca5bf6dfdd2e9575b28355af7fd56ff530a
parent6d04d7a0d9b63dfb8942eb5e0855b9be40bc5893
staging: wilc1000: linux_wlan_spi.c: return linux error value

return linux error value instead of 0 or 1 and use -EINVAL. Related codes
also changed together.

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