Re: [PATCH 00/19] staging: comedi: more comedi_subdevice 'readback' cleanup

2014-11-21 Thread Ian Abbott
On 20/11/14 22:07, H Hartley Sweeten wrote: Most of the comedi drivers that use the comedi_subdevice 'readback' use the core provided (*insn_read) function, comedi_readback_insn_read(). Modify comedi_alloc_subdev_readback() to automatically default the subdevice (*insn_read) to this function

[PATCH 00/19] staging: comedi: more comedi_subdevice 'readback' cleanup

2014-11-20 Thread H Hartley Sweeten
Most of the comedi drivers that use the comedi_subdevice 'readback' use the core provided (*insn_read) function, comedi_readback_insn_read(). Modify comedi_alloc_subdev_readback() to automatically default the subdevice (*insn_read) to this function after allocating the 'readback' memory. A couple