staging: Fix some incorrect use of positive error codes.
authorRalph Loader <suckfish@ihug.co.nz>
Fri, 21 Jan 2011 06:27:53 +0000 (19:27 +1300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 Jan 2011 20:35:50 +0000 (12:35 -0800)
Use -E... instead of just E... in a few places where negative error
codes are expected by a functions callers.  These were found by grepping
with coccinelle & then inspecting by hand to determine which were bugs.

The staging/cxt1e1 driver appears to intentionally use positive E...
error codes in some places, and negative -E... error codes in others,
making it hard to know which is intended where - very likely I missed
some problems in that driver.

Signed-off-by: Ralph Loader <suckfish@ihug.co.nz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found