diff options
-rw-r--r-- | drivers/i2c/i2c-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 7730a68fa2d0..72d53e40ebab 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -1291,8 +1291,6 @@ static struct i2c_client *of_i2c_register_device(struct i2c_adapter *adap, | |||
1291 | if (of_get_property(node, "wakeup-source", NULL)) | 1291 | if (of_get_property(node, "wakeup-source", NULL)) |
1292 | info.flags |= I2C_CLIENT_WAKE; | 1292 | info.flags |= I2C_CLIENT_WAKE; |
1293 | 1293 | ||
1294 | request_module("%s%s", I2C_MODULE_PREFIX, info.type); | ||
1295 | |||
1296 | result = i2c_new_device(adap, &info); | 1294 | result = i2c_new_device(adap, &info); |
1297 | if (result == NULL) { | 1295 | if (result == NULL) { |
1298 | dev_err(&adap->dev, "of_i2c: Failure registering %s\n", | 1296 | dev_err(&adap->dev, "of_i2c: Failure registering %s\n", |