From: H Hartley Sweeten Date: Tue, 20 Jan 2015 21:53:00 +0000 (-0700) Subject: staging: comedi: adv_pci1710: simplify digital input and output boardinfo X-Git-Tag: fixes-v4.0-rc1~99^2~230 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068de2b65b9d14777c7d30853a332ccead664b94;p=pandora-kernel.git staging: comedi: adv_pci1710: simplify digital input and output boardinfo The boards that have digital inputs and outputs always have 16 input channels and 16 output channels. Replace the 'n_dichan' and 'n_dochan' members of the boardinfo with the fit-field flag 'has_di_do' and refactor the board attach accordingly. Remove the unnecessary initialization 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