From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:44 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove boardinfo 'i_AiChannelList' X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~834 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fcf666b4a57b9317739f13a6a65d0dbecd47ca8;p=pandora-kernel.git staging: comedi: addi_apci_3120: remove boardinfo 'i_AiChannelList' All boardinfo entries have this member set as '16'. This is also the Analog Input 'n_chan'. For aesthetics, initialize the Analog Input 'len_chanlist' with s->n_chan and remove the boardinfo member. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed