]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: adl_pci9118: remove PCI9118_CHANLEN
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 19 Oct 2015 20:13:00 +0000 (13:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:17:13 +0000 (19:17 -0700)
commit81c6b7d872ca93d66e3d7234a10692054caeeac1
tree2ac71763b668d196a9da412d4e0fa6ce66e0e990
parent77252300d9e85318453476b4a26f159f506cf6f9
staging: comedi: adl_pci9118: remove PCI9118_CHANLEN

This define is only used to initialize the analog input sudevice
'len_chanlist'. Remove the define and just open code the value.

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