Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63bb38c0 authored by Arushi Singhal's avatar Arushi Singhal Committed by Jonathan Cameron
Browse files

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: default avatarArushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 9dde479e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment