diff options
author | Mark Brown <broonie@kernel.org> | 2018-01-26 12:55:30 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-26 12:55:30 -0500 |
commit | 00cb9f4f5ef5e98653d4726836a4482180bd2efd (patch) | |
tree | d9f92d8a9536bf078a77d83f50a55b243da1a7a6 | |
parent | 285c22de377dd6895af30af6272cc7778cee36a7 (diff) |
regulator: Fix build error
3d67fe950707 (regulator: core: Refactor regulator_list_voltage()) missed
one user of regulator_list_voltage(), update for that.
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 2dccc4b3766e..42681c10cbe4 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -2980,7 +2980,7 @@ static int regulator_set_voltage_unlocked(struct regulator *regulator, | |||
2980 | goto out2; | 2980 | goto out2; |
2981 | } | 2981 | } |
2982 | 2982 | ||
2983 | best_supply_uV = _regulator_list_voltage(regulator, selector, 0); | 2983 | best_supply_uV = _regulator_list_voltage(rdev, selector, 0); |
2984 | if (best_supply_uV < 0) { | 2984 | if (best_supply_uV < 0) { |
2985 | ret = best_supply_uV; | 2985 | ret = best_supply_uV; |
2986 | goto out2; | 2986 | goto out2; |