staging: comedi: pass subdevice to comedi_buf_memcpy_to()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 6 May 2014 12:12:01 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:25:48 +0000 (21:25 +0900)
commit00603a9c321e186bba000e01042529bf5cfe68a3
treea646dcd582ad376a042c7f0d3407e3bea0ec375b
parent458c13e935d9f33fffb099e49ecb53c67ddd1a21
staging: comedi: pass subdevice to comedi_buf_memcpy_to()

Change the parameters of `comedi_buf_memcpy_to()` to pass a pointer to
the comedi subdevice instead of a pointer to the "async" structure
belonging to the subdevice.

The main aim at the moment is to replace all the `struct comedi_async *`
parameters with `struct comedi_subdevice *` parameters in the comedi
driver API.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_buf.c
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c
drivers/staging/comedi/drivers/comedi_fc.c