[PATCH 000/112] staging: comedi: remove subdevice pointer math

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

 



This is a repost of the big patch to remove all the subdevice pointer
math. The big patch is now broken up into pieces that only change
single files.

Let me know if they should be combined into larger chuncks.

The s626 and jr3_pci drivers still need a bit of work so they are
not included in this cleanup.

H Hartley Sweeten (112):
  staging: comedi: comedi_fops: remove subdevice pointer math
  staging: comedi: drivers: remove subdevice pointer math
  staging: comedi: 8255: remove subdevice pointer math
  staging: comedi: acl7225b: remove subdevice pointer math
  staging: comedi: addi_common: remove subdevice pointer math
  staging: comedi: hwdrv_APCI1710: remove subdevice pointer math
  staging: comedi: hwdrv_apci3120: remove subdevice pointer math
  staging: comedi: hwdrv_apci3200: remove subdevice pointer math
  staging: comedi: adl_pci6208: remove subdevice pointer math
  staging: comedi: adl_pci7296: remove subdevice pointer math
  staging: comedi: adl_pci7x3x: remove subdevice pointer math
  staging: comedi: adl_pci8164: remove subdevice pointer math
  staging: comedi: adl_pci9111: rename 'subdevice' variable to 's'
  staging: comedi: adl_pci9111: remove subdevice pointer math
  staging: comedi: adl_pci9118: remove subdevice pointer math
  staging: comedi: adq12b: remove subdevice pointer math
  staging: comedi: adv_pci1710: remove subdevice pointer math
  staging: comedi: adv_pci1723: remove subdevice pointer math
  staging: comedi: adv_pci_dio: remove subdevice pointer math
  staging: comedi: adv_pci_dio: clarify subdevice index in
    pci1760_attach()
  staging: comedi: adv_pci_dio: remove 'subdev' param from
    pci_dio_add_*()
  staging: comedi: aio_aio12_8: remove subdevice pointer math
  staging: comedi: aio_iiro_16: remove subdevice pointer math
  staging: comedi: amplc_dio200: remove subdevice pointer math
  staging: comedi: amplc_pc236: remove subdevice pointer math
  staging: comedi: amplc_pc263: remove subdevice pointer math
  staging: comedi: amplc_pci224: remove subdevice pointer math
  staging: comedi: amplc_pci230: remove subdevice pointer math
  staging: comedi: c6xdigio: remove subdevice pointer math
  staging: comedi: cb_das16_cs: remove subdevice pointer math
  staging: comedi: cb_pcidas: remove subdevice pointer math
  staging: comedi: cb_pcidas64: remove subdevice pointer math
  staging: comedi: cb_pcidda: remove subdevice pointer math
  staging: comedi: cb_pcidio: remove subdevice pointer math
  staging: comedi: cb_pcimdas: remove subdevice pointer math
  staging: comedi: cb_pcimdda: remove subdevice pointer math
  staging: comedi: comedi_bond: remove subdevice pointer math
  staging: comedi: comedi_parport: remove subdevice pointer math
  staging: comedi: comedi_test: remove subdevice pointer math
  staging: comedi: contec_pci_dio: remove subdevice pointer math
  staging: comedi: daqboard2000: remove subdevice pointer math
  staging: comedi: das08: remove subdevice pointer math
  staging: comedi: das16: remove subdevice pointer math
  staging: comedi: das16m1: remove subdevice pointer math
  staging: comedi: das1800: remove subdevice pointer math
  staging: comedi: das6402: remove subdevice pointer math
  staging: comedi: das800: 'dev->subdevices + 0' is already known
  staging: comedi: das800: remove subdevice pointer math
  staging: comedi: dmm32at: remove subdevice pointer math
  staging: comedi: dt2801: fix access to 2nd dio subdevice
  staging: comedi: dt2801: remove subdevice pointer math
  staging: comedi: dt2811: remove subdevice pointer math
  staging: comedi: dt2814: remove subdevice pointer math
  staging: comedi: dt2815: remove subdevice pointer math
  staging: comedi: dt2817: remove subdevice pointer math
  staging: comedi: dt282x: remove subdevice pointer math
  staging: comedi: dt3000: remove subdevice pointer math
  staging: comedi: dt9812: remove subdevice pointer math
  staging: comedi: dyna_pci10xx: remove subdevice pointer math
  staging: comedi: fl512: remove subdevice pointer math
  staging: comedi: gsc_hpdi: remove subdevice pointer math
  staging: comedi: icp_multi: remove subdevice pointer math
  staging: comedi: ii_pci20kc: remove subdevice pointer math
  staging: comedi: ke_counter: rename 'subdevice' variable to 's'
  staging: comedi: ke_counter: remove subdevice pointer math
  staging: comedi: me4000: remove subdevice pointer math
  staging: comedi: me_daq: rename 'subdevice' variable to 's'
  staging: comedi: me_daq: remove subdevice pointer math
  staging: comedi: mpc624: remove subdevice pointer math
  staging: comedi: mpc8260cpm: remove subdevice pointer math
  staging: comedi: multiq3: remove subdevice pointer math
  staging: comedi: ni_6527: remove subdevice pointer math
  staging: comedi: ni_65xx: remove subdevice pointer math
  staging: comedi: ni_660x: remove subdevice pointer math
  staging: comedi: ni_670x: remove subdevice pointer math
  staging: comedi: ni_at_a2150: remove subdevice pointer math
  staging: comedi: ni_at_ao: remove subdevice pointer math
  staging: comedi: ni_atmio16d: remove subdevice pointer math
  staging: comedi: ni_daq_700: remove subdevice pointer math
  staging: comedi: ni_daq_dio24: remove subdevice pointer math
  staging: comedi: ni_labpc: remove subdevice pointer math
  staging: comedi: ni_mio_common: remove subdevice pointer math
  staging: comedi: ni_pcidio: remove subdevice pointer math
  staging: comedi: pcl711: remove subdevice pointer math
  staging: comedi: pcl724: remove subdevice pointer math
  staging: comedi: pcl725: remove subdevice pointer math
  staging: comedi: pcl726: remove subdevice pointer math
  staging: comedi: pcl730: remove subdevice pointer math
  staging: comedi: pcl812: remove subdevice pointer math
  staging: comedi: pcl816: remove subdevice pointer math
  staging: comedi: pcl818: remove subdevice pointer math
  staging: comedi: pcm3724: remove subdevice pointer math
  staging: comedi: pcm3730: remove subdevice pointer math
  staging: comedi: pcmad: remove subdevice pointer math
  staging: comedi: pcmda12: remove subdevice pointer math
  staging: comedi: pcmmio: remove subdevice pointer math
  staging: comedi: pcmuio: remove subdevice pointer math
  staging: comedi: poc: remove subdevice pointer math
  staging: comedi: quatech_daqp_cs: remove subdevice pointer math
  staging: comedi: rtd520: remove subdevice pointer math
  staging: comedi: rti800: remove subdevice pointer math
  staging: comedi: rti802: remove subdevice pointer math
  staging: comedi: s526: remove subdevice pointer math
  staging: comedi: serial2002: remove subdevice pointer math
  staging: comedi: skel: remove subdevice pointer math
  staging: comedi: ssv_dnp: remove subdevice pointer math
  staging: comedi: usbdux: remove subdevice pointer math
  staging: comedi: usbduxfast: remove subdevice pointer math
  staging: comedi: usbduxsigma: remove subdevice pointer math
  staging: comedi: vmk80xx: remove subdevice pointer math
  staging: comedi: kcomedilib: remove subdevice pointer math
  staging: comedi: range: remove subdevice pointer math

 drivers/staging/comedi/comedi_fops.c               |  28 ++---
 drivers/staging/comedi/drivers.c                   |   6 +-
 drivers/staging/comedi/drivers/8255.c              |   4 +-
 drivers/staging/comedi/drivers/acl7225b.c          |   6 +-
 .../staging/comedi/drivers/addi-data/addi_common.c |  14 +--
 .../comedi/drivers/addi-data/hwdrv_APCI1710.c      |  18 ++--
 .../comedi/drivers/addi-data/hwdrv_apci3120.c      |   6 +-
 .../comedi/drivers/addi-data/hwdrv_apci3200.c      |   2 +-
 drivers/staging/comedi/drivers/adl_pci6208.c       |   6 +-
 drivers/staging/comedi/drivers/adl_pci7296.c       |   4 +-
 drivers/staging/comedi/drivers/adl_pci7x3x.c       |   8 +-
 drivers/staging/comedi/drivers/adl_pci8164.c       |   8 +-
 drivers/staging/comedi/drivers/adl_pci9111.c       | 116 ++++++++++-----------
 drivers/staging/comedi/drivers/adl_pci9118.c       |  10 +-
 drivers/staging/comedi/drivers/adq12b.c            |   6 +-
 drivers/staging/comedi/drivers/adv_pci1710.c       |  14 +--
 drivers/staging/comedi/drivers/adv_pci1723.c       |   4 +-
 drivers/staging/comedi/drivers/adv_pci_dio.c       |  45 ++++----
 drivers/staging/comedi/drivers/aio_aio12_8.c       |  10 +-
 drivers/staging/comedi/drivers/aio_iiro_16.c       |   4 +-
 drivers/staging/comedi/drivers/amplc_dio200.c      |   6 +-
 drivers/staging/comedi/drivers/amplc_pc236.c       |   8 +-
 drivers/staging/comedi/drivers/amplc_pc263.c       |   2 +-
 drivers/staging/comedi/drivers/amplc_pci224.c      |   4 +-
 drivers/staging/comedi/drivers/amplc_pci230.c      |   8 +-
 drivers/staging/comedi/drivers/c6xdigio.c          |   6 +-
 drivers/staging/comedi/drivers/cb_das16_cs.c       |   6 +-
 drivers/staging/comedi/drivers/cb_pcidas.c         |  16 +--
 drivers/staging/comedi/drivers/cb_pcidas64.c       |  22 ++--
 drivers/staging/comedi/drivers/cb_pcidda.c         |  10 +-
 drivers/staging/comedi/drivers/cb_pcidio.c         |   4 +-
 drivers/staging/comedi/drivers/cb_pcimdas.c        |   6 +-
 drivers/staging/comedi/drivers/cb_pcimdda.c        |   6 +-
 drivers/staging/comedi/drivers/comedi_bond.c       |   2 +-
 drivers/staging/comedi/drivers/comedi_parport.c    |  10 +-
 drivers/staging/comedi/drivers/comedi_test.c       |   4 +-
 drivers/staging/comedi/drivers/contec_pci_dio.c    |   4 +-
 drivers/staging/comedi/drivers/daqboard2000.c      |   8 +-
 drivers/staging/comedi/drivers/das08.c             |  14 +--
 drivers/staging/comedi/drivers/das16.c             |  12 +--
 drivers/staging/comedi/drivers/das16m1.c           |  10 +-
 drivers/staging/comedi/drivers/das1800.c           |  10 +-
 drivers/staging/comedi/drivers/das6402.c           |   4 +-
 drivers/staging/comedi/drivers/das800.c            |   8 +-
 drivers/staging/comedi/drivers/dmm32at.c           |   6 +-
 drivers/staging/comedi/drivers/dt2801.c            |  12 +--
 drivers/staging/comedi/drivers/dt2811.c            |   8 +-
 drivers/staging/comedi/drivers/dt2814.c            |   4 +-
 drivers/staging/comedi/drivers/dt2815.c            |   2 +-
 drivers/staging/comedi/drivers/dt2817.c            |   2 +-
 drivers/staging/comedi/drivers/dt282x.c            |  14 +--
 drivers/staging/comedi/drivers/dt3000.c            |  12 +--
 drivers/staging/comedi/drivers/dt9812.c            |   8 +-
 drivers/staging/comedi/drivers/dyna_pci10xx.c      |   8 +-
 drivers/staging/comedi/drivers/fl512.c             |   4 +-
 drivers/staging/comedi/drivers/gsc_hpdi.c          |   2 +-
 drivers/staging/comedi/drivers/icp_multi.c         |  10 +-
 drivers/staging/comedi/drivers/ii_pci20kc.c        |   4 +-
 drivers/staging/comedi/drivers/ke_counter.c        |  18 ++--
 drivers/staging/comedi/drivers/me4000.c            |  10 +-
 drivers/staging/comedi/drivers/me_daq.c            |  70 ++++++-------
 drivers/staging/comedi/drivers/mpc624.c            |   2 +-
 drivers/staging/comedi/drivers/mpc8260cpm.c        |   2 +-
 drivers/staging/comedi/drivers/multiq3.c           |  14 +--
 drivers/staging/comedi/drivers/ni_6527.c           |   8 +-
 drivers/staging/comedi/drivers/ni_65xx.c           |  17 +--
 drivers/staging/comedi/drivers/ni_660x.c           |   8 +-
 drivers/staging/comedi/drivers/ni_670x.c           |   6 +-
 drivers/staging/comedi/drivers/ni_at_a2150.c       |   2 +-
 drivers/staging/comedi/drivers/ni_at_ao.c          |   8 +-
 drivers/staging/comedi/drivers/ni_atmio16d.c       |  19 ++--
 drivers/staging/comedi/drivers/ni_daq_700.c        |   2 +-
 drivers/staging/comedi/drivers/ni_daq_dio24.c      |  10 +-
 drivers/staging/comedi/drivers/ni_labpc.c          |  18 ++--
 drivers/staging/comedi/drivers/ni_mio_common.c     |  69 ++++++------
 drivers/staging/comedi/drivers/ni_pcidio.c         |  15 +--
 drivers/staging/comedi/drivers/pcl711.c            |  10 +-
 drivers/staging/comedi/drivers/pcl724.c            |  15 +--
 drivers/staging/comedi/drivers/pcl725.c            |   4 +-
 drivers/staging/comedi/drivers/pcl726.c            |   6 +-
 drivers/staging/comedi/drivers/pcl730.c            |   8 +-
 drivers/staging/comedi/drivers/pcl812.c            |  12 +--
 drivers/staging/comedi/drivers/pcl816.c            |   6 +-
 drivers/staging/comedi/drivers/pcl818.c            |  18 ++--
 drivers/staging/comedi/drivers/pcm3724.c           |  26 +++--
 drivers/staging/comedi/drivers/pcm3730.c           |  12 +--
 drivers/staging/comedi/drivers/pcmad.c             |   2 +-
 drivers/staging/comedi/drivers/pcmda12.c           |   2 +-
 drivers/staging/comedi/drivers/pcmmio.c            |  23 ++--
 drivers/staging/comedi/drivers/pcmuio.c            |  10 +-
 drivers/staging/comedi/drivers/poc.c               |   2 +-
 drivers/staging/comedi/drivers/quatech_daqp_cs.c   |   8 +-
 drivers/staging/comedi/drivers/rtd520.c            |  10 +-
 drivers/staging/comedi/drivers/rti800.c            |  10 +-
 drivers/staging/comedi/drivers/rti802.c            |   2 +-
 drivers/staging/comedi/drivers/s526.c              |   8 +-
 drivers/staging/comedi/drivers/serial2002.c        |  10 +-
 drivers/staging/comedi/drivers/skel.c              |   6 +-
 drivers/staging/comedi/drivers/ssv_dnp.c           |   2 +-
 drivers/staging/comedi/drivers/usbdux.c            |  16 +--
 drivers/staging/comedi/drivers/usbduxfast.c        |   4 +-
 drivers/staging/comedi/drivers/usbduxsigma.c       |  14 +--
 drivers/staging/comedi/drivers/vmk80xx.c           |  12 +--
 .../staging/comedi/kcomedilib/kcomedilib_main.c    |   9 +-
 drivers/staging/comedi/range.c                     |   2 +-
 105 files changed, 603 insertions(+), 569 deletions(-)

-- 
1.7.11

_______________________________________________
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