aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:36 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:36 -0400
commit2a1ed077189a38bccf39cb00d8dca96d20a49463 (patch)
treeeeb85e9ce2945b5d11d7b954fbcc3c5de4fb3a05 /drivers/hwmon
parent53b72c17873ad3500c19c71dd3074a57604880eb (diff)
hwmon: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/abituguru.c1
-rw-r--r--drivers/hwmon/abituguru3.c1
-rw-r--r--drivers/hwmon/abx500.c1
-rw-r--r--drivers/hwmon/applesmc.c1
-rw-r--r--drivers/hwmon/coretemp.c1
-rw-r--r--drivers/hwmon/da9052-hwmon.c1
-rw-r--r--drivers/hwmon/da9055-hwmon.c1
-rw-r--r--drivers/hwmon/dme1737.c1
-rw-r--r--drivers/hwmon/f71805f.c1
-rw-r--r--drivers/hwmon/f71882fg.c1
-rw-r--r--drivers/hwmon/i5k_amb.c1
-rw-r--r--drivers/hwmon/ibmpowernv.c1
-rw-r--r--drivers/hwmon/iio_hwmon.c1
-rw-r--r--drivers/hwmon/it87.c1
-rw-r--r--drivers/hwmon/jz4740-hwmon.c1
-rw-r--r--drivers/hwmon/lm78.c1
-rw-r--r--drivers/hwmon/max197.c1
-rw-r--r--drivers/hwmon/mc13783-adc.c1
-rw-r--r--drivers/hwmon/menf21bmc_hwmon.c1
-rw-r--r--drivers/hwmon/nct6683.c1
-rw-r--r--drivers/hwmon/nct6775.c1
-rw-r--r--drivers/hwmon/ntc_thermistor.c1
-rw-r--r--drivers/hwmon/pc87360.c1
-rw-r--r--drivers/hwmon/pc87427.c1
-rw-r--r--drivers/hwmon/s3c-hwmon.c1
-rw-r--r--drivers/hwmon/sch5627.c1
-rw-r--r--drivers/hwmon/sch5636.c1
-rw-r--r--drivers/hwmon/sht15.c1
-rw-r--r--drivers/hwmon/sis5595.c1
-rw-r--r--drivers/hwmon/smsc47b397.c1
-rw-r--r--drivers/hwmon/smsc47m1.c1
-rw-r--r--drivers/hwmon/twl4030-madc-hwmon.c1
-rw-r--r--drivers/hwmon/ultra45_env.c1
-rw-r--r--drivers/hwmon/vexpress.c1
-rw-r--r--drivers/hwmon/via-cputemp.c1
-rw-r--r--drivers/hwmon/via686a.c1
-rw-r--r--drivers/hwmon/vt1211.c1
-rw-r--r--drivers/hwmon/vt8231.c1
-rw-r--r--drivers/hwmon/w83627ehf.c1
-rw-r--r--drivers/hwmon/w83627hf.c1
-rw-r--r--drivers/hwmon/w83781d.c1
-rw-r--r--drivers/hwmon/wm831x-hwmon.c1
-rw-r--r--drivers/hwmon/wm8350-hwmon.c1
43 files changed, 0 insertions, 43 deletions
diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c
index 9c8a6bab8228..7a09c1615aa9 100644
--- a/drivers/hwmon/abituguru.c
+++ b/drivers/hwmon/abituguru.c
@@ -1547,7 +1547,6 @@ static SIMPLE_DEV_PM_OPS(abituguru_pm, abituguru_suspend, abituguru_resume);
1547 1547
1548static struct platform_driver abituguru_driver = { 1548static struct platform_driver abituguru_driver = {
1549 .driver = { 1549 .driver = {
1550 .owner = THIS_MODULE,
1551 .name = ABIT_UGURU_NAME, 1550 .name = ABIT_UGURU_NAME,
1552 .pm = ABIT_UGURU_PM, 1551 .pm = ABIT_UGURU_PM,
1553 }, 1552 },
diff --git a/drivers/hwmon/abituguru3.c b/drivers/hwmon/abituguru3.c
index 4ae74aa8cdc1..3d2a4ae92d1e 100644
--- a/drivers/hwmon/abituguru3.c
+++ b/drivers/hwmon/abituguru3.c
@@ -1167,7 +1167,6 @@ static SIMPLE_DEV_PM_OPS(abituguru3_pm, abituguru3_suspend, abituguru3_resume);
1167 1167
1168static struct platform_driver abituguru3_driver = { 1168static struct platform_driver abituguru3_driver = {
1169 .driver = { 1169 .driver = {
1170 .owner = THIS_MODULE,
1171 .name = ABIT_UGURU3_NAME, 1170 .name = ABIT_UGURU3_NAME,
1172 .pm = ABIT_UGURU3_PM 1171 .pm = ABIT_UGURU3_PM
1173 }, 1172 },
diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c
index 769fe20ec938..13875968c844 100644
--- a/drivers/hwmon/abx500.c
+++ b/drivers/hwmon/abx500.c
@@ -474,7 +474,6 @@ static const struct of_device_id abx500_temp_match[] = {
474 474
475static struct platform_driver abx500_temp_driver = { 475static struct platform_driver abx500_temp_driver = {
476 .driver = { 476 .driver = {
477 .owner = THIS_MODULE,
478 .name = "abx500-temp", 477 .name = "abx500-temp",
479 .of_match_table = of_match_ptr(abx500_temp_match), 478 .of_match_table = of_match_ptr(abx500_temp_match),
480 }, 479 },
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index 3288f13d2d87..0af63da6b603 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -676,7 +676,6 @@ static struct platform_driver applesmc_driver = {
676 .probe = applesmc_probe, 676 .probe = applesmc_probe,
677 .driver = { 677 .driver = {
678 .name = "applesmc", 678 .name = "applesmc",
679 .owner = THIS_MODULE,
680 .pm = &applesmc_pm_ops, 679 .pm = &applesmc_pm_ops,
681 }, 680 },
682}; 681};
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index d76f0b70c6e0..5b7fec824f10 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -596,7 +596,6 @@ static int coretemp_remove(struct platform_device *pdev)
596 596
597static struct platform_driver coretemp_driver = { 597static struct platform_driver coretemp_driver = {
598 .driver = { 598 .driver = {
599 .owner = THIS_MODULE,
600 .name = DRVNAME, 599 .name = DRVNAME,
601 }, 600 },
602 .probe = coretemp_probe, 601 .probe = coretemp_probe,
diff --git a/drivers/hwmon/da9052-hwmon.c b/drivers/hwmon/da9052-hwmon.c
index 692b3f34d88c..c9832bfacfe5 100644
--- a/drivers/hwmon/da9052-hwmon.c
+++ b/drivers/hwmon/da9052-hwmon.c
@@ -282,7 +282,6 @@ static struct platform_driver da9052_hwmon_driver = {
282 .probe = da9052_hwmon_probe, 282 .probe = da9052_hwmon_probe,
283 .driver = { 283 .driver = {
284 .name = "da9052-hwmon", 284 .name = "da9052-hwmon",
285 .owner = THIS_MODULE,
286 }, 285 },
287}; 286};
288 287
diff --git a/drivers/hwmon/da9055-hwmon.c b/drivers/hwmon/da9055-hwmon.c
index 9916a3fb4bb9..f6e159cabe23 100644
--- a/drivers/hwmon/da9055-hwmon.c
+++ b/drivers/hwmon/da9055-hwmon.c
@@ -286,7 +286,6 @@ static struct platform_driver da9055_hwmon_driver = {
286 .probe = da9055_hwmon_probe, 286 .probe = da9055_hwmon_probe,
287 .driver = { 287 .driver = {
288 .name = "da9055-hwmon", 288 .name = "da9055-hwmon",
289 .owner = THIS_MODULE,
290 }, 289 },
291}; 290};
292 291
diff --git a/drivers/hwmon/dme1737.c b/drivers/hwmon/dme1737.c
index bea0a344fab5..8763c4a8280c 100644
--- a/drivers/hwmon/dme1737.c
+++ b/drivers/hwmon/dme1737.c
@@ -2732,7 +2732,6 @@ static int dme1737_isa_remove(struct platform_device *pdev)
2732 2732
2733static struct platform_driver dme1737_isa_driver = { 2733static struct platform_driver dme1737_isa_driver = {
2734 .driver = { 2734 .driver = {
2735 .owner = THIS_MODULE,
2736 .name = "dme1737", 2735 .name = "dme1737",
2737 }, 2736 },
2738 .probe = dme1737_isa_probe, 2737 .probe = dme1737_isa_probe,
diff --git a/drivers/hwmon/f71805f.c b/drivers/hwmon/f71805f.c
index 9e57b77ecd34..facd05cda26d 100644
--- a/drivers/hwmon/f71805f.c
+++ b/drivers/hwmon/f71805f.c
@@ -1503,7 +1503,6 @@ static int f71805f_remove(struct platform_device *pdev)
1503 1503
1504static struct platform_driver f71805f_driver = { 1504static struct platform_driver f71805f_driver = {
1505 .driver = { 1505 .driver = {
1506 .owner = THIS_MODULE,
1507 .name = DRVNAME, 1506 .name = DRVNAME,
1508 }, 1507 },
1509 .probe = f71805f_probe, 1508 .probe = f71805f_probe,
diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c
index 03d8592810bf..2e5c6f46e442 100644
--- a/drivers/hwmon/f71882fg.c
+++ b/drivers/hwmon/f71882fg.c
@@ -369,7 +369,6 @@ static int f71882fg_remove(struct platform_device *pdev);
369 369
370static struct platform_driver f71882fg_driver = { 370static struct platform_driver f71882fg_driver = {
371 .driver = { 371 .driver = {
372 .owner = THIS_MODULE,
373 .name = DRVNAME, 372 .name = DRVNAME,
374 }, 373 },
375 .probe = f71882fg_probe, 374 .probe = f71882fg_probe,
diff --git a/drivers/hwmon/i5k_amb.c b/drivers/hwmon/i5k_amb.c
index 6c0080a3b902..6b3d1972cef7 100644
--- a/drivers/hwmon/i5k_amb.c
+++ b/drivers/hwmon/i5k_amb.c
@@ -581,7 +581,6 @@ static int i5k_amb_remove(struct platform_device *pdev)
581 581
582static struct platform_driver i5k_amb_driver = { 582static struct platform_driver i5k_amb_driver = {
583 .driver = { 583 .driver = {
584 .owner = THIS_MODULE,
585 .name = DRVNAME, 584 .name = DRVNAME,
586 }, 585 },
587 .probe = i5k_amb_probe, 586 .probe = i5k_amb_probe,
diff --git a/drivers/hwmon/ibmpowernv.c b/drivers/hwmon/ibmpowernv.c
index d2bf2c97ae70..58ea44ec6c77 100644
--- a/drivers/hwmon/ibmpowernv.c
+++ b/drivers/hwmon/ibmpowernv.c
@@ -311,7 +311,6 @@ static int __init ibmpowernv_probe(struct platform_device *pdev)
311 311
312static struct platform_driver ibmpowernv_driver = { 312static struct platform_driver ibmpowernv_driver = {
313 .driver = { 313 .driver = {
314 .owner = THIS_MODULE,
315 .name = DRVNAME, 314 .name = DRVNAME,
316 }, 315 },
317}; 316};
diff --git a/drivers/hwmon/iio_hwmon.c b/drivers/hwmon/iio_hwmon.c
index 14c82daab019..214a51c55ad2 100644
--- a/drivers/hwmon/iio_hwmon.c
+++ b/drivers/hwmon/iio_hwmon.c
@@ -172,7 +172,6 @@ MODULE_DEVICE_TABLE(of, iio_hwmon_of_match);
172static struct platform_driver __refdata iio_hwmon_driver = { 172static struct platform_driver __refdata iio_hwmon_driver = {
173 .driver = { 173 .driver = {
174 .name = "iio_hwmon", 174 .name = "iio_hwmon",
175 .owner = THIS_MODULE,
176 .of_match_table = iio_hwmon_of_match, 175 .of_match_table = iio_hwmon_of_match,
177 }, 176 },
178 .probe = iio_hwmon_probe, 177 .probe = iio_hwmon_probe,
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index a327fd3402a7..409116c52cc5 100644
--- a/drivers/hwmon/it87.c
+++ b/drivers/hwmon/it87.c
@@ -498,7 +498,6 @@ static void it87_init_device(struct platform_device *pdev);
498 498
499static struct platform_driver it87_driver = { 499static struct platform_driver it87_driver = {
500 .driver = { 500 .driver = {
501 .owner = THIS_MODULE,
502 .name = DRVNAME, 501 .name = DRVNAME,
503 }, 502 },
504 .probe = it87_probe, 503 .probe = it87_probe,
diff --git a/drivers/hwmon/jz4740-hwmon.c b/drivers/hwmon/jz4740-hwmon.c
index 7488e36809c8..df9b3447f2a8 100644
--- a/drivers/hwmon/jz4740-hwmon.c
+++ b/drivers/hwmon/jz4740-hwmon.c
@@ -172,7 +172,6 @@ static struct platform_driver jz4740_hwmon_driver = {
172 .remove = jz4740_hwmon_remove, 172 .remove = jz4740_hwmon_remove,
173 .driver = { 173 .driver = {
174 .name = "jz4740-hwmon", 174 .name = "jz4740-hwmon",
175 .owner = THIS_MODULE,
176 }, 175 },
177}; 176};
178 177
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c
index 759661c7d480..539efe4ad991 100644
--- a/drivers/hwmon/lm78.c
+++ b/drivers/hwmon/lm78.c
@@ -836,7 +836,6 @@ static int lm78_isa_probe(struct platform_device *pdev)
836 836
837static struct platform_driver lm78_isa_driver = { 837static struct platform_driver lm78_isa_driver = {
838 .driver = { 838 .driver = {
839 .owner = THIS_MODULE,
840 .name = "lm78", 839 .name = "lm78",
841 }, 840 },
842 .probe = lm78_isa_probe, 841 .probe = lm78_isa_probe,
diff --git a/drivers/hwmon/max197.c b/drivers/hwmon/max197.c
index 82128ad79a91..cb0dcfda958c 100644
--- a/drivers/hwmon/max197.c
+++ b/drivers/hwmon/max197.c
@@ -334,7 +334,6 @@ MODULE_DEVICE_TABLE(platform, max197_device_ids);
334static struct platform_driver max197_driver = { 334static struct platform_driver max197_driver = {
335 .driver = { 335 .driver = {
336 .name = "max197", 336 .name = "max197",
337 .owner = THIS_MODULE,
338 }, 337 },
339 .probe = max197_probe, 338 .probe = max197_probe,
340 .remove = max197_remove, 339 .remove = max197_remove,
diff --git a/drivers/hwmon/mc13783-adc.c b/drivers/hwmon/mc13783-adc.c
index ae00e60d856c..0c02f40eb0c1 100644
--- a/drivers/hwmon/mc13783-adc.c
+++ b/drivers/hwmon/mc13783-adc.c
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, mc13783_adc_idtable);
267static struct platform_driver mc13783_adc_driver = { 267static struct platform_driver mc13783_adc_driver = {
268 .remove = mc13783_adc_remove, 268 .remove = mc13783_adc_remove,
269 .driver = { 269 .driver = {
270 .owner = THIS_MODULE,
271 .name = DRIVER_NAME, 270 .name = DRIVER_NAME,
272 }, 271 },
273 .id_table = mc13783_adc_idtable, 272 .id_table = mc13783_adc_idtable,
diff --git a/drivers/hwmon/menf21bmc_hwmon.c b/drivers/hwmon/menf21bmc_hwmon.c
index c92229d321c9..722d08198b53 100644
--- a/drivers/hwmon/menf21bmc_hwmon.c
+++ b/drivers/hwmon/menf21bmc_hwmon.c
@@ -218,7 +218,6 @@ static struct platform_driver menf21bmc_hwmon = {
218 .probe = menf21bmc_hwmon_probe, 218 .probe = menf21bmc_hwmon_probe,
219 .driver = { 219 .driver = {
220 .name = DRV_NAME, 220 .name = DRV_NAME,
221 .owner = THIS_MODULE,
222 }, 221 },
223}; 222};
224 223
diff --git a/drivers/hwmon/nct6683.c b/drivers/hwmon/nct6683.c
index 7710f4694ba1..f3830db02d46 100644
--- a/drivers/hwmon/nct6683.c
+++ b/drivers/hwmon/nct6683.c
@@ -1282,7 +1282,6 @@ static const struct dev_pm_ops nct6683_dev_pm_ops = {
1282 1282
1283static struct platform_driver nct6683_driver = { 1283static struct platform_driver nct6683_driver = {
1284 .driver = { 1284 .driver = {
1285 .owner = THIS_MODULE,
1286 .name = DRVNAME, 1285 .name = DRVNAME,
1287 .pm = NCT6683_DEV_PM_OPS, 1286 .pm = NCT6683_DEV_PM_OPS,
1288 }, 1287 },
diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c
index 504cbddbdd90..7c0ea7252ef4 100644
--- a/drivers/hwmon/nct6775.c
+++ b/drivers/hwmon/nct6775.c
@@ -4039,7 +4039,6 @@ static const struct dev_pm_ops nct6775_dev_pm_ops = {
4039 4039
4040static struct platform_driver nct6775_driver = { 4040static struct platform_driver nct6775_driver = {
4041 .driver = { 4041 .driver = {
4042 .owner = THIS_MODULE,
4043 .name = DRVNAME, 4042 .name = DRVNAME,
4044 .pm = NCT6775_DEV_PM_OPS, 4043 .pm = NCT6775_DEV_PM_OPS,
4045 }, 4044 },
diff --git a/drivers/hwmon/ntc_thermistor.c b/drivers/hwmon/ntc_thermistor.c
index 4ff89b2482e4..fd9a945fe8db 100644
--- a/drivers/hwmon/ntc_thermistor.c
+++ b/drivers/hwmon/ntc_thermistor.c
@@ -609,7 +609,6 @@ static int ntc_thermistor_remove(struct platform_device *pdev)
609static struct platform_driver ntc_thermistor_driver = { 609static struct platform_driver ntc_thermistor_driver = {
610 .driver = { 610 .driver = {
611 .name = "ntc-thermistor", 611 .name = "ntc-thermistor",
612 .owner = THIS_MODULE,
613 .of_match_table = of_match_ptr(ntc_match), 612 .of_match_table = of_match_ptr(ntc_match),
614 }, 613 },
615 .probe = ntc_thermistor_probe, 614 .probe = ntc_thermistor_probe,
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c
index 145f674c1d87..d50fbf93a737 100644
--- a/drivers/hwmon/pc87360.c
+++ b/drivers/hwmon/pc87360.c
@@ -244,7 +244,6 @@ static struct pc87360_data *pc87360_update_device(struct device *dev);
244 244
245static struct platform_driver pc87360_driver = { 245static struct platform_driver pc87360_driver = {
246 .driver = { 246 .driver = {
247 .owner = THIS_MODULE,
248 .name = "pc87360", 247 .name = "pc87360",
249 }, 248 },
250 .probe = pc87360_probe, 249 .probe = pc87360_probe,
diff --git a/drivers/hwmon/pc87427.c b/drivers/hwmon/pc87427.c
index 9e4684e747ea..cb9fdd37bd0d 100644
--- a/drivers/hwmon/pc87427.c
+++ b/drivers/hwmon/pc87427.c
@@ -1153,7 +1153,6 @@ static int pc87427_remove(struct platform_device *pdev)
1153 1153
1154static struct platform_driver pc87427_driver = { 1154static struct platform_driver pc87427_driver = {
1155 .driver = { 1155 .driver = {
1156 .owner = THIS_MODULE,
1157 .name = DRVNAME, 1156 .name = DRVNAME,
1158 }, 1157 },
1159 .probe = pc87427_probe, 1158 .probe = pc87427_probe,
diff --git a/drivers/hwmon/s3c-hwmon.c b/drivers/hwmon/s3c-hwmon.c
index 0674c13bbd4b..0c4710d35d16 100644
--- a/drivers/hwmon/s3c-hwmon.c
+++ b/drivers/hwmon/s3c-hwmon.c
@@ -378,7 +378,6 @@ static int s3c_hwmon_remove(struct platform_device *dev)
378static struct platform_driver s3c_hwmon_driver = { 378static struct platform_driver s3c_hwmon_driver = {
379 .driver = { 379 .driver = {
380 .name = "s3c-hwmon", 380 .name = "s3c-hwmon",
381 .owner = THIS_MODULE,
382 }, 381 },
383 .probe = s3c_hwmon_probe, 382 .probe = s3c_hwmon_probe,
384 .remove = s3c_hwmon_remove, 383 .remove = s3c_hwmon_remove,
diff --git a/drivers/hwmon/sch5627.c b/drivers/hwmon/sch5627.c
index 0cc99fd83e8e..19f85c0da270 100644
--- a/drivers/hwmon/sch5627.c
+++ b/drivers/hwmon/sch5627.c
@@ -591,7 +591,6 @@ error:
591 591
592static struct platform_driver sch5627_driver = { 592static struct platform_driver sch5627_driver = {
593 .driver = { 593 .driver = {
594 .owner = THIS_MODULE,
595 .name = DRVNAME, 594 .name = DRVNAME,
596 }, 595 },
597 .probe = sch5627_probe, 596 .probe = sch5627_probe,
diff --git a/drivers/hwmon/sch5636.c b/drivers/hwmon/sch5636.c
index 547b5c952eff..131a2815dbda 100644
--- a/drivers/hwmon/sch5636.c
+++ b/drivers/hwmon/sch5636.c
@@ -521,7 +521,6 @@ error:
521 521
522static struct platform_driver sch5636_driver = { 522static struct platform_driver sch5636_driver = {
523 .driver = { 523 .driver = {
524 .owner = THIS_MODULE,
525 .name = DRVNAME, 524 .name = DRVNAME,
526 }, 525 },
527 .probe = sch5636_probe, 526 .probe = sch5636_probe,
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
index 97cd45a8432c..d4f0935daaa1 100644
--- a/drivers/hwmon/sht15.c
+++ b/drivers/hwmon/sht15.c
@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(platform, sht15_device_ids);
1087static struct platform_driver sht15_driver = { 1087static struct platform_driver sht15_driver = {
1088 .driver = { 1088 .driver = {
1089 .name = "sht15", 1089 .name = "sht15",
1090 .owner = THIS_MODULE,
1091 }, 1090 },
1092 .probe = sht15_probe, 1091 .probe = sht15_probe,
1093 .remove = sht15_remove, 1092 .remove = sht15_remove,
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index bf1d7893d51c..45a028fb8851 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -215,7 +215,6 @@ static void sis5595_init_device(struct sis5595_data *data);
215 215
216static struct platform_driver sis5595_driver = { 216static struct platform_driver sis5595_driver = {
217 .driver = { 217 .driver = {
218 .owner = THIS_MODULE,
219 .name = "sis5595", 218 .name = "sis5595",
220 }, 219 },
221 .probe = sis5595_probe, 220 .probe = sis5595_probe,
diff --git a/drivers/hwmon/smsc47b397.c b/drivers/hwmon/smsc47b397.c
index 221f0931bf1c..6bd200756560 100644
--- a/drivers/hwmon/smsc47b397.c
+++ b/drivers/hwmon/smsc47b397.c
@@ -219,7 +219,6 @@ static int smsc47b397_probe(struct platform_device *pdev);
219 219
220static struct platform_driver smsc47b397_driver = { 220static struct platform_driver smsc47b397_driver = {
221 .driver = { 221 .driver = {
222 .owner = THIS_MODULE,
223 .name = DRVNAME, 222 .name = DRVNAME,
224 }, 223 },
225 .probe = smsc47b397_probe, 224 .probe = smsc47b397_probe,
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c
index d7485659acc5..5d323186d2c1 100644
--- a/drivers/hwmon/smsc47m1.c
+++ b/drivers/hwmon/smsc47m1.c
@@ -849,7 +849,6 @@ static int __exit smsc47m1_remove(struct platform_device *pdev)
849 849
850static struct platform_driver smsc47m1_driver = { 850static struct platform_driver smsc47m1_driver = {
851 .driver = { 851 .driver = {
852 .owner = THIS_MODULE,
853 .name = DRVNAME, 852 .name = DRVNAME,
854 }, 853 },
855 .remove = __exit_p(smsc47m1_remove), 854 .remove = __exit_p(smsc47m1_remove),
diff --git a/drivers/hwmon/twl4030-madc-hwmon.c b/drivers/hwmon/twl4030-madc-hwmon.c
index 9a0e2b8e8b94..b5caf7fdb487 100644
--- a/drivers/hwmon/twl4030-madc-hwmon.c
+++ b/drivers/hwmon/twl4030-madc-hwmon.c
@@ -107,7 +107,6 @@ static struct platform_driver twl4030_madc_hwmon_driver = {
107 .probe = twl4030_madc_hwmon_probe, 107 .probe = twl4030_madc_hwmon_probe,
108 .driver = { 108 .driver = {
109 .name = "twl4030_madc_hwmon", 109 .name = "twl4030_madc_hwmon",
110 .owner = THIS_MODULE,
111 }, 110 },
112}; 111};
113 112
diff --git a/drivers/hwmon/ultra45_env.c b/drivers/hwmon/ultra45_env.c
index 7d4658636064..f2816c7c918f 100644
--- a/drivers/hwmon/ultra45_env.c
+++ b/drivers/hwmon/ultra45_env.c
@@ -314,7 +314,6 @@ MODULE_DEVICE_TABLE(of, env_match);
314static struct platform_driver env_driver = { 314static struct platform_driver env_driver = {
315 .driver = { 315 .driver = {
316 .name = "ultra45_env", 316 .name = "ultra45_env",
317 .owner = THIS_MODULE,
318 .of_match_table = env_match, 317 .of_match_table = env_match,
319 }, 318 },
320 .probe = env_probe, 319 .probe = env_probe,
diff --git a/drivers/hwmon/vexpress.c b/drivers/hwmon/vexpress.c
index c53619086f33..cf1848b8fb32 100644
--- a/drivers/hwmon/vexpress.c
+++ b/drivers/hwmon/vexpress.c
@@ -247,7 +247,6 @@ static struct platform_driver vexpress_hwmon_driver = {
247 .probe = vexpress_hwmon_probe, 247 .probe = vexpress_hwmon_probe,
248 .driver = { 248 .driver = {
249 .name = DRVNAME, 249 .name = DRVNAME,
250 .owner = THIS_MODULE,
251 .of_match_table = vexpress_hwmon_of_match, 250 .of_match_table = vexpress_hwmon_of_match,
252 }, 251 },
253}; 252};
diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c
index 8df43c51de2c..ac91c07e3f90 100644
--- a/drivers/hwmon/via-cputemp.c
+++ b/drivers/hwmon/via-cputemp.c
@@ -205,7 +205,6 @@ static int via_cputemp_remove(struct platform_device *pdev)
205 205
206static struct platform_driver via_cputemp_driver = { 206static struct platform_driver via_cputemp_driver = {
207 .driver = { 207 .driver = {
208 .owner = THIS_MODULE,
209 .name = DRVNAME, 208 .name = DRVNAME,
210 }, 209 },
211 .probe = via_cputemp_probe, 210 .probe = via_cputemp_probe,
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c
index babd732b4e18..40dd93c8f9f4 100644
--- a/drivers/hwmon/via686a.c
+++ b/drivers/hwmon/via686a.c
@@ -670,7 +670,6 @@ static const struct attribute_group via686a_group = {
670 670
671static struct platform_driver via686a_driver = { 671static struct platform_driver via686a_driver = {
672 .driver = { 672 .driver = {
673 .owner = THIS_MODULE,
674 .name = "via686a", 673 .name = "via686a",
675 }, 674 },
676 .probe = via686a_probe, 675 .probe = via686a_probe,
diff --git a/drivers/hwmon/vt1211.c b/drivers/hwmon/vt1211.c
index 3ea57c3504e2..3a6bfa51cb94 100644
--- a/drivers/hwmon/vt1211.c
+++ b/drivers/hwmon/vt1211.c
@@ -1233,7 +1233,6 @@ static int vt1211_remove(struct platform_device *pdev)
1233 1233
1234static struct platform_driver vt1211_driver = { 1234static struct platform_driver vt1211_driver = {
1235 .driver = { 1235 .driver = {
1236 .owner = THIS_MODULE,
1237 .name = DRVNAME, 1236 .name = DRVNAME,
1238 }, 1237 },
1239 .probe = vt1211_probe, 1238 .probe = vt1211_probe,
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c
index b3babe3326fb..cb69a8c2ed5b 100644
--- a/drivers/hwmon/vt8231.c
+++ b/drivers/hwmon/vt8231.c
@@ -759,7 +759,6 @@ static const struct attribute_group vt8231_group = {
759 759
760static struct platform_driver vt8231_driver = { 760static struct platform_driver vt8231_driver = {
761 .driver = { 761 .driver = {
762 .owner = THIS_MODULE,
763 .name = "vt8231", 762 .name = "vt8231",
764 }, 763 },
765 .probe = vt8231_probe, 764 .probe = vt8231_probe,
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index f0ab61db7a0d..b10353b31806 100644
--- a/drivers/hwmon/w83627ehf.c
+++ b/drivers/hwmon/w83627ehf.c
@@ -2705,7 +2705,6 @@ static const struct dev_pm_ops w83627ehf_dev_pm_ops = {
2705 2705
2706static struct platform_driver w83627ehf_driver = { 2706static struct platform_driver w83627ehf_driver = {
2707 .driver = { 2707 .driver = {
2708 .owner = THIS_MODULE,
2709 .name = DRVNAME, 2708 .name = DRVNAME,
2710 .pm = W83627EHF_DEV_PM_OPS, 2709 .pm = W83627EHF_DEV_PM_OPS,
2711 }, 2710 },
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c
index 2f55973a8c4c..721295b9a051 100644
--- a/drivers/hwmon/w83627hf.c
+++ b/drivers/hwmon/w83627hf.c
@@ -474,7 +474,6 @@ static const struct dev_pm_ops w83627hf_dev_pm_ops = {
474 474
475static struct platform_driver w83627hf_driver = { 475static struct platform_driver w83627hf_driver = {
476 .driver = { 476 .driver = {
477 .owner = THIS_MODULE,
478 .name = DRVNAME, 477 .name = DRVNAME,
479 .pm = W83627HF_DEV_PM_OPS, 478 .pm = W83627HF_DEV_PM_OPS,
480 }, 479 },
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c
index 84911616d8c0..54848fdd181e 100644
--- a/drivers/hwmon/w83781d.c
+++ b/drivers/hwmon/w83781d.c
@@ -1839,7 +1839,6 @@ w83781d_isa_remove(struct platform_device *pdev)
1839 1839
1840static struct platform_driver w83781d_isa_driver = { 1840static struct platform_driver w83781d_isa_driver = {
1841 .driver = { 1841 .driver = {
1842 .owner = THIS_MODULE,
1843 .name = "w83781d", 1842 .name = "w83781d",
1844 }, 1843 },
1845 .probe = w83781d_isa_probe, 1844 .probe = w83781d_isa_probe,
diff --git a/drivers/hwmon/wm831x-hwmon.c b/drivers/hwmon/wm831x-hwmon.c
index 3e6a3195cd11..a16cce72e4e2 100644
--- a/drivers/hwmon/wm831x-hwmon.c
+++ b/drivers/hwmon/wm831x-hwmon.c
@@ -154,7 +154,6 @@ static struct platform_driver wm831x_hwmon_driver = {
154 .probe = wm831x_hwmon_probe, 154 .probe = wm831x_hwmon_probe,
155 .driver = { 155 .driver = {
156 .name = "wm831x-hwmon", 156 .name = "wm831x-hwmon",
157 .owner = THIS_MODULE,
158 }, 157 },
159}; 158};
160 159
diff --git a/drivers/hwmon/wm8350-hwmon.c b/drivers/hwmon/wm8350-hwmon.c
index 90e3d918e597..31af438ffa88 100644
--- a/drivers/hwmon/wm8350-hwmon.c
+++ b/drivers/hwmon/wm8350-hwmon.c
@@ -93,7 +93,6 @@ static struct platform_driver wm8350_hwmon_driver = {
93 .probe = wm8350_hwmon_probe, 93 .probe = wm8350_hwmon_probe,
94 .driver = { 94 .driver = {
95 .name = "wm8350-hwmon", 95 .name = "wm8350-hwmon",
96 .owner = THIS_MODULE,
97 }, 96 },
98}; 97};
99 98