Skip to content

Commit 00cb9f4

Browse files
committed
regulator: Fix build error
3d67fe9 (regulator: core: Refactor regulator_list_voltage()) missed one user of regulator_list_voltage(), update for that. Signed-off-by: Mark Brown <[email protected]>
1 parent 285c22d commit 00cb9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2980,7 +2980,7 @@ static int regulator_set_voltage_unlocked(struct regulator *regulator,
29802980
goto out2;
29812981
}
29822982

2983-
best_supply_uV = _regulator_list_voltage(regulator, selector, 0);
2983+
best_supply_uV = _regulator_list_voltage(rdev, selector, 0);
29842984
if (best_supply_uV < 0) {
29852985
ret = best_supply_uV;
29862986
goto out2;

0 commit comments

Comments
 (0)