From: Ian Abbott Date: Fri, 5 Jun 2015 17:30:18 +0000 (+0100) Subject: staging: comedi: das08: rename and rewrite DAS08_INTE X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3a22bcada2209520180c8bf0045e4e241003af;p=pandora-kernel.git staging: comedi: das08: rename and rewrite DAS08_INTE The `DAS08_INTE` macro contains a mask for the "INTE" bit in the control register (except on "JR" boards). Setting it to 1 enables interrupts. Setting it to 0 disables interrupts and clears the "IRQ" bit in the status register. Rename the macro to `DAS08_CONTROL_INTE` and add a comment. Also use the `BIT()` macro to define its value. (Note: the driver does not currently enable interrupts.) Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed