]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbduxsigma: tidy up usbduxsub_ai_IsocIrq()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:45:16 +0000 (12:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:44 +0000 (20:40 +0900)
commitdcdb26c10e93ba5a4cec74a3a3e3f1ad42c926d2
tree69bc56af0f39de93a31e11e625f98db91540da26
parent423d6d6ae3bb38ac5fd34458b49b722a3d663a6d
staging: comedi: usbduxsigma: tidy up usbduxsub_ai_IsocIrq()

Rename the local variables to follow the "norm" for comedi drivers.
The comedi_subdevice for this function is the dev->read_subdev that
was initialized during the (*auto_attach), use that instead of
directly accessing the comedi_device subdevices array.

Use dev->class_dev for any dev_{level} messages.

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