projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee3c2a
)
mfd: Fix of_match_node() da9052 arguments
author
Olof Johansson
<olof@lixom.net>
Sat, 5 May 2012 23:02:48 +0000
(16:02 -0700)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 9 May 2012 14:09:32 +0000
(16:09 +0200)
The driver calls of_match_node() with the arguments swapped.
Signed-off-by: Olof Johansson <olof@lixom.net>
Tested-by: Ying-Chun Liu <paul.liu@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/da9052-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/da9052-i2c.c
b/drivers/mfd/da9052-i2c.c
index
d8abdb3
..
8410065
100644
(file)
--- a/
drivers/mfd/da9052-i2c.c
+++ b/
drivers/mfd/da9052-i2c.c
@@
-104,7
+104,7
@@
static int __devinit da9052_i2c_probe(struct i2c_client *client,
struct device_node *np = client->dev.of_node;
const struct of_device_id *deviceid;
- deviceid = of_match_node(
np, dialog_dt_ids
);
+ deviceid = of_match_node(
dialog_dt_ids, np
);
id = (const struct i2c_device_id *)deviceid->data;
}
#endif