]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb49f2d51c0d8fe324bc46570fd9d3609d5b44afb
tree8f5fdeee0224b9322fc03c5f9442ea99a1fda02c
parentba3f76afd5d7e2fa8e2e4873d16243cae8f173f6
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>
include/linux/mfd/axp20x.h