diff options
-rw-r--r-- | drivers/mfd/twl-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index fbff8301dfca..86cca9e09380 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c | |||
@@ -1305,10 +1305,9 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id) | |||
1305 | twl_i2c_write_u8(TWL4030_MODULE_INTBR, temp, REG_GPPUPDCTR1); | 1305 | twl_i2c_write_u8(TWL4030_MODULE_INTBR, temp, REG_GPPUPDCTR1); |
1306 | } | 1306 | } |
1307 | 1307 | ||
1308 | status = -ENODEV; | ||
1309 | if (node) | 1308 | if (node) |
1310 | status = of_platform_populate(node, NULL, NULL, &client->dev); | 1309 | status = of_platform_populate(node, NULL, NULL, &client->dev); |
1311 | if (status) | 1310 | else |
1312 | status = add_children(pdata, irq_base, id->driver_data); | 1311 | status = add_children(pdata, irq_base, id->driver_data); |
1313 | 1312 | ||
1314 | fail: | 1313 | fail: |