commit | 875a9cb1bd8153688ec76be746d620ff6f604f86 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Jan 18 10:47:19 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 18 12:57:23 2013 -0800 |
tree | 222806e606ba1aea7dc3ffd361461ae977c23c03 | |
parent | 8d5a19db72f72a730f3a1938044f12d9e1cf25a5 [diff] |
staging: comedi: addi_apci_16xx: remove need for comedi_board() Currently this driver uses the total number of channels, stored in the boardinfo, in a number of the subdevice insn_* functions. This information is already available in the subdevice as 's->n_chan'. Use that instead of needing to get the board pointer first. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>