staging: comedi: vmk80xx: use comedi_to_usb_dev()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:26:01 +0000 (14:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:10 +0000 (10:59 -0700)
commitdb4c3eb795696b7f6132d183b1bbe561b54c98c6
treedaaf3aa0238c1e50ac88e0f76fef3b84d45cd52e
parent0703c9553847b31cf34a7a04a839806fb361422f
staging: comedi: vmk80xx: use comedi_to_usb_dev()

Use the helper function to get a usb_device pointer from a
comedi_device pointer. This removes the need carring the
usb_device pointer in the private data.

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