]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbduxsigma: tidy up usbduxsigma_usb_probe()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:48:41 +0000 (12:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:48 +0000 (20:40 +0900)
commit3cf94de7ea47bb1c6b0a837582ce5f84ed112d7f
treea051d895c24f99783291cca488a77156ae6f5734
parent20e391e7908ece35110698408026ab45128bfcd3
staging: comedi: usbduxsigma: tidy up usbduxsigma_usb_probe()

For aesthetic reasons, rename some of the variables to the "norm" used
in comedi drivers.

Use a local variable for the pointer to the private data instead of
accessing the static array directly. Also use a local variable to
setup the urbs.

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