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

Commit e0c961bd authored by Nizam Haider's avatar Nizam Haider Committed by Jonathan Cameron
Browse files

iio: adc: mxs-lradc: Prefer using the BIT macro



Replaces bit shifting on 1 with the BIT(x) macro

Signed-off-by: default avatarNizam Haider <nijamh@cdac.in>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent a1513641
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -324,7 +324,7 @@ struct mxs_lradc {
#define	LRADC_DELAY_TRIGGER(x) \
				(((x) << LRADC_DELAY_TRIGGER_LRADCS_OFFSET) & \
				LRADC_DELAY_TRIGGER_LRADCS_MASK)
#define	LRADC_DELAY_KICK			(1 << 20)
#define	LRADC_DELAY_KICK			BIT(20)
#define	LRADC_DELAY_TRIGGER_DELAYS_MASK		(0xf << 16)
#define	LRADC_DELAY_TRIGGER_DELAYS_OFFSET	16
#define	LRADC_DELAY_TRIGGER_DELAYS(x) \