staging: iio: Replace a bit shift by a use of BIT.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Wed, 22 Mar 2017 16:42:34 +0000 (22:12 +0530)
committerJonathan Cameron <jic23@kernel.org>
Thu, 23 Mar 2017 19:43:29 +0000 (19:43 +0000)
commit63bb38c000a2c5817f643273c0596828fe7ce05c
treefe206166e6ba369a2fc4f1fe4a83ddcbfbd8e01b
parent9dde479e9f9e5b2eafa3db8b7ce919b74533beb8
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>
drivers/staging/iio/cdc/ad7150.c
drivers/staging/iio/cdc/ad7746.c