regulator: drivers: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:44:00 +0000 (14:44 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2015 17:53:01 +0000 (18:53 +0100)
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
16 files changed:
drivers/regulator/act8865-regulator.c
drivers/regulator/da9210-regulator.c
drivers/regulator/da9211-regulator.c
drivers/regulator/isl6271a-regulator.c
drivers/regulator/isl9305.c
drivers/regulator/lp3971.c
drivers/regulator/lp3972.c
drivers/regulator/lp872x.c
drivers/regulator/ltc3589.c
drivers/regulator/max1586.c
drivers/regulator/max8660.c
drivers/regulator/max8973-regulator.c
drivers/regulator/pfuze100-regulator.c
drivers/regulator/tps51632-regulator.c
drivers/regulator/tps62360-regulator.c
drivers/regulator/tps65023-regulator.c

index 2ff73d7..896db16 100644 (file)
@@ -530,7 +530,6 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids);
 static struct i2c_driver act8865_pmic_driver = {
        .driver = {
                .name   = "act8865",
-               .owner  = THIS_MODULE,
        },
        .probe          = act8865_pmic_probe,
        .id_table       = act8865_ids,
index f0489cb..143a662 100644 (file)
@@ -184,7 +184,6 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id);
 static struct i2c_driver da9210_regulator_driver = {
        .driver = {
                .name = "da9210",
-               .owner = THIS_MODULE,
        },
        .probe = da9210_i2c_probe,
        .id_table = da9210_i2c_id,
index df79e4b..ab8914f 100644 (file)
@@ -494,7 +494,6 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids);
 static struct i2c_driver da9211_regulator_driver = {
        .driver = {
                .name = "da9211",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(da9211_dt_ids),
        },
        .probe = da9211_i2c_probe,
index 6e5da95..4abd8e9 100644 (file)
@@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id);
 static struct i2c_driver isl6271a_i2c_driver = {
        .driver = {
                .name = "isl6271a",
-               .owner = THIS_MODULE,
        },
        .probe = isl6271a_probe,
        .id_table = isl6271a_id,
index 6e3a15f..eae9d1f 100644 (file)
@@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id);
 static struct i2c_driver isl9305_regulator_driver = {
        .driver = {
                .name = "isl9305",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(isl9305_dt_ids),
        },
        .probe = isl9305_i2c_probe,
index 66fd233..15c25c6 100644 (file)
@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id);
 static struct i2c_driver lp3971_i2c_driver = {
        .driver = {
                .name = "LP3971",
-               .owner = THIS_MODULE,
        },
        .probe    = lp3971_i2c_probe,
        .id_table = lp3971_i2c_id,
index aea485a..3a7e96e 100644 (file)
@@ -550,7 +550,6 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id);
 static struct i2c_driver lp3972_i2c_driver = {
        .driver = {
                .name = "lp3972",
-               .owner = THIS_MODULE,
        },
        .probe    = lp3972_i2c_probe,
        .id_table = lp3972_i2c_id,
index 3de328a..171c762 100644 (file)
@@ -955,7 +955,6 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);
 static struct i2c_driver lp872x_driver = {
        .driver = {
                .name = "lp872x",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(lp872x_dt_ids),
        },
        .probe = lp872x_probe,
index 0ce8e4e..6e79d2e 100644 (file)
@@ -542,7 +542,6 @@ MODULE_DEVICE_TABLE(i2c, ltc3589_i2c_id);
 static struct i2c_driver ltc3589_driver = {
        .driver = {
                .name = DRIVER_NAME,
-               .owner = THIS_MODULE,
        },
        .probe = ltc3589_probe,
        .id_table = ltc3589_i2c_id,
index d2a8c64..2c1228d 100644 (file)
@@ -304,7 +304,6 @@ static struct i2c_driver max1586_pmic_driver = {
        .probe = max1586_pmic_probe,
        .driver         = {
                .name   = "max1586",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(max1586_of_match),
        },
        .id_table       = max1586_id,
index 4071d74..b87f62d 100644 (file)
@@ -518,7 +518,6 @@ static struct i2c_driver max8660_driver = {
        .probe = max8660_probe,
        .driver         = {
                .name   = "max8660",
-               .owner  = THIS_MODULE,
        },
        .id_table       = max8660_id,
 };
index 6f2bdad..399a85b 100644 (file)
@@ -652,7 +652,6 @@ static struct i2c_driver max8973_i2c_driver = {
        .driver = {
                .name = "max8973",
                .of_match_table = of_max8973_match_tbl,
-               .owner = THIS_MODULE,
        },
        .probe = max8973_probe,
        .id_table = max8973_id,
index 8cc8d18..2f66821 100644 (file)
@@ -643,7 +643,6 @@ static struct i2c_driver pfuze_driver = {
        .id_table = pfuze_device_id,
        .driver = {
                .name = "pfuze100-regulator",
-               .owner = THIS_MODULE,
                .of_match_table = pfuze_dt_ids,
        },
        .probe = pfuze100_regulator_probe,
index c213e37..572816e 100644 (file)
@@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(i2c, tps51632_id);
 static struct i2c_driver tps51632_i2c_driver = {
        .driver = {
                .name = "tps51632",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(tps51632_of_match),
        },
        .probe = tps51632_probe,
index a1fd626..f6a6d36 100644 (file)
@@ -515,7 +515,6 @@ MODULE_DEVICE_TABLE(i2c, tps62360_id);
 static struct i2c_driver tps62360_i2c_driver = {
        .driver = {
                .name = "tps62360",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(tps62360_of_match),
        },
        .probe = tps62360_probe,
index b941e56..5cc19b4 100644 (file)
@@ -410,7 +410,6 @@ MODULE_DEVICE_TABLE(i2c, tps_65023_id);
 static struct i2c_driver tps_65023_i2c_driver = {
        .driver = {
                .name = "tps65023",
-               .owner = THIS_MODULE,
        },
        .probe = tps_65023_probe,
        .id_table = tps_65023_id,