Re: [PATCH v1 07/10] Staging: comedi: fix BIT macro issue in das6402.c

From: Ian Abbott
Date: Wed Jun 08 2016 - 06:20:55 EST


On 06/06/16 12:01, Ravishankar Karkala Mallikarjunayya wrote:
This patch Replace all occurences of (1<<x) by BIT(x) and DAS6402_CTRL_TRIG(x),
DAS6402_MODE_RANGE(x), DAS6402_MODE_DMA(x) macros in the file das6402.c
to get rid of checkpatch.pl "CHECK" output "Prefer using the BIT macro"

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankarkm32@xxxxxxxxx>
---
drivers/staging/comedi/drivers/das6402.c | 74 ++++++++++++++++----------------
1 file changed, 38 insertions(+), 36 deletions(-)


Thanks!

Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx>

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