From: H Hartley Sweeten Date: Fri, 24 Oct 2014 17:26:06 +0000 (-0700) Subject: staging: comedi: addi_apci_1564: board has 3 timers X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~722 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=367ff14edd97bbd0d54e5bdfeb10201cbe491d0b;p=pandora-kernel.git staging: comedi: addi_apci_1564: board has 3 timers According to ADDI-DATA, the APCI-1564 only has 3 timers. There are some customer specific boards with 4 timers but they use out of tree drivers. Now that the timer 'channels' are handled correctly in the subdevice functions, fix the number of timer channels for the subdevice and remove the code that would access a 4th timer. Also, remove the unnecessary initialzation of the subdevice 'len_chanlist'. That member is only used by subdevices that support async commands. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed