Merge branch '7xx-iosplit-plat' with omap-fixes
[linux-2.6-block.git] / drivers / mfd / twl4030-core.c
index efa00ea97725b3c9229a02997d3440a07546babd..6cb12502e3065001b51e04ce252988ce831bbc3c 100644 (file)
@@ -795,7 +795,7 @@ twl4030_probe(struct i2c_client *client, const struct i2c_device_id *id)
                        twl->client = i2c_new_dummy(client->adapter,
                                        twl->address);
                        if (!twl->client) {
-                               dev_err(&twl->client->dev,
+                               dev_err(&client->dev,
                                        "can't attach client %d\n", i);
                                status = -ENOMEM;
                                goto fail;