]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: usbduxfast: use comedi_to_usb_dev()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:20:30 +0000 (14:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:10 +0000 (10:59 -0700)
commit0a92de24200f8acc2846f575fa7965d3dd7e4017
tree23fdde9c7c33331e65f1d3f61aacc672f5ede844
parent61dd149b102d00cea3815a161e07cd41fcc0d737
staging: comedi: usbduxfast: use comedi_to_usb_dev()

Use the helper function to get a usb_device pointer from a
comedi_device pointer. This removes the need for also getting
the usb_interface pointer in some cases.

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