mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mfd: Fix of_match_node() da9052 arguments
The driver calls of_match_node() with the arguments swapped. Signed-off-by: Olof Johansson <[email protected]> Tested-by: Ying-Chun Liu <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
8ee3c2a79f
commit
9e69ab4116
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue