staging: comedi: introduce comedi_to_usb_dev()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:20:02 +0000 (14:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:10 +0000 (10:59 -0700)
commit61dd149b102d00cea3815a161e07cd41fcc0d737
treec7ad72bb346799ce63114d8e420e3a231570af3c
parent4422a6c14d0d0bfe519ec487693f1787f64b0b90
staging: comedi: introduce comedi_to_usb_dev()

Introduce a helper function to get a usb_device pointer from a
comedi_device pointer.

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/comedi_usb.c
drivers/staging/comedi/comedidev.h