staging: comedi: do not return -ENOSYS.
authorTed Chen <tedc.37zngo@gmail.com>
Tue, 4 Aug 2015 17:18:46 +0000 (01:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 18:55:44 +0000 (11:55 -0700)
commit1a59adb222bc4758241eb4ff253faa5b1ebd4cab
tree95eb0649581d31bcf6fc37e69c81a569b1d99637
parent2537468cee9ff2b9d4c425e2f8141aaa274dc495
staging: comedi: do not return -ENOSYS.

fixed coding style issue by replacing ENOSYS
with EIO because it means 'invalid syscall nr'
and nothing else.

Signed-off-by: Ted Chen <tedc.37zngo@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c