Move the tracking of the comedi_async 'cur_chan' into the core. V2: fix patches 2 and 3 Ian Abbott pointed out that checking for the COMEDI_CB_EOS event when counting scans does not work when samples are added in a loop. H Hartley Sweeten (3): staging: comedi: ni_mio_common: remove unused variable in ni_ao_fifo_load() staging: comedi: drivers: move comedi_async 'cur_chan' tracking into the core staging: comedi: amplc_pci230: remove private data 'ai_scan_pos' drivers/staging/comedi/drivers.c | 7 +++++++ drivers/staging/comedi/drivers/addi-data/hwdrv_apci3120.c | 2 -- drivers/staging/comedi/drivers/adl_pci9118.c | 8 ++------ drivers/staging/comedi/drivers/adv_pci1710.c | 11 +---------- drivers/staging/comedi/drivers/amplc_pci230.c | 15 ++++----------- drivers/staging/comedi/drivers/ni_mio_common.c | 11 ----------- drivers/staging/comedi/drivers/pcl812.c | 13 ++++--------- drivers/staging/comedi/drivers/pcl816.c | 6 +----- drivers/staging/comedi/drivers/pcl818.c | 6 +----- drivers/staging/comedi/drivers/rtd520.c | 3 --- 10 files changed, 20 insertions(+), 62 deletions(-) -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel