]> 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)
commit13dcd6453cb155ad3b6399f139956dadc61c704e
tree2ac71763b668d196a9da412d4e0fa6ce66e0e990
parentf9151f453e60f6e9ddb9669d49853a46f04675cd
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