[PATCH 0/3] staging: comedi: cleanup some of the driver boilerplate

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

 



Move some of the boilerplate code from the comedi drivers to the comedi core.

H Hartley Sweeten (3):
  staging: comedi: addi_apci_1710: only pci bar 2 is used
  staging: comedi_pci: set dev->iobase in comedi_pci_enable()
  staging: comedi: drivers: set dev->board_name before (*attach)

 drivers/staging/comedi/comedi_pci.c                    | 18 ++++++++++++------
 drivers/staging/comedi/comedidev.h                     |  4 ++--
 drivers/staging/comedi/drivers.c                       |  8 ++++++--
 drivers/staging/comedi/drivers/8255_pci.c              |  7 +++----
 drivers/staging/comedi/drivers/addi-data/addi_common.c |  2 +-
 drivers/staging/comedi/drivers/addi_apci_1032.c        |  8 +++-----
 drivers/staging/comedi/drivers/addi_apci_1516.c        |  4 +---
 drivers/staging/comedi/drivers/addi_apci_16xx.c        |  5 +----
 drivers/staging/comedi/drivers/addi_apci_1710.c        | 17 ++---------------
 drivers/staging/comedi/drivers/addi_apci_2032.c        |  6 ++----
 drivers/staging/comedi/drivers/addi_apci_2200.c        |  7 +------
 drivers/staging/comedi/drivers/addi_apci_3120.c        |  4 +---
 drivers/staging/comedi/drivers/addi_apci_3501.c        |  6 +-----
 drivers/staging/comedi/drivers/adl_pci6208.c           |  4 +---
 drivers/staging/comedi/drivers/adl_pci7x3x.c           |  4 +---
 drivers/staging/comedi/drivers/adl_pci8164.c           |  6 +-----
 drivers/staging/comedi/drivers/adl_pci9111.c           |  5 +----
 drivers/staging/comedi/drivers/adl_pci9118.c           |  5 ++---
 drivers/staging/comedi/drivers/adq12b.c                |  2 --
 drivers/staging/comedi/drivers/adv_pci1710.c           |  3 +--
 drivers/staging/comedi/drivers/adv_pci1723.c           |  6 +-----
 drivers/staging/comedi/drivers/adv_pci1724.c           |  5 +----
 drivers/staging/comedi/drivers/adv_pci_dio.c           |  4 +---
 drivers/staging/comedi/drivers/aio_iiro_16.c           |  2 --
 drivers/staging/comedi/drivers/amplc_dio200.c          |  2 +-
 drivers/staging/comedi/drivers/amplc_pc236.c           |  8 +++-----
 drivers/staging/comedi/drivers/amplc_pc263.c           |  6 ++----
 drivers/staging/comedi/drivers/amplc_pci224.c          |  8 +++-----
 drivers/staging/comedi/drivers/amplc_pci230.c          | 14 ++------------
 drivers/staging/comedi/drivers/cb_pcidas.c             |  4 +---
 drivers/staging/comedi/drivers/cb_pcidas64.c           |  9 +++------
 drivers/staging/comedi/drivers/cb_pcidda.c             |  3 +--
 drivers/staging/comedi/drivers/cb_pcimdas.c            |  6 +-----
 drivers/staging/comedi/drivers/cb_pcimdda.c            |  6 +-----
 drivers/staging/comedi/drivers/comedi_parport.c        |  2 --
 drivers/staging/comedi/drivers/comedi_test.c           |  2 --
 drivers/staging/comedi/drivers/contec_pci_dio.c        |  6 +-----
 drivers/staging/comedi/drivers/daqboard2000.c          |  3 +--
 drivers/staging/comedi/drivers/das08_pci.c             |  4 +---
 drivers/staging/comedi/drivers/das16m1.c               |  2 --
 drivers/staging/comedi/drivers/dmm32at.c               |  2 --
 drivers/staging/comedi/drivers/dt3000.c                |  3 +--
 drivers/staging/comedi/drivers/dyna_pci10xx.c          |  5 +----
 drivers/staging/comedi/drivers/gsc_hpdi.c              |  3 +--
 drivers/staging/comedi/drivers/icp_multi.c             |  7 ++-----
 drivers/staging/comedi/drivers/jr3_pci.c               |  4 +---
 drivers/staging/comedi/drivers/ke_counter.c            |  6 +-----
 drivers/staging/comedi/drivers/me4000.c                |  4 +---
 drivers/staging/comedi/drivers/me_daq.c                |  3 +--
 drivers/staging/comedi/drivers/ni_6527.c               |  3 +--
 drivers/staging/comedi/drivers/ni_65xx.c               |  3 +--
 drivers/staging/comedi/drivers/ni_660x.c               |  3 +--
 drivers/staging/comedi/drivers/ni_670x.c               |  3 +--
 drivers/staging/comedi/drivers/ni_daq_700.c            |  2 --
 drivers/staging/comedi/drivers/ni_daq_dio24.c          |  2 --
 drivers/staging/comedi/drivers/ni_labpc.c              |  3 +--
 drivers/staging/comedi/drivers/ni_pcidio.c             |  3 +--
 drivers/staging/comedi/drivers/ni_pcimio.c             |  3 +--
 drivers/staging/comedi/drivers/pcm3724.c               |  2 --
 drivers/staging/comedi/drivers/pcmda12.c               |  2 --
 drivers/staging/comedi/drivers/pcmmio.c                |  2 --
 drivers/staging/comedi/drivers/quatech_daqp_cs.c       |  2 --
 drivers/staging/comedi/drivers/rtd520.c                |  3 +--
 drivers/staging/comedi/drivers/s526.c                  |  2 --
 drivers/staging/comedi/drivers/s626.c                  |  5 +----
 drivers/staging/comedi/drivers/serial2002.c            |  1 -
 drivers/staging/comedi/drivers/skel.c                  | 18 +++++++-----------
 drivers/staging/comedi/drivers/ssv_dnp.c               |  2 --
 68 files changed, 92 insertions(+), 236 deletions(-)

-- 
1.8.1.4

_______________________________________________
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