Staging: iio: meter: Prefer using the BIT macro
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 10 Sep 2015 16:30:30 +0000 (22:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:56 +0000 (18:24 -0700)
commitb4d8aceb63985cd504a368b49b26b3681a40379f
tree92c65132cd743aedf17e650c1f7c80f0b6a75373
parent5b8ffb5565a241c4cfddb15b5a7b2f28ce64dbf7
Staging: iio: meter: 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/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7758_core.c
drivers/staging/iio/meter/ade7759.c
drivers/staging/iio/meter/ade7854.c