From: Olliver Schinagl Date: Tue, 11 Dec 2018 15:17:12 +0000 (+0200) Subject: mfd: axp20x: use explicit bit defines X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=82b4d99725aedc3de731faa4e23f256fbe2821cf;p=openwrt%2Fstaging%2Fblogic.git mfd: axp20x: use explicit bit defines The AXP20X_OFF define is an actual specific bit, define it as such. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Acked-by: Lee Jones Signed-off-by: Mark Brown --- diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index da54399dc7b3..e1450a56fc07 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -30,7 +30,7 @@ #include #include -#define AXP20X_OFF 0x80 +#define AXP20X_OFF BIT(7) #define AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE 0 #define AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE BIT(4)