]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: comedi: fix BIT macro issue in das6402.c
authorRavishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com>
Mon, 6 Jun 2016 11:01:20 +0000 (16:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 04:12:47 +0000 (21:12 -0700)
commit2c81ab4304d2b09bd4e1cde34b045a16d907974b
treeea66c1232637194a7989e9e0ff1a03fa692f10fe
parent86c7815e9773bab44d244428d083a43e5a6f7aca
Staging: comedi: fix BIT macro issue in das6402.c

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@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das6402.c