summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-04-10 12:09:06 +0800
committerLee Jones <lee.jones@linaro.org>2015-05-13 16:26:34 +0100
commit6d4fa89dcd85e2427da83319ce75e5df5febcc96 (patch)
treed14894fe318db9a5a966462388765e67982ec78f /drivers/mfd/axp20x.c
parent97ba5ac1f2a5e3e07b67133215b2958bd4f1b41a (diff)
downloadlinux-stable-6d4fa89dcd85e2427da83319ce75e5df5febcc96.tar.gz
linux-stable-6d4fa89dcd85e2427da83319ce75e5df5febcc96.tar.bz2
linux-stable-6d4fa89dcd85e2427da83319ce75e5df5febcc96.zip
mfd: axp20x: Enable AXP22X regulators
Now that the axp20x-regulators driver supports different variants of the AXP family, we can enable regulator support for AXP22X without the risk of incorrectly configuring regulators. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
-rw-r--r--drivers/mfd/axp20x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index cfbb7d7aead6..6df91556faf3 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -370,6 +370,8 @@ static struct mfd_cell axp22x_cells[] = {
.name = "axp20x-pek",
.num_resources = ARRAY_SIZE(axp22x_pek_resources),
.resources = axp22x_pek_resources,
+ }, {
+ .name = "axp20x-regulator",
},
};