H Hartley Sweeten
f463b8c080
staging: comedi: adl_pci9118: remove 'dmabuf_panic_size' from private data
...
This member of the private data is only used in some #if 0'ed code. Remove
it along with the unused code.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
006e81e2bb
staging: comedi: adl_pci9118: remove PCI9118_PARANOIDCHECK code
...
The comment states that paramoid checks are broken. They also would only
work for 12-bit analog input samples.
Instead of fixing the paranoid checking just remove it to simplify the
driver a bit.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
45ada8e85c
staging: comedi: adl_pci9118: do cfc_handle_events() at end of interrupt
...
Each of the error detections currently do a cfc_handle_events() and exits
the interrupt handler if the error is detected. The DMA and non-DMA handlers
also to a cfc_handle_events().
For aesthetics, use goto to exit the interrupt handler if an error is detected
and move the cfc_handle_events() call to the end of the interrupt.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
f16a7b8516
staging: comedi: adl_pci9118: handle hardware errors in interrupt handler
...
Hardware errors will now always terminate an async command. For aesthetics,
absorb pci9118_decode_error_status() into the interrupt handler and use
the register map defines to remove the "magic" numbers. Refactor the code
to set the appropriate comedi event bits and handle the event.
Remove the unnecessary 'ai_maskerr' and 'ai_maskharderr' members from the
private data.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
fed2c84060
staging: comedi: adl_pci9118: handle error detection in main interrupt handler
...
The DMA and non-DMA both check the analog input status value to detect
hardware errors. For aesthetics, move the this detection into the main
interrupt handler. This allows removing the unused 'int_adstat' parameter
from the DMA and non-DMA handlers. In addition, the 'int_daq' parameter
is also not used so remove it also.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
318141a18f
staging: comedi: adl_pci9118: handle master/target abort in main interrupt handler
...
For aesthetics, move the master/target abort detection from the DMA handler to the
main interrupt handler. This allows removing the unused 'int_amcc' parameter from
the DMA and non-DMA handlers.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
9e5314851a
staging: comedi: adl_pci9118: don't ignore hardware errors
...
The legacy (*attach) currently allows the user to pass a mask of error conditions
to ignore when running async commands. Remove this support so that the async
command is always terminated if the hardware reports an error.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:24 -07:00
H Hartley Sweeten
cb57832781
staging: comedi: adl_pci9118: always try to use interrupt and DMA
...
This driver currently supports both the (*auto_attach) and legacy (*attach)
mechanisms. The (*auto_attach) always tries to use the interrupt and DMA to
support async commands with the analog input subdevice. The legacy (*attach)
only enables them depending on a user option that is passed to the (*attach).
The 'default' (i.e. option == 0) is to enable both the interrupt and DMA.
Simplify the attach by always trying to enable the interrupt and DMA.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:23 -07:00
H Hartley Sweeten
6cf6b36768
staging: comedi: adl_pci9118: DMA requires an interrupt
...
In order for DMA to work we also need an interrupt. Refactor the code
so that the DMA allocation is only done if the interrupt is available.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:23 -07:00
H Hartley Sweeten
b9ca5508bc
staging: comedi: adl_pci9118: factor out DMA alloc/free
...
For aesthetics, factor the DMA allocation/free code out of the attach
and detach functions.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Reviewed-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-09-11 14:34:23 -07:00
Ian Abbott
957b9f8b41
staging: comedi: vmk80xx: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
723b68a9f8
staging: comedi: rti800: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
3afadfa542
staging: comedi: rtd520: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
3bb221694e
staging: comedi: pcmuio: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
3230e42a71
staging: comedi: pcmad: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
dc453864d6
staging: comedi: pcl818: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
79c9f68f55
staging: comedi: pcl816: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
f7c9874b93
staging: comedi: pcl812: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
81fec905f1
staging: comedi: pcl730: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
334e2f59b0
staging: comedi: pcl726: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
411b6f8919
staging: comedi: pcl724: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
b825f6c316
staging: comedi: pcl711: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
068be4998b
staging: comedi: ni_pcimio: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:53 -07:00
Ian Abbott
7cf94adc51
staging: comedi: ni_mio_common: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
765c8b03d7
staging: comedi: ni_labpc_isadma: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
8cf27116e3
staging: comedi: ni_labpc_common: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
af169cf1e2
staging: comedi: ni_atmio: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
967b3eb221
staging: comedi: ni_atmio16d: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
3ec68b505a
staging: comedi: ni_at_ao: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
02cf9703e1
staging: comedi: ni_at_a2150: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
da8e2a52be
staging: comedi: ni_660x: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
369f87fadd
staging: comedi: ni_65xx: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
acaf8a5d40
staging: comedi: me4000: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
c3972570c3
staging: comedi: dt3000: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
a4759d39e2
staging: comedi: dt282x: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:52 -07:00
Ian Abbott
a5a74074d3
staging: comedi: dt2811: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
36ecf00396
staging: comedi: dt2801: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
b77930940d
staging: comedi: das800: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
19924ce0c1
staging: comedi: das6402: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
e0dd99bd12
staging: comedi: das1800: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
7a5bd23d9e
staging: comedi: das16: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
c86b98a249
staging: comedi: das08_isa: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
3fad0eb2f4
staging: comedi: das08: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
fa8e8c8b4f
staging: comedi: cb_pcidas: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
3bc86feba4
staging: comedi: cb_pcidas64: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
e857c7ca7e
staging: comedi: amplc_pci230: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
6b417436aa
staging: comedi: amplc_pci224: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
280f7a4c4f
staging: comedi: amplc_pc236_common: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:51 -07:00
Ian Abbott
b37e1d6eeb
staging: comedi: aio_aio12_8: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:50 -07:00
Ian Abbott
bb5c7f9388
staging: comedi: adv_pci_dio: replace comedi_board() calls
...
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`. Expand the inline function calls.
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 >
2014-09-11 14:32:50 -07:00