[PATCH 0/2] staging: comedi/drivers: use auto_attach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Change the comedi USB drivers and PCI drivers to use the new
`auto_attach()` method instead of `attach_usb()` and `attach_pci()`.

There may be a few left-over PCI devices due to H Hartley Sweeten's
patches that add `attach_pci()` to some drivers.  Those will be taken
care of later.

I plan to remove `attach_usb()` and `attach_pci()` from `struct
comedi_driver` once everything has stopped using them.

1) staging: comedi/drivers: use auto_attach instead of attach_usb
2) staging: comedi/drivers: use auto_attach instead of attach_pci

 drivers/staging/comedi/drivers/8255_pci.c       |  7 ++++---
 drivers/staging/comedi/drivers/adl_pci6208.c    |  7 ++++---
 drivers/staging/comedi/drivers/adl_pci7x3x.c    |  7 ++++---
 drivers/staging/comedi/drivers/adl_pci8164.c    |  7 ++++---
 drivers/staging/comedi/drivers/adl_pci9111.c    |  7 ++++---
 drivers/staging/comedi/drivers/adv_pci1710.c    |  7 ++++---
 drivers/staging/comedi/drivers/adv_pci1723.c    |  7 ++++---
 drivers/staging/comedi/drivers/adv_pci_dio.c    |  7 ++++---
 drivers/staging/comedi/drivers/amplc_dio200.c   | 13 +++++++------
 drivers/staging/comedi/drivers/amplc_pc236.c    | 13 +++++++------
 drivers/staging/comedi/drivers/amplc_pc263.c    | 16 ++++++++++------
 drivers/staging/comedi/drivers/amplc_pci224.c   |  9 +++++----
 drivers/staging/comedi/drivers/amplc_pci230.c   |  2 +-
 drivers/staging/comedi/drivers/cb_pcidas.c      |  7 ++++---
 drivers/staging/comedi/drivers/cb_pcidda.c      |  7 ++++---
 drivers/staging/comedi/drivers/cb_pcimdas.c     |  7 ++++---
 drivers/staging/comedi/drivers/cb_pcimdda.c     |  7 ++++---
 drivers/staging/comedi/drivers/contec_pci_dio.c |  7 ++++---
 drivers/staging/comedi/drivers/daqboard2000.c   |  7 ++++---
 drivers/staging/comedi/drivers/das08.c          |  6 ++++--
 drivers/staging/comedi/drivers/dt3000.c         |  7 ++++---
 drivers/staging/comedi/drivers/dyna_pci10xx.c   |  7 ++++---
 drivers/staging/comedi/drivers/icp_multi.c      |  7 ++++---
 drivers/staging/comedi/drivers/ke_counter.c     |  7 ++++---
 drivers/staging/comedi/drivers/me4000.c         |  7 ++++---
 drivers/staging/comedi/drivers/me_daq.c         |  6 ++++--
 drivers/staging/comedi/drivers/ni_6527.c        |  7 ++++---
 drivers/staging/comedi/drivers/ni_65xx.c        |  7 ++++---
 drivers/staging/comedi/drivers/ni_660x.c        |  7 ++++---
 drivers/staging/comedi/drivers/ni_670x.c        |  7 ++++---
 drivers/staging/comedi/drivers/ni_labpc.c       |  7 ++++---
 drivers/staging/comedi/drivers/ni_pcidio.c      |  7 ++++---
 drivers/staging/comedi/drivers/ni_pcimio.c      |  7 ++++---
 drivers/staging/comedi/drivers/s626.c           |  6 ++++--
 drivers/staging/comedi/drivers/usbdux.c         | 11 ++++++-----
 drivers/staging/comedi/drivers/usbduxfast.c     | 11 ++++++-----
 drivers/staging/comedi/drivers/usbduxsigma.c    | 11 ++++++-----
 37 files changed, 164 insertions(+), 122 deletions(-)
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux