[PATCH 00/15] staging: comedi: tidy up some usb driver boilerplate
H Hartley Sweeten
hsweeten at visionengravers.com
Mon May 20 21:19:22 UTC 2013
Introduce a new helper function for the comedi usb drivers to get the
usb_device pointer from the comedi_device pointer. Use the helper in
the comedi usb drivers that have been cleaned up (usbduxfast, vmk80xx,
and dt9812).
Convert the usbdux* drivers to request the firmware synchronously and
use the comedi_load_firmware() helper.
H Hartley Sweeten (15):
staging: comedi: introduce comedi_to_usb_dev()
staging: comedi: usbduxfast: use comedi_to_usb_dev()
staging: comedi: vmk80xx: don't pass the private data directly
staging: comedi: vmk80xx: use comedi_to_usb_dev()
staging: comedi: vmk80xx: remove usb_interface from private data
staging: comedi: dt9812: use comedi_to_usb_dev()
staging: comedi: usbduxfast: use comedi_load_firmware()
staging: comedi: usbdux: request firmware synchronously
staging: comedi: usbdux: consolidate the firmware upload
staging: comedi: usbdux: move firmware request/upload into (*auto_attach)
staging: comedi: usbdux: use comedi_load_firmware()
staging: comedi: usbduxsigma: request firmware synchronously
staging: comedi: usbduxsigma: consolidate the firmware upload
staging: comedi: usbduxsigma: move firmware request/upload into (*auto_attach)
staging: comedi: usbduxsigma: use comedi_load_firmware()
drivers/staging/comedi/comedi_usb.c | 12 ++
drivers/staging/comedi/comedidev.h | 1 +
drivers/staging/comedi/drivers/dt9812.c | 15 +-
drivers/staging/comedi/drivers/usbdux.c | 231 +++++++-------------------
drivers/staging/comedi/drivers/usbduxfast.c | 58 ++-----
drivers/staging/comedi/drivers/usbduxsigma.c | 233 ++++++++-------------------
drivers/staging/comedi/drivers/vmk80xx.c | 83 +++++-----
7 files changed, 195 insertions(+), 438 deletions(-)
--
1.8.1.4
More information about the devel
mailing list