From: H Hartley Sweeten Date: Tue, 14 Oct 2014 17:44:46 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: simplify analog input boardinfo X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~832 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a02623de52c574a68be09e03ce15abe378b85aa;p=pandora-kernel.git staging: comedi: addi_apci_3120: simplify analog input boardinfo There are two boards supported by this driver. One with 16-bit analog inputs and the other 12-bit analog inputs. Add a bit field flag, 'ai_is_16bit', to the boardinfo and remove the 'i_AiMaxdata' member. Use the new flag to initialize tne analog input subdevice maxdata correctly. For aesthetics, adjust the whitespace in the boardinfo declaration. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed