]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: usbduxsigma: tidy up usbduxsigma_attach_common()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:54:49 +0000 (12:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:56 +0000 (20:40 +0900)
commit78f48506f5314f73580ccdd721d2326100621734
tree9a45298337cea267f0a007932c0b32b8fe2d4f67
parentaf87e188902141f3ec9e485a97f568e86b2b2363
staging: comedi: usbduxsigma: tidy up usbduxsigma_attach_common()

Rename the local variable used for the comedi_device private data.

Remove all the unnecessary comments and add some whitespace to the
subdevice init.

Use dev->class_dev for the 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