]> 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)
commit2a776618e3b8090c7466369aa8ce12c6b167c614
tree48952ca5bf6dfdd2e9575b28355af7fd56ff530a
parentb5c7a20757b23b6559be182580446736fe3c7bf7
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