diff options
author | 2017-03-22 22:12:34 +0530 | |
---|---|---|
committer | 2017-03-23 19:43:29 +0000 | |
commit | 63bb38c000a2c5817f643273c0596828fe7ce05c (patch) | |
tree | fe206166e6ba369a2fc4f1fe4a83ddcbfbd8e01b /include/linux/hid-sensor-ids.h | |
parent | staging: iio: adis16060: Remove iio_dev mlock and refactor code (diff) | |
download | wireguard-linux-63bb38c000a2c5817f643273c0596828fe7ce05c.tar.xz wireguard-linux-63bb38c000a2c5817f643273c0596828fe7ce05c.zip |
staging: iio: Replace a bit shift by a use of BIT.
This patch replaces bit shifting on 1 with the BIT(x) macro.
This was done with coccinelle:
@@
constant c;
@@
-1 << c
+BIT(c)
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/hid-sensor-ids.h')
0 files changed, 0 insertions, 0 deletions