From: Chen-Yu Tsai <wens@csie.org>
Date: Fri, 10 Apr 2015 04:09:06 +0000 (+0800)
Subject: mfd: axp20x: Enable AXP22X regulators
X-Git-Tag: firefly_0821_release~176^2~1597^2~36^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6d4fa89dcd85e2427da83319ce75e5df5febcc96;p=firefly-linux-kernel-4.4.55.git

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>
---

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",
 	},
 };