All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: qcom_saw: Fix testing wrong value
@ 2016-02-11  4:57 Axel Lin
  2016-02-11  4:58 ` [PATCH 2/2] regulator: qcom_saw: Fix uninitialized variable build warning Axel Lin
  2016-02-19 16:21 ` [PATCH 1/2] regulator: qcom_saw: Fix testing wrong value Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2016-02-11  4:57 UTC (permalink / raw)
  To: Mark Brown; +Cc: Georgi Djakov, Liam Girdwood, linux-kernel

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/regulator/qcom_saw-regulator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/qcom_saw-regulator.c b/drivers/regulator/qcom_saw-regulator.c
index c800f16..c00f0df 100644
--- a/drivers/regulator/qcom_saw-regulator.c
+++ b/drivers/regulator/qcom_saw-regulator.c
@@ -186,8 +186,8 @@ static int qcom_saw_regulator_probe(struct platform_device *pdev)
 
 	vreg->regmap = syscon_node_to_regmap(saw_np);
 	of_node_put(saw_np);
-	if (IS_ERR(config.regmap))
-		return PTR_ERR(config.regmap);
+	if (IS_ERR(vreg->regmap))
+		return PTR_ERR(vreg->regmap);
 
 	snprintf(name, sizeof(name), "krait%d", cpu);
 
-- 
2.1.4

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

end of thread, other threads:[~2016-02-20 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11  4:57 [PATCH 1/2] regulator: qcom_saw: Fix testing wrong value Axel Lin
2016-02-11  4:58 ` [PATCH 2/2] regulator: qcom_saw: Fix uninitialized variable build warning Axel Lin
2016-02-19 16:21 ` [PATCH 1/2] regulator: qcom_saw: Fix testing wrong value 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.