Staging: comedi: Prefer using the BIT macro
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 10 Sep 2015 16:32:41 +0000 (22:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:59 +0000 (18:24 -0700)
commit412ef9933e403bb863ec6ac29e671dd832c4638b
tree85944074ccc5022597d9f71f8953e0b753823697
parent077d4575c91928abc36a8963e1fe5f2c7118b328
Staging: comedi: Prefer using the BIT macro

This patch replaces bit shifting on 1 with the BIT(x) macro

This was done with coccinelle:
@@ int g; @@

-(1 << g)
+BIT(g)

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/mpc624.c