mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
staging: comedi: usbduxfast: remove 'usb' from the private data
The usb_device pointer can be fetched when needed from the comedi_device by using comedi_to_usb_interface() then interface_to_usbdev(). Do that instead and remove the pointer 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>
This commit is contained in:
parent
a71a65b1d6
commit
a4f2e0f9d1
1 changed files with 23 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue