[PATCH 00/31] staging: comedi: comedi_fc: tidy up and use

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

 



This module has a number of helper functions for common operations in
comedi drivers. Tidy it up and then use the helpers in the drivers to
remove some of the duplicate code.

H Hartley Sweeten (31):
  staging: comedi: comedi_fc: tidy up module init
  staging: comedi: comedi_fc: tidy up multi-line comment
  staging: comedi: comedi_fc: rename comedi_subdevice variables
  staging: comedi: comedi_fc: remove unnecessary prefix in dev_warn() message
  staging: comedi: comedi_fc: tidy up multi-line comment in header
  staging: comedi: comedi_fc: remove 'extern' from function prototypes
  staging: comedi: comedi_fc: rename comedi_subdevice variables in header
  staging: comedi: comedi_fc: tidy up cfc_bytes_per_scan()
  staging: comedi: comedi_fc: export cfc_bytes_per_scan()
  staging: comedi: comedi_fc: export increment_scan_progress()
  staging: comedi: mite: use cfc_inc_scan_progress()
  staging: comedi: adl_pci9118: use cfc_handle_events()
  staging: comedi: adl_pci9111: use cfc_handle_events()
  staging: comedi: adv_pci1710: use cfc_handle_events()
  staging: comedi: das16m1: use cfc_handle_events()
  staging: comedi: das800: use cfc_handle_events()
  staging: comedi: das1800: use cfc_handle_events()
  staging: comedi: dt282x: use cfc_handle_events()
  staging: comedi: ni_at_a2150: use cfc_handle_events()
  staging: comedi: ni_mio_common: use cfc_handle_events()
  staging: comedi: amplc_pci224: use cfc_handle_events()
  staging: comedi: cb_pcidas: use cfc_handle_events()
  staging: comedi: pcl812: use cfc_handle_events()
  staging: comedi: pcl816: use cfc_handle_events()
  staging: comedi: pcl818: use cfc_handle_events()
  staging: comedi: ni_660x: use cfc_handle_events()
  staging: comedi: dt3000: use cfc_handle_events()
  staging: comedi: ni_labpc: use cfc_handle_events()
  staging: comedi: ni_pcidio: use cfc_handle_events()
  staging: comedi: quatech_daqp_cs: use cfc_handle_events()
  staging: comedi: drivers should not clear the async->events

 drivers/staging/comedi/Kconfig                     |  7 ++
 .../comedi/drivers/addi-data/hwdrv_apci3120.c      |  2 -
 .../comedi/drivers/addi-data/hwdrv_apci3200.c      |  1 -
 drivers/staging/comedi/drivers/adl_pci9111.c       |  9 +-
 drivers/staging/comedi/drivers/adl_pci9118.c       | 37 +++-----
 drivers/staging/comedi/drivers/adv_pci1710.c       | 28 +++---
 drivers/staging/comedi/drivers/amplc_pci224.c      | 12 +--
 drivers/staging/comedi/drivers/cb_pcidas.c         | 14 +--
 drivers/staging/comedi/drivers/comedi_fc.c         | 99 +++++++++++++---------
 drivers/staging/comedi/drivers/comedi_fc.h         | 84 +++++++-----------
 drivers/staging/comedi/drivers/comedi_test.c       |  1 -
 drivers/staging/comedi/drivers/das16m1.c           |  9 +-
 drivers/staging/comedi/drivers/das1800.c           | 10 +--
 drivers/staging/comedi/drivers/das800.c            |  8 +-
 drivers/staging/comedi/drivers/dt282x.c            | 11 +--
 drivers/staging/comedi/drivers/dt3000.c            |  6 +-
 drivers/staging/comedi/drivers/gsc_hpdi.c          |  2 -
 drivers/staging/comedi/drivers/me4000.c            |  3 -
 drivers/staging/comedi/drivers/mite.c              | 11 +--
 drivers/staging/comedi/drivers/ni_660x.c           |  9 +-
 drivers/staging/comedi/drivers/ni_at_a2150.c       |  9 +-
 drivers/staging/comedi/drivers/ni_labpc.c          | 12 +--
 drivers/staging/comedi/drivers/ni_mio_common.c     | 52 ++----------
 drivers/staging/comedi/drivers/ni_pcidio.c         | 16 +---
 drivers/staging/comedi/drivers/pcl812.c            |  4 +-
 drivers/staging/comedi/drivers/pcl816.c            |  5 +-
 drivers/staging/comedi/drivers/pcl818.c            |  7 +-
 drivers/staging/comedi/drivers/quatech_daqp_cs.c   |  5 +-
 28 files changed, 172 insertions(+), 301 deletions(-)

-- 
1.8.5.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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