Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373170
b: refs/heads/master
c: 2154a2b
h: refs/heads/master
v: v3
  • Loading branch information
J Keerthy authored and Samuel Ortiz committed Apr 5, 2013
1 parent be22361 commit 3f84e4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64710af3e2c6a223c443ff85e5db4bc4bd9174e5
refs/heads/master: 2154a2b347ca65e25ae916b9f923f0952a08e161
6 changes: 3 additions & 3 deletions trunk/drivers/mfd/palmas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f84e4d

Please sign in to comment.