summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-11-10 12:52:43 +0100
committerMark Brown <broonie@kernel.org>2017-11-10 13:33:12 +0100
commitefeb88c68bd0dbd317c4d24a1b5b58c5e5bd68aa (patch)
tree231c5c93ef2dea81d6af64dfb407aaa758617b77 /drivers/regulator
parentLinux 4.14-rc1 (diff)
downloadlinux-efeb88c68bd0dbd317c4d24a1b5b58c5e5bd68aa.tar.xz
linux-efeb88c68bd0dbd317c4d24a1b5b58c5e5bd68aa.zip
regulator: tps65218: Fix strobe assignment
Currentlly tps_info structure is no longer used. So use the strobes parameter in tps65218 structure to capture the info. Fixes: 2dc4940360d4c0c (regulator: tps65218: Remove all the compatibles) Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/tps65218-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index 9aafbb03482d..bc489958fed7 100644
--- a/drivers/regulator/tps65218-regulator.c
+++ b/drivers/regulator/tps65218-regulator.c
@@ -154,7 +154,7 @@ static int tps65218_pmic_set_suspend_disable(struct regulator_dev *dev)
if (!tps->strobes[rid]) {
if (rid == TPS65218_DCDC_3)
- tps->info[rid]->strobe = 3;
+ tps->strobes[rid] = 3;
else
return -EINVAL;
}