From: Mark Brown Date: Fri, 26 Jan 2018 17:55:30 +0000 (+0000) Subject: regulator: Fix build error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00cb9f4f5ef5e98653d4726836a4482180bd2efd;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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, 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;