OSDN Git Service

staging: comedi: usbduxsigma: cleanup the stop functions
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:40:10 +0000 (12:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:39 +0000 (20:40 +0900)
commit19d61fd2509ee41784af13eac1c04fba30b2d487
treea69f77528cf4ddae94412a68784cbce2bcd66db4
parent1c3032a4e98ee85073c7acf801cc5de721ed1acf
staging: comedi: usbduxsigma: cleanup the stop functions

The 'this_usbduxsub' parameter is actually the comedi_device private data,
rename it to 'devpriv' which is more common in comedi drivers.

Remove the unnecessary pr_err() noise in usbdux_ai_stop().

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/usbduxsigma.c