summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/palmas.c
diff options
context:
space:
mode:
authorJ Keerthy2013-02-18 06:12:44 +0100
committerSamuel Ortiz2013-04-05 17:53:42 +0200
commit2154a2b347ca65e25ae916b9f923f0952a08e161 (patch)
tree234c66740664cb49c5634ecb5be8f150e46b5cfe /drivers/mfd/palmas.c
parentmfd: as3711: Add OF support (diff)
downloadkernel-qcow2-linux-2154a2b347ca65e25ae916b9f923f0952a08e161.tar.gz
kernel-qcow2-linux-2154a2b347ca65e25ae916b9f923f0952a08e161.tar.xz
kernel-qcow2-linux-2154a2b347ca65e25ae916b9f923f0952a08e161.zip
mfd: palmas: Change the DT node property names to follow the convention
DT node properties should not have "_". Replacing them by "-". Signed-off-by: J Keerthy <j-keerthy@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/palmas.c')
-rw-r--r--drivers/mfd/palmas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index 73bf76df1044..c01b69a5a4ee 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
@@ -278,20 +278,20 @@ static void palmas_dt_to_pdata(struct i2c_client *i2c,
int ret;
u32 prop;
- ret = of_property_read_u32(node, "ti,mux_pad1", &prop);
+ ret = of_property_read_u32(node, "ti,mux-pad1", &prop);
if (!ret) {
pdata->mux_from_pdata = 1;
pdata->pad1 = prop;
}
- ret = of_property_read_u32(node, "ti,mux_pad2", &prop);
+ ret = of_property_read_u32(node, "ti,mux-pad2", &prop);
if (!ret) {
pdata->mux_from_pdata = 1;
pdata->pad2 = prop;
}
/* The default for this register is all masked */
- ret = of_property_read_u32(node, "ti,power_ctrl", &prop);
+ ret = of_property_read_u32(node, "ti,power-ctrl", &prop);
if (!ret)
pdata->power_ctrl = prop;
else