diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-09-10 22:02:39 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:55 -0700 |
commit | 5b8ffb5565a241c4cfddb15b5a7b2f28ce64dbf7 (patch) | |
tree | 7e25403f0ec1bfabb38a8c800a28fc860ef7572a /drivers/staging/iio/meter/ade7854.c | |
parent | 5da0a0706b4d2a591cf9dcb0e9bfe0100bf5a5b2 (diff) | |
download | op-kernel-dev-5b8ffb5565a241c4cfddb15b5a7b2f28ce64dbf7.zip op-kernel-dev-5b8ffb5565a241c4cfddb15b5a7b2f28ce64dbf7.tar.gz |
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>
Diffstat (limited to 'drivers/staging/iio/meter/ade7854.c')
0 files changed, 0 insertions, 0 deletions