]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: addi_apci_2032: remove the timer s->range_table
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 30 Nov 2012 01:20:50 +0000 (18:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Nov 2012 02:05:31 +0000 (18:05 -0800)
commit7c7c42cdf6b1968da6588de97c4978ce602b5d34
tree6a43e4f333abafb0ddc71e51998d60b45751f747
parentcf11088242f0f73cb616ab66fb16c2da3d626fff
staging: comedi: addi_apci_2032: remove the timer s->range_table

The timer subdevice does not have a digital range. Its range of
0 to 0xff is the value used to set the reload timer.

Remove the setting of s->range_table. The comedi core will then
set it to range_unknown.

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