aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-09-20 16:06:35 -0400
committerLee Jones <lee.jones@linaro.org>2014-09-26 03:23:58 -0400
commit6e6240a449614148d3fb49b23a50435b19c6baed (patch)
tree38db342ece88ca878ca158ef9793dee84c11f871 /drivers/mfd/axp20x.c
parentfecc4452b9b3f4bbab41c1b7583a72066ee0c77c (diff)
mfd: axp209x: Drop the parent supplies field
Now that the regulator code get its parent supplies purely from the DT, we can drop the parent supplies resources in the MFD driver. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/axp20x.c')
-rw-r--r--drivers/mfd/axp20x.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index dee653989e3a..6231adbb295d 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -140,15 +140,6 @@ static const struct regmap_irq_chip axp20x_regmap_irq_chip = {
140 .init_ack_masked = true, 140 .init_ack_masked = true,
141}; 141};
142 142
143static const char * const axp20x_supplies[] = {
144 "acin",
145 "vin2",
146 "vin3",
147 "ldo24in",
148 "ldo3in",
149 "ldo5in",
150};
151
152static struct mfd_cell axp20x_cells[] = { 143static struct mfd_cell axp20x_cells[] = {
153 { 144 {
154 .name = "axp20x-pek", 145 .name = "axp20x-pek",
@@ -156,8 +147,6 @@ static struct mfd_cell axp20x_cells[] = {
156 .resources = axp20x_pek_resources, 147 .resources = axp20x_pek_resources,
157 }, { 148 }, {
158 .name = "axp20x-regulator", 149 .name = "axp20x-regulator",
159 .parent_supplies = axp20x_supplies,
160 .num_parent_supplies = ARRAY_SIZE(axp20x_supplies),
161 }, 150 },
162}; 151};
163 152