From: Felipe Balbi <balbi@ti.com>
To: <lgirdwood@gmail.com>, <broonie@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
Linux ARM Kernel Mailing List
<linux-arm-kernel@lists.infradead.org>,
Keerthy <j-keerthy@ti.com>, <stable@vger.kernel.org>,
Felipe Balbi <balbi@ti.com>
Subject: [PATCH 1/2] regulators: TPS65218: Add the missing of_node assignment in probe
Date: Wed, 18 Jun 2014 10:17:47 -0500 [thread overview]
Message-ID: <1403104668-32316-1-git-send-email-balbi@ti.com> (raw)
From: Keerthy <j-keerthy@ti.com>
Add the missing of_node assignment in probe.
Cc: <stable@vger.kernel.org> # v3.15
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
drivers/regulator/tps65218-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index 69b4b77..edbc46e 100644
--- a/drivers/regulator/tps65218-regulator.c
+++ b/drivers/regulator/tps65218-regulator.c
@@ -240,6 +240,7 @@ static int tps65218_regulator_probe(struct platform_device *pdev)
config.init_data = init_data;
config.driver_data = tps;
config.regmap = tps->regmap;
+ config.of_node = pdev->dev.of_node;
rdev = devm_regulator_register(&pdev->dev, ®ulators[id], &config);
if (IS_ERR(rdev)) {
--
2.0.0.rc1
next reply other threads:[~2014-06-18 15:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 15:17 Felipe Balbi [this message]
2014-06-18 15:17 ` [PATCH 2/2] regulators: TPS65218: Correct the the config register for LDO1 Felipe Balbi
2014-06-18 15:29 ` Nishanth Menon
2014-06-18 15:51 ` [PATCH 1/2] regulators: TPS65218: Add the missing of_node assignment in probe Nishanth Menon
2014-06-24 15:29 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403104668-32316-1-git-send-email-balbi@ti.com \
--to=balbi@ti.com \
--cc=broonie@kernel.org \
--cc=j-keerthy@ti.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®