summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2018-12-11 18:17:12 +0300
committerMark Brown <broonie@kernel.org>2018-12-13 19:40:03 +0300
commit82b4d99725aedc3de731faa4e23f256fbe2821cf (patch)
treeede6f4520fb17a251d5a89750d495179be605943
parentdcea4d5c0a349034686ef9f8ba8a9910e0a1c14b (diff)
downloadlinux-82b4d99725aedc3de731faa4e23f256fbe2821cf.tar.xz
mfd: axp20x: use explicit bit defines
The AXP20X_OFF define is an actual specific bit, define it as such. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Priit Laes <plaes@plaes.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/mfd/axp20x.c2
1 files changed, 1 insertions, 1 deletions
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 <linux/regmap.h>
#include <linux/regulator/consumer.h>
-#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)