From: H Hartley Sweeten Date: Mon, 23 Feb 2015 21:57:55 +0000 (-0700) Subject: staging: comedi: amplc_dio200_common: introduce DIO200_GAT_SEL() macro X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~724 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f907df0302b1d723887926ec7dba39bf1d31da5;p=pandora-kernel.git staging: comedi: amplc_dio200_common: introduce DIO200_GAT_SEL() macro Replace the DIO200_[XYZ]GAT_SEL defines with a macro that returns the correct register offset. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed