From: H Hartley Sweeten Date: Mon, 17 Feb 2014 21:27:13 +0000 (-0700) Subject: staging: comedi: pcl812: remove 'ai_maxdata' from boardinfo X-Git-Tag: v3.15-rc1~139^2~969 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8bf22a8e087225fc6a294170006cb409ae1a8ae;p=pandora-kernel.git staging: comedi: pcl812: remove 'ai_maxdata' from boardinfo Most of the board types supported by this driver have 12-bit analog inputs. Two of them, the acl8216 and a826pg, have 16-bit analog inputs. Remove the 'ai_maxdata' member from the boardinfo and replace it with a bit-field flag 'has_16bit_ai'. Refactor pcl812_attach() to use this new boardinfo. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed