From: J Keerthy <j-keerthy@ti.com>
To: <broonie@opensource.wolfsonmicro.com>, <lgirdwood@gmail.com>,
<linux-kernel@vger.kernel.org>
Cc: <j-keerthy@ti.com>, <gg@slimlogic.co.uk>
Subject: [PATCH 4/4] regulator: palmas: Change the DT node property names to follow the convention
Date: Mon, 18 Feb 2013 10:44:20 +0530 [thread overview]
Message-ID: <1361164460-3251-1-git-send-email-j-keerthy@ti.com> (raw)
DT node properties should not have "_". Replacing them by "-".
Signed-off-by: J Keerthy <j-keerthy@ti.com>
---
drivers/regulator/palmas-regulator.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index 22c6ae2..a7d1d53 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -551,17 +551,17 @@ static void palmas_dt_to_pdata(struct device *dev,
sizeof(struct palmas_reg_init), GFP_KERNEL);
ret = of_property_read_u32(palmas_matches[idx].of_node,
- "ti,warm_reset", &prop);
+ "ti,warm-reset", &prop);
if (!ret)
pdata->reg_init[idx]->warm_reset = prop;
ret = of_property_read_u32(palmas_matches[idx].of_node,
- "ti,roof_floor", &prop);
+ "ti,roof-floor", &prop);
if (!ret)
pdata->reg_init[idx]->roof_floor = prop;
ret = of_property_read_u32(palmas_matches[idx].of_node,
- "ti,mode_sleep", &prop);
+ "ti,mode-sleep", &prop);
if (!ret)
pdata->reg_init[idx]->mode_sleep = prop;
@@ -576,7 +576,7 @@ static void palmas_dt_to_pdata(struct device *dev,
pdata->reg_init[idx]->vsel = prop;
}
- ret = of_property_read_u32(node, "ti,ldo6_vibrator", &prop);
+ ret = of_property_read_u32(node, "ti,ldo6-vibrator", &prop);
if (!ret)
pdata->ldo6_vibrator = prop;
}
--
1.7.5.4
next reply other threads:[~2013-02-18 5:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 5:14 J Keerthy [this message]
2013-02-19 12:41 ` Mark Brown
2013-02-19 17:10 ` J, KEERTHY
2013-02-19 20:13 ` Mark Brown
2013-02-20 3:49 ` J, KEERTHY
2013-03-01 7:45 ` Mark Brown
2013-03-01 8:01 ` J, KEERTHY
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=1361164460-3251-1-git-send-email-j-keerthy@ti.com \
--to=j-keerthy@ti.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=gg@slimlogic.co.uk \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@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®