staging: comedi: gsc_hpdi: cleanup step 3 of me4000_ai_do_cmd_test()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 14 Nov 2012 00:56:11 +0000 (17:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 00:23:17 +0000 (16:23 -0800)
commit8c6c5a692d46a2f2fc589952a1f38ac1c690d3a7
treeffb1b9c6074d34def0943751fd17539af13ed897
parentbf1b2022ef4052953b7f8e04ee3259c061561261
staging: comedi: gsc_hpdi: cleanup step 3 of me4000_ai_do_cmd_test()

Remove the dev_err() noise and convert the error handling to the
normal form (err |= -EINVAL) used in the do_cmdtest functions.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/me4000.c