These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / mfd / da9052-i2c.c
index ec39287..2697ffb 100644 (file)
@@ -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