From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:41 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove boardinfo 'i_NbrDoChannel' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~837 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4241d6b82ddf080ce82f062281b93eb68c291298;p=pandora-kernel.git staging: comedi: addi_apci_3120: remove boardinfo 'i_NbrDoChannel' All boardinfo entries have this member set as '4'. Remove the member and initialize the Digial Output 'n_chan' with 4 directly. Also, remove the initialization of 'len_chanlist'. This member is only used with 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