]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: axp20x: Drop wrong AXP288_PMIC_ADC_EN define
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 Dec 2016 13:52:08 +0000 (14:52 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 13 Feb 2017 09:29:41 +0000 (09:29 +0000)
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>
include/linux/mfd/axp20x.h

index 6d5dd3f96d330d4f6eb4a512909cec1ec6a7e9e9..35418ccb3bb76c29cd0f423a24fecac49b070e99 100644 (file)
@@ -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