OSDN Git Service

i2c: do not try to load modules for of-registered devices
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / drivers / i2c / i2c-core.c
index 7730a68..72d53e4 100644 (file)
@@ -1291,8 +1291,6 @@ static struct i2c_client *of_i2c_register_device(struct i2c_adapter *adap,
        if (of_get_property(node, "wakeup-source", NULL))
                info.flags |= I2C_CLIENT_WAKE;
 
-       request_module("%s%s", I2C_MODULE_PREFIX, info.type);
-
        result = i2c_new_device(adap, &info);
        if (result == NULL) {
                dev_err(&adap->dev, "of_i2c: Failure registering %s\n",