From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:42 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove boardinfo 'i_NbrDiChannel' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~836 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171192d0d084ae432f9da25230e17d967ed7eeed;p=pandora-kernel.git staging: comedi: addi_apci_3120: remove boardinfo 'i_NbrDiChannel' All boardinfo entries have this member set as '4'. Remove the member and initialize the Digial Input '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