]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: cxt1e1: use kernel's way of returning error codes
authorDevendra Naga <devendra.aaru@gmail.com>
Sat, 1 Sep 2012 20:59:50 +0000 (02:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 21:27:41 +0000 (14:27 -0700)
commita47bf2452b05e6f7a3bbbe2433b0a7a6c1f4a5e4
tree346009b7b3834f964c303cec6260137d39af7a08
parent375d8886bc76871f012a337b4d6d753970d9fb36
staging: cxt1e1: use kernel's way of returning error codes

The error codes the kernel functions return are -ve numbers, convert this
function to follow the other kernel functions

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/linux.c
drivers/staging/cxt1e1/musycc.c