staging: comedi: adl_pci9118: remove 'ai_n_chan' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 May 2014 16:35:29 +0000 (09:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:18:53 +0000 (21:18 +0900)
commit0642d08045aafe4f0bbef129e65264cc60502faa
tree7f4985e507c784eedb76011ba2dafde61ecdf4d5
parent49e66262d9296e618b25d8a8128f2dff1ca59637
staging: comedi: adl_pci9118: remove 'ai_n_chan' from private data

This member of the private data is just a copy of the cmd->chanlist_len.
Use that instead.

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>
drivers/staging/comedi/drivers/adl_pci9118.c