diff options
Diffstat (limited to 'drivers/regulator/tps65217-regulator.c')
-rw-r--r-- | drivers/regulator/tps65217-regulator.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c index 10b78d2b766a..f7ed20a5a8b9 100644 --- a/drivers/regulator/tps65217-regulator.c +++ b/drivers/regulator/tps65217-regulator.c | |||
@@ -134,6 +134,7 @@ static struct regulator_ops tps65217_pmic_ldo1_ops = { | |||
134 | .get_voltage_sel = regulator_get_voltage_sel_regmap, | 134 | .get_voltage_sel = regulator_get_voltage_sel_regmap, |
135 | .set_voltage_sel = tps65217_pmic_set_voltage_sel, | 135 | .set_voltage_sel = tps65217_pmic_set_voltage_sel, |
136 | .list_voltage = regulator_list_voltage_table, | 136 | .list_voltage = regulator_list_voltage_table, |
137 | .map_voltage = regulator_map_voltage_ascend, | ||
137 | }; | 138 | }; |
138 | 139 | ||
139 | static const struct regulator_desc regulators[] = { | 140 | static const struct regulator_desc regulators[] = { |
@@ -257,9 +258,6 @@ static int tps65217_regulator_probe(struct platform_device *pdev) | |||
257 | pdev->name); | 258 | pdev->name); |
258 | return PTR_ERR(rdev); | 259 | return PTR_ERR(rdev); |
259 | } | 260 | } |
260 | |||
261 | /* Save regulator for cleanup */ | ||
262 | tps->rdev[i] = rdev; | ||
263 | } | 261 | } |
264 | return 0; | 262 | return 0; |
265 | } | 263 | } |