aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 01:44:00 -0400
committerMark Brown <broonie@kernel.org>2015-07-14 13:53:01 -0400
commita807a6cc29115a9a43c168fc0d4540b3d9284815 (patch)
treeb615a2560e908b1c72b316f64955355d56bda7af
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
regulator: drivers: Drop owner assignment from i2c_driver
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>
-rw-r--r--drivers/regulator/act8865-regulator.c1
-rw-r--r--drivers/regulator/da9210-regulator.c1
-rw-r--r--drivers/regulator/da9211-regulator.c1
-rw-r--r--drivers/regulator/isl6271a-regulator.c1
-rw-r--r--drivers/regulator/isl9305.c1
-rw-r--r--drivers/regulator/lp3971.c1
-rw-r--r--drivers/regulator/lp3972.c1
-rw-r--r--drivers/regulator/lp872x.c1
-rw-r--r--drivers/regulator/ltc3589.c1
-rw-r--r--drivers/regulator/max1586.c1
-rw-r--r--drivers/regulator/max8660.c1
-rw-r--r--drivers/regulator/max8973-regulator.c1
-rw-r--r--drivers/regulator/pfuze100-regulator.c1
-rw-r--r--drivers/regulator/tps51632-regulator.c1
-rw-r--r--drivers/regulator/tps62360-regulator.c1
-rw-r--r--drivers/regulator/tps65023-regulator.c1
16 files changed, 0 insertions, 16 deletions
diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c
index 2ff73d72ca34..896db168e4bd 100644
--- a/drivers/regulator/act8865-regulator.c
+++ b/drivers/regulator/act8865-regulator.c
@@ -530,7 +530,6 @@ MODULE_DEVICE_TABLE(i2c, act8865_ids);
530static struct i2c_driver act8865_pmic_driver = { 530static struct i2c_driver act8865_pmic_driver = {
531 .driver = { 531 .driver = {
532 .name = "act8865", 532 .name = "act8865",
533 .owner = THIS_MODULE,
534 }, 533 },
535 .probe = act8865_pmic_probe, 534 .probe = act8865_pmic_probe,
536 .id_table = act8865_ids, 535 .id_table = act8865_ids,
diff --git a/drivers/regulator/da9210-regulator.c b/drivers/regulator/da9210-regulator.c
index f0489cb9018b..143a6621b44f 100644
--- a/drivers/regulator/da9210-regulator.c
+++ b/drivers/regulator/da9210-regulator.c
@@ -184,7 +184,6 @@ MODULE_DEVICE_TABLE(i2c, da9210_i2c_id);
184static struct i2c_driver da9210_regulator_driver = { 184static struct i2c_driver da9210_regulator_driver = {
185 .driver = { 185 .driver = {
186 .name = "da9210", 186 .name = "da9210",
187 .owner = THIS_MODULE,
188 }, 187 },
189 .probe = da9210_i2c_probe, 188 .probe = da9210_i2c_probe,
190 .id_table = da9210_i2c_id, 189 .id_table = da9210_i2c_id,
diff --git a/drivers/regulator/da9211-regulator.c b/drivers/regulator/da9211-regulator.c
index df79e4b1946e..ab8914f280c7 100644
--- a/drivers/regulator/da9211-regulator.c
+++ b/drivers/regulator/da9211-regulator.c
@@ -494,7 +494,6 @@ MODULE_DEVICE_TABLE(of, da9211_dt_ids);
494static struct i2c_driver da9211_regulator_driver = { 494static struct i2c_driver da9211_regulator_driver = {
495 .driver = { 495 .driver = {
496 .name = "da9211", 496 .name = "da9211",
497 .owner = THIS_MODULE,
498 .of_match_table = of_match_ptr(da9211_dt_ids), 497 .of_match_table = of_match_ptr(da9211_dt_ids),
499 }, 498 },
500 .probe = da9211_i2c_probe, 499 .probe = da9211_i2c_probe,
diff --git a/drivers/regulator/isl6271a-regulator.c b/drivers/regulator/isl6271a-regulator.c
index 6e5da95fa025..4abd8e9c81e5 100644
--- a/drivers/regulator/isl6271a-regulator.c
+++ b/drivers/regulator/isl6271a-regulator.c
@@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(i2c, isl6271a_id);
156static struct i2c_driver isl6271a_i2c_driver = { 156static struct i2c_driver isl6271a_i2c_driver = {
157 .driver = { 157 .driver = {
158 .name = "isl6271a", 158 .name = "isl6271a",
159 .owner = THIS_MODULE,
160 }, 159 },
161 .probe = isl6271a_probe, 160 .probe = isl6271a_probe,
162 .id_table = isl6271a_id, 161 .id_table = isl6271a_id,
diff --git a/drivers/regulator/isl9305.c b/drivers/regulator/isl9305.c
index 6e3a15fe00f1..eae9d1ffe641 100644
--- a/drivers/regulator/isl9305.c
+++ b/drivers/regulator/isl9305.c
@@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, isl9305_i2c_id);
195static struct i2c_driver isl9305_regulator_driver = { 195static struct i2c_driver isl9305_regulator_driver = {
196 .driver = { 196 .driver = {
197 .name = "isl9305", 197 .name = "isl9305",
198 .owner = THIS_MODULE,
199 .of_match_table = of_match_ptr(isl9305_dt_ids), 198 .of_match_table = of_match_ptr(isl9305_dt_ids),
200 }, 199 },
201 .probe = isl9305_i2c_probe, 200 .probe = isl9305_i2c_probe,
diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c
index 66fd2330dca0..15c25c622edf 100644
--- a/drivers/regulator/lp3971.c
+++ b/drivers/regulator/lp3971.c
@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(i2c, lp3971_i2c_id);
452static struct i2c_driver lp3971_i2c_driver = { 452static struct i2c_driver lp3971_i2c_driver = {
453 .driver = { 453 .driver = {
454 .name = "LP3971", 454 .name = "LP3971",
455 .owner = THIS_MODULE,
456 }, 455 },
457 .probe = lp3971_i2c_probe, 456 .probe = lp3971_i2c_probe,
458 .id_table = lp3971_i2c_id, 457 .id_table = lp3971_i2c_id,
diff --git a/drivers/regulator/lp3972.c b/drivers/regulator/lp3972.c
index aea485afcc1a..3a7e96e2c7b3 100644
--- a/drivers/regulator/lp3972.c
+++ b/drivers/regulator/lp3972.c
@@ -550,7 +550,6 @@ MODULE_DEVICE_TABLE(i2c, lp3972_i2c_id);
550static struct i2c_driver lp3972_i2c_driver = { 550static struct i2c_driver lp3972_i2c_driver = {
551 .driver = { 551 .driver = {
552 .name = "lp3972", 552 .name = "lp3972",
553 .owner = THIS_MODULE,
554 }, 553 },
555 .probe = lp3972_i2c_probe, 554 .probe = lp3972_i2c_probe,
556 .id_table = lp3972_i2c_id, 555 .id_table = lp3972_i2c_id,
diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c
index 3de328ab41f3..171c7625dd67 100644
--- a/drivers/regulator/lp872x.c
+++ b/drivers/regulator/lp872x.c
@@ -955,7 +955,6 @@ MODULE_DEVICE_TABLE(i2c, lp872x_ids);
955static struct i2c_driver lp872x_driver = { 955static struct i2c_driver lp872x_driver = {
956 .driver = { 956 .driver = {
957 .name = "lp872x", 957 .name = "lp872x",
958 .owner = THIS_MODULE,
959 .of_match_table = of_match_ptr(lp872x_dt_ids), 958 .of_match_table = of_match_ptr(lp872x_dt_ids),
960 }, 959 },
961 .probe = lp872x_probe, 960 .probe = lp872x_probe,
diff --git a/drivers/regulator/ltc3589.c b/drivers/regulator/ltc3589.c
index 0ce8e4e0fa73..6e79d2e8963d 100644
--- a/drivers/regulator/ltc3589.c
+++ b/drivers/regulator/ltc3589.c
@@ -542,7 +542,6 @@ MODULE_DEVICE_TABLE(i2c, ltc3589_i2c_id);
542static struct i2c_driver ltc3589_driver = { 542static struct i2c_driver ltc3589_driver = {
543 .driver = { 543 .driver = {
544 .name = DRIVER_NAME, 544 .name = DRIVER_NAME,
545 .owner = THIS_MODULE,
546 }, 545 },
547 .probe = ltc3589_probe, 546 .probe = ltc3589_probe,
548 .id_table = ltc3589_i2c_id, 547 .id_table = ltc3589_i2c_id,
diff --git a/drivers/regulator/max1586.c b/drivers/regulator/max1586.c
index d2a8c64cae42..2c1228d5796a 100644
--- a/drivers/regulator/max1586.c
+++ b/drivers/regulator/max1586.c
@@ -304,7 +304,6 @@ static struct i2c_driver max1586_pmic_driver = {
304 .probe = max1586_pmic_probe, 304 .probe = max1586_pmic_probe,
305 .driver = { 305 .driver = {
306 .name = "max1586", 306 .name = "max1586",
307 .owner = THIS_MODULE,
308 .of_match_table = of_match_ptr(max1586_of_match), 307 .of_match_table = of_match_ptr(max1586_of_match),
309 }, 308 },
310 .id_table = max1586_id, 309 .id_table = max1586_id,
diff --git a/drivers/regulator/max8660.c b/drivers/regulator/max8660.c
index 4071d74fa828..b87f62dd484e 100644
--- a/drivers/regulator/max8660.c
+++ b/drivers/regulator/max8660.c
@@ -518,7 +518,6 @@ static struct i2c_driver max8660_driver = {
518 .probe = max8660_probe, 518 .probe = max8660_probe,
519 .driver = { 519 .driver = {
520 .name = "max8660", 520 .name = "max8660",
521 .owner = THIS_MODULE,
522 }, 521 },
523 .id_table = max8660_id, 522 .id_table = max8660_id,
524}; 523};
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c
index 6f2bdad8b4d8..399a85bc907e 100644
--- a/drivers/regulator/max8973-regulator.c
+++ b/drivers/regulator/max8973-regulator.c
@@ -652,7 +652,6 @@ static struct i2c_driver max8973_i2c_driver = {
652 .driver = { 652 .driver = {
653 .name = "max8973", 653 .name = "max8973",
654 .of_match_table = of_max8973_match_tbl, 654 .of_match_table = of_max8973_match_tbl,
655 .owner = THIS_MODULE,
656 }, 655 },
657 .probe = max8973_probe, 656 .probe = max8973_probe,
658 .id_table = max8973_id, 657 .id_table = max8973_id,
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c
index 8cc8d1877c44..2f66821d53cb 100644
--- a/drivers/regulator/pfuze100-regulator.c
+++ b/drivers/regulator/pfuze100-regulator.c
@@ -643,7 +643,6 @@ static struct i2c_driver pfuze_driver = {
643 .id_table = pfuze_device_id, 643 .id_table = pfuze_device_id,
644 .driver = { 644 .driver = {
645 .name = "pfuze100-regulator", 645 .name = "pfuze100-regulator",
646 .owner = THIS_MODULE,
647 .of_match_table = pfuze_dt_ids, 646 .of_match_table = pfuze_dt_ids,
648 }, 647 },
649 .probe = pfuze100_regulator_probe, 648 .probe = pfuze100_regulator_probe,
diff --git a/drivers/regulator/tps51632-regulator.c b/drivers/regulator/tps51632-regulator.c
index c213e37eb69e..572816e30095 100644
--- a/drivers/regulator/tps51632-regulator.c
+++ b/drivers/regulator/tps51632-regulator.c
@@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(i2c, tps51632_id);
362static struct i2c_driver tps51632_i2c_driver = { 362static struct i2c_driver tps51632_i2c_driver = {
363 .driver = { 363 .driver = {
364 .name = "tps51632", 364 .name = "tps51632",
365 .owner = THIS_MODULE,
366 .of_match_table = of_match_ptr(tps51632_of_match), 365 .of_match_table = of_match_ptr(tps51632_of_match),
367 }, 366 },
368 .probe = tps51632_probe, 367 .probe = tps51632_probe,
diff --git a/drivers/regulator/tps62360-regulator.c b/drivers/regulator/tps62360-regulator.c
index a1fd626c6c96..f6a6d36a6533 100644
--- a/drivers/regulator/tps62360-regulator.c
+++ b/drivers/regulator/tps62360-regulator.c
@@ -515,7 +515,6 @@ MODULE_DEVICE_TABLE(i2c, tps62360_id);
515static struct i2c_driver tps62360_i2c_driver = { 515static struct i2c_driver tps62360_i2c_driver = {
516 .driver = { 516 .driver = {
517 .name = "tps62360", 517 .name = "tps62360",
518 .owner = THIS_MODULE,
519 .of_match_table = of_match_ptr(tps62360_of_match), 518 .of_match_table = of_match_ptr(tps62360_of_match),
520 }, 519 },
521 .probe = tps62360_probe, 520 .probe = tps62360_probe,
diff --git a/drivers/regulator/tps65023-regulator.c b/drivers/regulator/tps65023-regulator.c
index b941e564b3f3..5cc19b44974a 100644
--- a/drivers/regulator/tps65023-regulator.c
+++ b/drivers/regulator/tps65023-regulator.c
@@ -410,7 +410,6 @@ MODULE_DEVICE_TABLE(i2c, tps_65023_id);
410static struct i2c_driver tps_65023_i2c_driver = { 410static struct i2c_driver tps_65023_i2c_driver = {
411 .driver = { 411 .driver = {
412 .name = "tps65023", 412 .name = "tps65023",
413 .owner = THIS_MODULE,
414 }, 413 },
415 .probe = tps_65023_probe, 414 .probe = tps_65023_probe,
416 .id_table = tps_65023_id, 415 .id_table = tps_65023_id,