summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* staging: comedi: mpc8260cpm: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: mpc624: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: me_daq: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: me_daq: rename 'subdevice' variable to 's'H Hartley Sweeten2012-09-061-35/+35
| | | | | | | | | Rename the variable used for the comedi_subdevice pointer from 'subdevice' to 's'. This is more typical in other comedi drivers and helps when searching with grep. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: me4000: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: ke_counter: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: ke_counter: rename 'subdevice' variable to 's'H Hartley Sweeten2012-09-061-9/+9
| | | | | | | | | Rename the variable used for the comedi_subdevice pointer from 'subdevice' to 's'. This is more typical in other comedi drivers and helps when searching with grep. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: ii_pci20kc: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: icp_multi: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: gsc_hpdi: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: fl512: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dyna_pci10xx: remove subdevice pointer mathH Hartley Sweeten2012-09-061-4/+4
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt9812: remove subdevice pointer mathH Hartley Sweeten2012-09-061-4/+4
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt3000: remove subdevice pointer mathH Hartley Sweeten2012-09-061-6/+6
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt282x: remove subdevice pointer mathH Hartley Sweeten2012-09-061-7/+7
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt2817: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt2815: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt2814: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt2811: remove subdevice pointer mathH Hartley Sweeten2012-09-061-4/+4
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt2801: remove subdevice pointer mathH Hartley Sweeten2012-09-061-6/+6
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dt2801: fix access to 2nd dio subdeviceH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Only 4 subdevices are allocated by this driver. The 2nd dio subdevice is 'dev->subdevice + 3' not '... + 4'. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: dmm32at: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das800: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das800: 'dev->subdevices + 0' is already knownH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | | There is no need to calculate the subdevice for the call to das800_cancel. The variable 's' in this function is set to the 'dev->read_subdev' which is the same as 'dev->subdevices + 0'. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das6402: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das1800: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das16m1: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das16: remove subdevice pointer mathH Hartley Sweeten2012-09-061-6/+6
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: das08: remove subdevice pointer mathH Hartley Sweeten2012-09-061-7/+7
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: daqboard2000: remove subdevice pointer mathH Hartley Sweeten2012-09-061-4/+4
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: contec_pci_dio: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: comedi_test: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: comedi_parport: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: comedi_bond: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_pcimdda: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_pcimdas: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_pcidio: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_pcidda: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_pcidas64: remove subdevice pointer mathH Hartley Sweeten2012-09-061-11/+11
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_pcidas: remove subdevice pointer mathH Hartley Sweeten2012-09-061-8/+8
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: cb_das16_cs: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: c6xdigio: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: amplc_pci230: remove subdevice pointer mathH Hartley Sweeten2012-09-061-4/+4
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: amplc_pci224: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: amplc_pc263: remove subdevice pointer mathH Hartley Sweeten2012-09-061-1/+1
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: amplc_pc236: remove subdevice pointer mathH Hartley Sweeten2012-09-061-4/+4
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: amplc_dio200: remove subdevice pointer mathH Hartley Sweeten2012-09-061-3/+3
| | | | | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Use a local variable for the subdevice pointer to keep the line < 80 chars. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: aio_iiro_16: remove subdevice pointer mathH Hartley Sweeten2012-09-061-2/+2
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: aio_aio12_8: remove subdevice pointer mathH Hartley Sweeten2012-09-061-5/+5
| | | | | | | | Convert the comedi_subdevice access from pointer math to array access. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: comedi: adv_pci_dio: remove 'subdev' param from pci_dio_add_*()H Hartley Sweeten2012-09-061-9/+11
| | | | | | | | The subdevice index number is not used in the pci_dio_add_*() functions. Just remove them. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>