From: H Hartley Sweeten Date: Tue, 4 Nov 2014 17:53:53 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: tidy up timer_mode masking X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~346 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2016c534dd2f4b0599e5a8513567a34d4746cdf6;p=pandora-kernel.git staging: comedi: addi_apci_3120: tidy up timer_mode masking Define a macro that returns the mask of the timer_mode bits for a given timer. Use the macro to remove the "magic" values used to clear the bits. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed