All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: tps65218: Fix strobe assignment
@ 2017-11-10 11:52 ` Keerthy
  0 siblings, 0 replies; 6+ messages in thread
From: Keerthy @ 2017-11-10 11:52 UTC (permalink / raw)
  To: broonie, lee.jones; +Cc: linux-omap, linux-kernel, j-keerthy, t-kristo

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>
---
 drivers/regulator/tps65218-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index 9aafbb0..bc48995 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;
 	}
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-10 21:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-10 11:52 [PATCH 1/2] regulator: tps65218: Fix strobe assignment Keerthy
2017-11-10 11:52 ` Keerthy
2017-11-10 11:52 ` [PATCH 2/2] regulator: tps65218: remove unused tps_info structure Keerthy
2017-11-10 11:52   ` Keerthy
2017-11-10 21:29 ` Applied "regulator: tps65218: Fix strobe assignment" to the regulator tree Mark Brown
2017-11-10 21:29   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.