Staging: iio: cdc: Prefer using the BIT macro
authorShraddha Barke <shraddha.6596@gmail.com>
Thu, 10 Sep 2015 16:32:39 +0000 (22:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:55 +0000 (18:24 -0700)
commit5b8ffb5565a241c4cfddb15b5a7b2f28ce64dbf7
tree7e25403f0ec1bfabb38a8c800a28fc860ef7572a
parent5da0a0706b4d2a591cf9dcb0e9bfe0100bf5a5b2
Staging: iio: cdc: 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/cdc/ad7746.c