]> git.baikalelectronics.ru Git - kernel.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)
commit0afa1ef92a2be359a47839a9d308cda9676d236e
tree48952ca5bf6dfdd2e9575b28355af7fd56ff530a
parentf6f13fedaf20ada30edb41b62b248592bbbcd405
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