staging: iio: adc: ad7816.c: Replace bit shifting with BIT macro
authorPayal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Tue, 2 Apr 2019 15:49:04 +0000 (21:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Apr 2019 17:57:11 +0000 (19:57 +0200)
commite7c3d05459673d21f62a3fd82fa3a1ee6ef8de55
tree76b68ea2e917db4e7025e0dca0e4b36b337a2bf7
parent6082ac0412a6f8cb9562234256a69587eff450bb
staging: iio: adc: ad7816.c: Replace bit shifting with BIT macro

Challenge suggested by coccinelle.
Prefer using BIT and replace bit shifting with the BIT(x) macro.

Signed-off-by: Payal Kshirsagar <payal.s.kshirsagar.98@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7816.c