]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci9118: remove 'n_aochan' boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 4 Sep 2014 17:39:25 +0000 (10:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:54:05 +0000 (13:54 -0700)
commitfd173d8d97bfd94e6f9186152678f8d7212b4b03
tree36514bf61bcc6b0870f7b91674be40fbc2524b14
parent1bbb84c8753b7fcdc14c5ab870ac9fa5584fc4dd
staging: comedi: adl_pci9118: remove 'n_aochan' boardinfo

This member of the boardinfo is the same for all entries. Remove it.

Also, remove the initialization of the subdevice 'len_chanlist'. This
member is only used if the subdevice supports async commands.

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