From: Ian Abbott Date: Fri, 5 Jun 2015 17:30:15 +0000 (+0100) Subject: staging: comedi: das08: rename and rewrite DAS08_IP X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d14ac8a900961b44173a5dff38e138ecda8e4c7;p=pandora-kernel.git staging: comedi: das08: rename and rewrite DAS08_IP The `DAS08_IP()` macro takes a value read from the status register and returns the state of the three digital input channels (except on "JR" boards). Rename it to `DAS08_STATUS_DI()` and add a comment. Also re-arrange the expression used to extract the state of the digital inputs for consistency with other register macros. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed