|
@@ -1291,8 +1291,6 @@ static struct i2c_client *of_i2c_register_device(struct i2c_adapter *adap,
|
|
if (of_get_property(node, "wakeup-source", NULL))
|
|
if (of_get_property(node, "wakeup-source", NULL))
|
|
info.flags |= I2C_CLIENT_WAKE;
|
|
info.flags |= I2C_CLIENT_WAKE;
|
|
|
|
|
|
- request_module("%s%s", I2C_MODULE_PREFIX, info.type);
|
|
|
|
-
|
|
|
|
result = i2c_new_device(adap, &info);
|
|
result = i2c_new_device(adap, &info);
|
|
if (result == NULL) {
|
|
if (result == NULL) {
|
|
dev_err(&adap->dev, "of_i2c: Failure registering %s\n",
|
|
dev_err(&adap->dev, "of_i2c: Failure registering %s\n",
|