|
@@ -1177,7 +1177,7 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
|
|
twl_priv->ready = true;
|
|
|
|
|
|
/* setup clock framework */
|
|
|
- clocks_init(&pdev->dev, pdata ? pdata->clock : NULL);
|
|
|
+ clocks_init(&client->dev, pdata ? pdata->clock : NULL);
|
|
|
|
|
|
/* read TWL IDCODE Register */
|
|
|
if (twl_class_is_4030()) {
|