aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/da9052-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9052-i2c.c b/drivers/mfd/da9052-i2c.c
index d8abdb35161e..8410065f135f 100644
--- 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,
104 struct device_node *np = client->dev.of_node; 104 struct device_node *np = client->dev.of_node;
105 const struct of_device_id *deviceid; 105 const struct of_device_id *deviceid;
106 106
107 deviceid = of_match_node(np, dialog_dt_ids); 107 deviceid = of_match_node(dialog_dt_ids, np);
108 id = (const struct i2c_device_id *)deviceid->data; 108 id = (const struct i2c_device_id *)deviceid->data;
109 } 109 }
110#endif 110#endif