From: H Hartley Sweeten Date: Thu, 4 Sep 2014 17:39:33 +0000 (-0700) Subject: staging: comedi: adl_pci9118: refactor 'ai_maxdata' in boardinfo X-Git-Tag: fixes-for-v3.18-merge-window~15^2~696 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0972008b2dfa2161ff1223214f5aae574bfe803;p=pandora-kernel.git staging: comedi: adl_pci9118: refactor 'ai_maxdata' in boardinfo The boards supported by this driver either have 12-bit or 16-bit analog inputs. For aesthetics, replace the 'ai_maxdata' member in the boardinfo with a bit-field flag, 'ai_is_16bit', and refactor the subdevice init to use the new member. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed