]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Sep 2015 19:23:19 +0000 (20:23 +0100)
commit01b721536b4128c1e17c596650198bfc36ad8c6c
tree2fdc025a304dde0d725444ec6014ad4840dd3424
parent4839367d99e3b067d3c2e9404ae320c100d090c7
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: Jonathan Cameron <jic23@kernel.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