summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/axp20x.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-12-14 14:52:08 +0100
committerLee Jones <lee.jones@linaro.org>2017-02-13 09:29:41 +0000
commit59f10f7e62a28b9b664a9b2efbc5bd10d8d751f0 (patch)
tree8f5fdeee0224b9322fc03c5f9442ea99a1fda02c /include/linux/mfd/axp20x.h
parent1af468ebe45591651ec3bafc2e9ddc6fdef70ae0 (diff)
downloadlinux-59f10f7e62a28b9b664a9b2efbc5bd10d8d751f0.tar.bz2
mfd: axp20x: Drop wrong AXP288_PMIC_ADC_EN define
The adc-enable register for the axp288 is 0x82, not 0x84. 0x82 is already defined as AXP20X_ADC_EN1 and that is what the axp288_adc driver is actually using, so simply drop the wrong AXP288_PMIC_ADC_EN define. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/axp20x.h')
-rw-r--r--include/linux/mfd/axp20x.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h
index 6d5dd3f96d33..35418ccb3bb7 100644
--- a/include/linux/mfd/axp20x.h
+++ b/include/linux/mfd/axp20x.h
@@ -238,7 +238,6 @@ enum {
#define AXP288_PMIC_ADC_H 0x56
#define AXP288_PMIC_ADC_L 0x57
#define AXP288_ADC_TS_PIN_CTRL 0x84
-#define AXP288_PMIC_ADC_EN 0x84
/* Fuel Gauge */
#define AXP288_FG_RDC1_REG 0xba