diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-09-10 22:00:30 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:56 -0700 |
commit | b4d8aceb63985cd504a368b49b26b3681a40379f (patch) | |
tree | 92c65132cd743aedf17e650c1f7c80f0b6a75373 /drivers/staging/iio/addac | |
parent | 5b8ffb5565a241c4cfddb15b5a7b2f28ce64dbf7 (diff) | |
download | linux-b4d8aceb63985cd504a368b49b26b3681a40379f.tar.gz linux-b4d8aceb63985cd504a368b49b26b3681a40379f.tar.bz2 linux-b4d8aceb63985cd504a368b49b26b3681a40379f.zip |
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>
Diffstat (limited to 'drivers/staging/iio/addac')
0 files changed, 0 insertions, 0 deletions