staging: ks7010: remove custom return values
authorTobin C. Harding <me@tobin.cc>
Tue, 14 Mar 2017 10:20:12 +0000 (21:20 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:41:37 +0000 (11:41 +0900)
commitaa6ca807baace49992ad6990c9aeda22289be5cd
tree24572bde92368de307504a95c8ad6565d851fd07
parent7bb6313d011f16405b338a228f540d3ab5aee58a
staging: ks7010: remove custom return values

Driver code uses custom return values (often positive) to signal error
condition instead of using standard kernel error codes.

Replace custom return values with standard kernel error codes.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_wlan_net.c