From: H Hartley Sweeten Date: Tue, 1 Oct 2013 00:53:50 +0000 (-0700) Subject: staging: comedi: ni_at_ao: introduce atao_select_reg_group() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~487 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7d3d419f905e5a3203874e4b7a9e45d2167f2b5;p=pandora-kernel.git staging: comedi: ni_at_ao: introduce atao_select_reg_group() To clarify the code a bit, introduce a helper function to set/clear the GRP2WR bit in the CFG1 register. This bit selects which group of registers are used for the registers that share the same I/O addresses. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed