diff options
Diffstat (limited to 'kernel/drivers/mfd/da9052-i2c.c')
-rw-r--r-- | kernel/drivers/mfd/da9052-i2c.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/drivers/mfd/da9052-i2c.c b/kernel/drivers/mfd/da9052-i2c.c index ec39287a2..2697ffb08 100644 --- a/kernel/drivers/mfd/da9052-i2c.c +++ b/kernel/drivers/mfd/da9052-i2c.c @@ -174,11 +174,7 @@ static int da9052_i2c_probe(struct i2c_client *client, return ret; } - ret = da9052_device_init(da9052, id->driver_data); - if (ret != 0) - return ret; - - return 0; + return da9052_device_init(da9052, id->driver_data); } static int da9052_i2c_remove(struct i2c_client *client) @@ -195,7 +191,6 @@ static struct i2c_driver da9052_i2c_driver = { .id_table = da9052_i2c_id, .driver = { .name = "da9052", - .owner = THIS_MODULE, #ifdef CONFIG_OF .of_match_table = dialog_dt_ids, #endif |