aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/palmas.c
diff options
context:
space:
mode:
authorJ Keerthy <j-keerthy@ti.com>2013-02-18 00:12:44 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2013-04-05 11:53:42 -0400
commit2154a2b347ca65e25ae916b9f923f0952a08e161 (patch)
tree234c66740664cb49c5634ecb5be8f150e46b5cfe /drivers/mfd/palmas.c
parent64710af3e2c6a223c443ff85e5db4bc4bd9174e5 (diff)
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,
278 int ret; 278 int ret;
279 u32 prop; 279 u32 prop;
280 280
281 ret = of_property_read_u32(node, "ti,mux_pad1", &prop); 281 ret = of_property_read_u32(node, "ti,mux-pad1", &prop);
282 if (!ret) { 282 if (!ret) {
283 pdata->mux_from_pdata = 1; 283 pdata->mux_from_pdata = 1;
284 pdata->pad1 = prop; 284 pdata->pad1 = prop;
285 } 285 }
286 286
287 ret = of_property_read_u32(node, "ti,mux_pad2", &prop); 287 ret = of_property_read_u32(node, "ti,mux-pad2", &prop);
288 if (!ret) { 288 if (!ret) {
289 pdata->mux_from_pdata = 1; 289 pdata->mux_from_pdata = 1;
290 pdata->pad2 = prop; 290 pdata->pad2 = prop;
291 } 291 }
292 292
293 /* The default for this register is all masked */ 293 /* The default for this register is all masked */
294 ret = of_property_read_u32(node, "ti,power_ctrl", &prop); 294 ret = of_property_read_u32(node, "ti,power-ctrl", &prop);
295 if (!ret) 295 if (!ret)
296 pdata->power_ctrl = prop; 296 pdata->power_ctrl = prop;
297 else 297 else