]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: vmk80xx: remove usb_interface from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:27:13 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:11 +0000 (10:59 -0700)
commite23322e43a271cb8ebf1bc750dffffeebfe46043
tree31c700997dd984735fbe34c340e72d6f541e2f01
parentdb4c3eb795696b7f6132d183b1bbe561b54c98c6
staging: comedi: vmk80xx: remove usb_interface from private data

This driver uses the comedi auto attach mechanism so the comedi_device
will always have an associated usb_interface and usb_device.

Remove the unnecessary checks if the comedi_device has a usb_interface
attached. This also allows removing the usb_interface from 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