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

From: Ian Abbott
Date: Mon Dec 19 2016 - 12:41:42 EST


On 16/12/2016 20:06, 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_at_ao.c | 62 +++++++++++++++----------------
1 file changed, 31 insertions(+), 31 deletions(-)

Thanks!

Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

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