]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ke_counter: prefer using the BIT macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 7 Oct 2015 00:35:18 +0000 (17:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:24:11 +0000 (21:24 -0700)
commitf5afd8cf3d436d302a518f9ab3891fd87a6dccc0
tree781340f463e17daf6feb569060e06101f892d3e4
parentc3fc85a8fba20f6ee29e6f9b14fe9396a5bc7b0d
staging: comedi: ke_counter: prefer using the BIT macro

Use a macro to define the clock source options. This fixes the
checkpatch.pl issue about:

CHECK: Prefer using the BIT macro

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ke_counter.c