Re: [PATCH 1/4] staging: wilc1000: linux_wlan_spi.c: return linux error value

2015-12-18 Thread Greg KH
On Wed, Nov 25, 2015 at 06:35:26PM +0900, Glen Lee wrote: > return linux error value instead of 0 or 1 and use -EINVAL. Related codes > also changed together. > > Signed-off-by: Glen Lee > --- > drivers/staging/wilc1000/linux_wlan_spi.c | 14 +++--- >

[PATCH 1/4] staging: wilc1000: linux_wlan_spi.c: return linux error value

2015-11-25 Thread Glen Lee
return linux error value instead of 0 or 1 and use -EINVAL. Related codes also changed together. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan_spi.c | 14 +++--- drivers/staging/wilc1000/wilc_spi.c | 18 +- 2 files changed, 12