staging: comedi: dt9812: use comedi_to_usb_dev()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:27:48 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:11 +0000 (10:59 -0700)
commit87d87adcd797291e553fcfca32bc7b257a041d95
tree5a8ae62d7b77b985a5dbf2585645fcfcbd5d9237
parente23322e43a271cb8ebf1bc750dffffeebfe46043
staging: comedi: dt9812: 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/dt9812.c