projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcea4d5
)
mfd: axp20x: use explicit bit defines
author
Olliver Schinagl
<
[email protected]
>
Tue, 11 Dec 2018 15:17:12 +0000
(17:17 +0200)
committer
Mark Brown
<
[email protected]
>
Thu, 13 Dec 2018 16:40:03 +0000
(16:40 +0000)
The AXP20X_OFF define is an actual specific bit, define it as such.
Signed-off-by: Olliver Schinagl <
[email protected]
>
Signed-off-by: Priit Laes <
[email protected]
>
Acked-by: Lee Jones <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/mfd/axp20x.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/axp20x.c
b/drivers/mfd/axp20x.c
index da54399dc7b37e5a7a547a5abf525ae94ccc8313..e1450a56fc070c42c718843b406270d589a20715 100644
(file)
--- 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)