Re: [PATCH] staging: comedi: ni_670x: using the BIT(x) macro

From: Ian Abbott
Date: Mon Dec 19 2016 - 12:43:03 EST


On 16/12/2016 20:20, Saber Rezvani wrote:
Fix the checkpatch.pl issue:
CHECK: Prefer using the BIT macro
replacing bit shifting on 1 with the BIT(x) macro.

Signed-off-by: Saber Rezvani <irsaber@xxxxxxxxx>
---
drivers/staging/comedi/drivers/ni_670x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=-
-=( Web: http://www.mev.co.uk/ )=-