Commit 00cb9f4f authored by Mark Brown's avatar Mark Brown

regulator: Fix build error

3d67fe95 (regulator: core: Refactor regulator_list_voltage()) missed
one user of regulator_list_voltage(), update for that.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 285c22de
......@@ -2980,7 +2980,7 @@ static int regulator_set_voltage_unlocked(struct regulator *regulator,
goto out2;
}
best_supply_uV = _regulator_list_voltage(regulator, selector, 0);
best_supply_uV = _regulator_list_voltage(rdev, selector, 0);
if (best_supply_uV < 0) {
ret = best_supply_uV;
goto out2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment