aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/common/sa1111.c1
-rw-r--r--arch/arm/mach-davinci/cpuidle.c1
-rw-r--r--arch/arm/mach-davinci/pm.c1
-rw-r--r--arch/arm/mach-imx/mmdc.c1
-rw-r--r--arch/arm/mach-msm/clock-pcom.c1
-rw-r--r--arch/arm/mach-msm/smd.c1
-rw-r--r--arch/arm/mach-prima2/pm.c1
-rw-r--r--arch/arm/mach-prima2/rstc.c1
-rw-r--r--arch/arm/mach-prima2/rtciobrg.c1
-rw-r--r--arch/arm/mach-pxa/pxa3xx-ulpi.c1
-rw-r--r--arch/arm/mach-pxa/tosa-bt.c1
-rw-r--r--arch/arm/mach-s3c24xx/mach-osiris-dvs.c1
-rw-r--r--arch/arm/mach-sa1100/neponset.c1
-rw-r--r--arch/arm/mach-u300/regulator.c1
-rw-r--r--arch/arm/plat-pxa/ssp.c1
-rw-r--r--arch/arm/plat-samsung/adc.c1
-rw-r--r--arch/mips/lantiq/xway/dcdc.c1
-rw-r--r--arch/mips/lantiq/xway/dma.c1
-rw-r--r--arch/mips/lantiq/xway/gptu.c1
-rw-r--r--arch/mips/lantiq/xway/xrx200_phy_fw.c1
-rw-r--r--arch/mips/mti-sead3/leds-sead3.c1
-rw-r--r--arch/mips/mti-sead3/sead3-i2c-drv.c1
-rw-r--r--arch/mips/pci/pci-alchemy.c1
-rw-r--r--arch/mips/pci/pci-ar71xx.c1
-rw-r--r--arch/mips/pci/pci-ar724x.c1
-rw-r--r--arch/mips/pci/pci-lantiq.c1
-rw-r--r--arch/mips/pci/pci-rt3883.c1
-rw-r--r--arch/mips/ralink/timer.c1
-rw-r--r--arch/mips/txx9/rbtx4939/setup.c1
-rw-r--r--arch/powerpc/kernel/of_platform.c1
-rw-r--r--arch/powerpc/platforms/52xx/mpc52xx_gpt.c1
-rw-r--r--arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c1
-rw-r--r--arch/powerpc/platforms/82xx/ep8248e.c1
-rw-r--r--arch/powerpc/platforms/83xx/suspend.c1
-rw-r--r--arch/powerpc/platforms/85xx/sgy_cts1000.c1
-rw-r--r--arch/powerpc/platforms/cell/axon_msi.c1
-rw-r--r--arch/powerpc/platforms/pasemi/gpio_mdio.c1
-rw-r--r--arch/powerpc/sysdev/axonram.c1
-rw-r--r--arch/powerpc/sysdev/fsl_85xx_l2ctlr.c1
-rw-r--r--arch/powerpc/sysdev/fsl_msi.c1
-rw-r--r--arch/powerpc/sysdev/fsl_pmc.c1
-rw-r--r--arch/powerpc/sysdev/fsl_rio.c1
-rw-r--r--arch/powerpc/sysdev/mpic_msgr.c1
-rw-r--r--arch/powerpc/sysdev/pmi.c1
-rw-r--r--arch/powerpc/sysdev/ppc4xx_hsta_msi.c1
-rw-r--r--arch/powerpc/sysdev/ppc4xx_msi.c1
-rw-r--r--arch/powerpc/sysdev/qe_lib/qe.c1
-rw-r--r--arch/s390/appldata/appldata_base.c1
-rw-r--r--arch/sparc/include/asm/parport.h1
-rw-r--r--arch/sparc/kernel/apc.c1
-rw-r--r--arch/sparc/kernel/auxio_64.c1
-rw-r--r--arch/sparc/kernel/central.c2
-rw-r--r--arch/sparc/kernel/chmc.c1
-rw-r--r--arch/sparc/kernel/leon_pci_grpci1.c1
-rw-r--r--arch/sparc/kernel/leon_pci_grpci2.c1
-rw-r--r--arch/sparc/kernel/pci_fire.c1
-rw-r--r--arch/sparc/kernel/pci_psycho.c1
-rw-r--r--arch/sparc/kernel/pci_sabre.c1
-rw-r--r--arch/sparc/kernel/pci_schizo.c1
-rw-r--r--arch/sparc/kernel/pci_sun4v.c1
-rw-r--r--arch/sparc/kernel/pmc.c1
-rw-r--r--arch/sparc/kernel/power.c1
-rw-r--r--arch/sparc/kernel/time_32.c1
-rw-r--r--arch/sparc/kernel/time_64.c3
-rw-r--r--arch/x86/kernel/cpu/perf_event_amd_iommu.c5
-rw-r--r--arch/x86/kernel/cpu/perf_event_amd_uncore.c6
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel_rapl.c6
-rw-r--r--arch/x86/kernel/cpu/perf_event_intel_uncore.c6
-rw-r--r--arch/x86/platform/iris/iris.c1
-rw-r--r--arch/x86/platform/olpc/olpc-xo1-pm.c2
70 files changed, 4 insertions, 89 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
index 7b69c5f9cd74..5cc779c8e9c6 100644
--- a/arch/arm/common/sa1111.c
+++ b/arch/arm/common/sa1111.c
@@ -1056,7 +1056,6 @@ static struct platform_driver sa1111_device_driver = {
1056 .resume = sa1111_resume, 1056 .resume = sa1111_resume,
1057 .driver = { 1057 .driver = {
1058 .name = "sa1111", 1058 .name = "sa1111",
1059 .owner = THIS_MODULE,
1060 }, 1059 },
1061}; 1060};
1062 1061
diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c
index b4675fc28f83..e365c1bb1265 100644
--- a/arch/arm/mach-davinci/cpuidle.c
+++ b/arch/arm/mach-davinci/cpuidle.c
@@ -91,7 +91,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev)
91static struct platform_driver davinci_cpuidle_driver = { 91static struct platform_driver davinci_cpuidle_driver = {
92 .driver = { 92 .driver = {
93 .name = "cpuidle-davinci", 93 .name = "cpuidle-davinci",
94 .owner = THIS_MODULE,
95 }, 94 },
96}; 95};
97 96
diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c
index a508fe587af7..07e23ba61f3a 100644
--- a/arch/arm/mach-davinci/pm.c
+++ b/arch/arm/mach-davinci/pm.c
@@ -148,7 +148,6 @@ static int __exit davinci_pm_remove(struct platform_device *pdev)
148static struct platform_driver davinci_pm_driver = { 148static struct platform_driver davinci_pm_driver = {
149 .driver = { 149 .driver = {
150 .name = "pm-davinci", 150 .name = "pm-davinci",
151 .owner = THIS_MODULE,
152 }, 151 },
153 .remove = __exit_p(davinci_pm_remove), 152 .remove = __exit_p(davinci_pm_remove),
154}; 153};
diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx/mmdc.c
index 3729d90cfa46..a377f95033ae 100644
--- a/arch/arm/mach-imx/mmdc.c
+++ b/arch/arm/mach-imx/mmdc.c
@@ -76,7 +76,6 @@ static struct of_device_id imx_mmdc_dt_ids[] = {
76static struct platform_driver imx_mmdc_driver = { 76static struct platform_driver imx_mmdc_driver = {
77 .driver = { 77 .driver = {
78 .name = "imx-mmdc", 78 .name = "imx-mmdc",
79 .owner = THIS_MODULE,
80 .of_match_table = imx_mmdc_dt_ids, 79 .of_match_table = imx_mmdc_dt_ids,
81 }, 80 },
82 .probe = imx_mmdc_probe, 81 .probe = imx_mmdc_probe,
diff --git a/arch/arm/mach-msm/clock-pcom.c b/arch/arm/mach-msm/clock-pcom.c
index 9a80449518e6..f5b69d736ee5 100644
--- a/arch/arm/mach-msm/clock-pcom.c
+++ b/arch/arm/mach-msm/clock-pcom.c
@@ -169,7 +169,6 @@ static struct platform_driver msm_clock_pcom_driver = {
169 .probe = msm_clock_pcom_probe, 169 .probe = msm_clock_pcom_probe,
170 .driver = { 170 .driver = {
171 .name = "msm-clock-pcom", 171 .name = "msm-clock-pcom",
172 .owner = THIS_MODULE,
173 }, 172 },
174}; 173};
175module_platform_driver(msm_clock_pcom_driver); 174module_platform_driver(msm_clock_pcom_driver);
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index b1588a1ea2f8..7550f5a08956 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = {
1019 .probe = msm_smd_probe, 1019 .probe = msm_smd_probe,
1020 .driver = { 1020 .driver = {
1021 .name = MODULE_NAME, 1021 .name = MODULE_NAME,
1022 .owner = THIS_MODULE,
1023 }, 1022 },
1024}; 1023};
1025 1024
diff --git a/arch/arm/mach-prima2/pm.c b/arch/arm/mach-prima2/pm.c
index 96e9bc102117..d99d08eeb966 100644
--- a/arch/arm/mach-prima2/pm.c
+++ b/arch/arm/mach-prima2/pm.c
@@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = {
135 .probe = sirfsoc_memc_probe, 135 .probe = sirfsoc_memc_probe,
136 .driver = { 136 .driver = {
137 .name = "sirfsoc-memc", 137 .name = "sirfsoc-memc",
138 .owner = THIS_MODULE,
139 .of_match_table = memc_ids, 138 .of_match_table = memc_ids,
140 }, 139 },
141}; 140};
diff --git a/arch/arm/mach-prima2/rstc.c b/arch/arm/mach-prima2/rstc.c
index 3dffcb2d714e..e1f1f86f6a95 100644
--- a/arch/arm/mach-prima2/rstc.c
+++ b/arch/arm/mach-prima2/rstc.c
@@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = {
114 .probe = sirfsoc_rstc_probe, 114 .probe = sirfsoc_rstc_probe,
115 .driver = { 115 .driver = {
116 .name = "sirfsoc_rstc", 116 .name = "sirfsoc_rstc",
117 .owner = THIS_MODULE,
118 .of_match_table = rstc_ids, 117 .of_match_table = rstc_ids,
119 }, 118 },
120}; 119};
diff --git a/arch/arm/mach-prima2/rtciobrg.c b/arch/arm/mach-prima2/rtciobrg.c
index a17c88b74fa1..70a0b475062b 100644
--- a/arch/arm/mach-prima2/rtciobrg.c
+++ b/arch/arm/mach-prima2/rtciobrg.c
@@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = {
123 .probe = sirfsoc_rtciobrg_probe, 123 .probe = sirfsoc_rtciobrg_probe,
124 .driver = { 124 .driver = {
125 .name = "sirfsoc-rtciobrg", 125 .name = "sirfsoc-rtciobrg",
126 .owner = THIS_MODULE,
127 .of_match_table = rtciobrg_ids, 126 .of_match_table = rtciobrg_ids,
128 }, 127 },
129}; 128};
diff --git a/arch/arm/mach-pxa/pxa3xx-ulpi.c b/arch/arm/mach-pxa/pxa3xx-ulpi.c
index 614003e8b081..1c85275cb768 100644
--- a/arch/arm/mach-pxa/pxa3xx-ulpi.c
+++ b/arch/arm/mach-pxa/pxa3xx-ulpi.c
@@ -379,7 +379,6 @@ static int pxa3xx_u2d_remove(struct platform_device *pdev)
379static struct platform_driver pxa3xx_u2d_ulpi_driver = { 379static struct platform_driver pxa3xx_u2d_ulpi_driver = {
380 .driver = { 380 .driver = {
381 .name = "pxa3xx-u2d", 381 .name = "pxa3xx-u2d",
382 .owner = THIS_MODULE,
383 }, 382 },
384 .probe = pxa3xx_u2d_probe, 383 .probe = pxa3xx_u2d_probe,
385 .remove = pxa3xx_u2d_remove, 384 .remove = pxa3xx_u2d_remove,
diff --git a/arch/arm/mach-pxa/tosa-bt.c b/arch/arm/mach-pxa/tosa-bt.c
index fc3646c2c694..685deff861d2 100644
--- a/arch/arm/mach-pxa/tosa-bt.c
+++ b/arch/arm/mach-pxa/tosa-bt.c
@@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = {
129 129
130 .driver = { 130 .driver = {
131 .name = "tosa-bt", 131 .name = "tosa-bt",
132 .owner = THIS_MODULE,
133 }, 132 },
134}; 133};
135 134
diff --git a/arch/arm/mach-s3c24xx/mach-osiris-dvs.c b/arch/arm/mach-s3c24xx/mach-osiris-dvs.c
index 33afb9190091..ce2db235dbaf 100644
--- a/arch/arm/mach-s3c24xx/mach-osiris-dvs.c
+++ b/arch/arm/mach-s3c24xx/mach-osiris-dvs.c
@@ -171,7 +171,6 @@ static struct platform_driver osiris_dvs_driver = {
171 .remove = osiris_dvs_remove, 171 .remove = osiris_dvs_remove,
172 .driver = { 172 .driver = {
173 .name = "osiris-dvs", 173 .name = "osiris-dvs",
174 .owner = THIS_MODULE,
175 .pm = &osiris_dvs_pm, 174 .pm = &osiris_dvs_pm,
176 }, 175 },
177}; 176};
diff --git a/arch/arm/mach-sa1100/neponset.c b/arch/arm/mach-sa1100/neponset.c
index 400f80332046..169262e3040d 100644
--- a/arch/arm/mach-sa1100/neponset.c
+++ b/arch/arm/mach-sa1100/neponset.c
@@ -423,7 +423,6 @@ static struct platform_driver neponset_device_driver = {
423 .remove = neponset_remove, 423 .remove = neponset_remove,
424 .driver = { 424 .driver = {
425 .name = "neponset", 425 .name = "neponset",
426 .owner = THIS_MODULE,
427 .pm = PM_OPS, 426 .pm = PM_OPS,
428 }, 427 },
429}; 428};
diff --git a/arch/arm/mach-u300/regulator.c b/arch/arm/mach-u300/regulator.c
index 0493a845b6bc..595b574c2c50 100644
--- a/arch/arm/mach-u300/regulator.c
+++ b/arch/arm/mach-u300/regulator.c
@@ -116,7 +116,6 @@ static const struct of_device_id s365_board_match[] = {
116static struct platform_driver s365_board_driver = { 116static struct platform_driver s365_board_driver = {
117 .driver = { 117 .driver = {
118 .name = "s365-board", 118 .name = "s365-board",
119 .owner = THIS_MODULE,
120 .of_match_table = s365_board_match, 119 .of_match_table = s365_board_match,
121 }, 120 },
122}; 121};
diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c
index 1f5ee17a10e8..ad9529cc4203 100644
--- a/arch/arm/plat-pxa/ssp.c
+++ b/arch/arm/plat-pxa/ssp.c
@@ -268,7 +268,6 @@ static struct platform_driver pxa_ssp_driver = {
268 .probe = pxa_ssp_probe, 268 .probe = pxa_ssp_probe,
269 .remove = pxa_ssp_remove, 269 .remove = pxa_ssp_remove,
270 .driver = { 270 .driver = {
271 .owner = THIS_MODULE,
272 .name = "pxa2xx-ssp", 271 .name = "pxa2xx-ssp",
273 .of_match_table = of_match_ptr(pxa_ssp_of_ids), 272 .of_match_table = of_match_ptr(pxa_ssp_of_ids),
274 }, 273 },
diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung/adc.c
index 468352633101..e2be70df06c6 100644
--- a/arch/arm/plat-samsung/adc.c
+++ b/arch/arm/plat-samsung/adc.c
@@ -505,7 +505,6 @@ static struct platform_driver s3c_adc_driver = {
505 .id_table = s3c_adc_driver_ids, 505 .id_table = s3c_adc_driver_ids,
506 .driver = { 506 .driver = {
507 .name = "s3c-adc", 507 .name = "s3c-adc",
508 .owner = THIS_MODULE,
509 .pm = &adc_pm_ops, 508 .pm = &adc_pm_ops,
510 }, 509 },
511 .probe = s3c_adc_probe, 510 .probe = s3c_adc_probe,
diff --git a/arch/mips/lantiq/xway/dcdc.c b/arch/mips/lantiq/xway/dcdc.c
index 7688ac0f06d0..ae8e930f5283 100644
--- a/arch/mips/lantiq/xway/dcdc.c
+++ b/arch/mips/lantiq/xway/dcdc.c
@@ -46,7 +46,6 @@ static struct platform_driver dcdc_driver = {
46 .probe = dcdc_probe, 46 .probe = dcdc_probe,
47 .driver = { 47 .driver = {
48 .name = "dcdc-xrx200", 48 .name = "dcdc-xrx200",
49 .owner = THIS_MODULE,
50 .of_match_table = dcdc_match, 49 .of_match_table = dcdc_match,
51 }, 50 },
52}; 51};
diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index 78a91fa41944..34a116e840d8 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -261,7 +261,6 @@ static struct platform_driver dma_driver = {
261 .probe = ltq_dma_init, 261 .probe = ltq_dma_init,
262 .driver = { 262 .driver = {
263 .name = "dma-xway", 263 .name = "dma-xway",
264 .owner = THIS_MODULE,
265 .of_match_table = dma_match, 264 .of_match_table = dma_match,
266 }, 265 },
267}; 266};
diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c
index 850821df924c..f1492b2db017 100644
--- a/arch/mips/lantiq/xway/gptu.c
+++ b/arch/mips/lantiq/xway/gptu.c
@@ -193,7 +193,6 @@ static struct platform_driver dma_driver = {
193 .probe = gptu_probe, 193 .probe = gptu_probe,
194 .driver = { 194 .driver = {
195 .name = "gptu-xway", 195 .name = "gptu-xway",
196 .owner = THIS_MODULE,
197 .of_match_table = gptu_match, 196 .of_match_table = gptu_match,
198 }, 197 },
199}; 198};
diff --git a/arch/mips/lantiq/xway/xrx200_phy_fw.c b/arch/mips/lantiq/xway/xrx200_phy_fw.c
index 7c1e54c6a36c..199094a40c15 100644
--- a/arch/mips/lantiq/xway/xrx200_phy_fw.c
+++ b/arch/mips/lantiq/xway/xrx200_phy_fw.c
@@ -106,7 +106,6 @@ static struct platform_driver xway_phy_driver = {
106 .probe = xway_phy_fw_probe, 106 .probe = xway_phy_fw_probe,
107 .driver = { 107 .driver = {
108 .name = "phy-xrx200", 108 .name = "phy-xrx200",
109 .owner = THIS_MODULE,
110 .of_match_table = xway_phy_match, 109 .of_match_table = xway_phy_match,
111 }, 110 },
112}; 111};
diff --git a/arch/mips/mti-sead3/leds-sead3.c b/arch/mips/mti-sead3/leds-sead3.c
index 0a168c948b01..3abe47b316aa 100644
--- a/arch/mips/mti-sead3/leds-sead3.c
+++ b/arch/mips/mti-sead3/leds-sead3.c
@@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = {
70 .remove = sead3_led_remove, 70 .remove = sead3_led_remove,
71 .driver = { 71 .driver = {
72 .name = DRVNAME, 72 .name = DRVNAME,
73 .owner = THIS_MODULE,
74 }, 73 },
75}; 74};
76 75
diff --git a/arch/mips/mti-sead3/sead3-i2c-drv.c b/arch/mips/mti-sead3/sead3-i2c-drv.c
index 1f787a6a7878..2bebf0974e39 100644
--- a/arch/mips/mti-sead3/sead3-i2c-drv.c
+++ b/arch/mips/mti-sead3/sead3-i2c-drv.c
@@ -380,7 +380,6 @@ static int sead3_i2c_platform_resume(struct platform_device *pdev)
380static struct platform_driver sead3_i2c_platform_driver = { 380static struct platform_driver sead3_i2c_platform_driver = {
381 .driver = { 381 .driver = {
382 .name = "sead3-i2c", 382 .name = "sead3-i2c",
383 .owner = THIS_MODULE,
384 }, 383 },
385 .probe = sead3_i2c_platform_probe, 384 .probe = sead3_i2c_platform_probe,
386 .remove = sead3_i2c_platform_remove, 385 .remove = sead3_i2c_platform_remove,
diff --git a/arch/mips/pci/pci-alchemy.c b/arch/mips/pci/pci-alchemy.c
index c19600a03460..28952637a862 100644
--- a/arch/mips/pci/pci-alchemy.c
+++ b/arch/mips/pci/pci-alchemy.c
@@ -505,7 +505,6 @@ static struct platform_driver alchemy_pcictl_driver = {
505 .probe = alchemy_pci_probe, 505 .probe = alchemy_pci_probe,
506 .driver = { 506 .driver = {
507 .name = "alchemy-pci", 507 .name = "alchemy-pci",
508 .owner = THIS_MODULE,
509 }, 508 },
510}; 509};
511 510
diff --git a/arch/mips/pci/pci-ar71xx.c b/arch/mips/pci/pci-ar71xx.c
index 2b534aea20e4..9e62ad31d4b5 100644
--- a/arch/mips/pci/pci-ar71xx.c
+++ b/arch/mips/pci/pci-ar71xx.c
@@ -403,7 +403,6 @@ static struct platform_driver ar71xx_pci_driver = {
403 .probe = ar71xx_pci_probe, 403 .probe = ar71xx_pci_probe,
404 .driver = { 404 .driver = {
405 .name = "ar71xx-pci", 405 .name = "ar71xx-pci",
406 .owner = THIS_MODULE,
407 }, 406 },
408}; 407};
409 408
diff --git a/arch/mips/pci/pci-ar724x.c b/arch/mips/pci/pci-ar724x.c
index b7a6fcbb8852..a1b7d2a1b0d5 100644
--- a/arch/mips/pci/pci-ar724x.c
+++ b/arch/mips/pci/pci-ar724x.c
@@ -400,7 +400,6 @@ static struct platform_driver ar724x_pci_driver = {
400 .probe = ar724x_pci_probe, 400 .probe = ar724x_pci_probe,
401 .driver = { 401 .driver = {
402 .name = "ar724x-pci", 402 .name = "ar724x-pci",
403 .owner = THIS_MODULE,
404 }, 403 },
405}; 404};
406 405
diff --git a/arch/mips/pci/pci-lantiq.c b/arch/mips/pci/pci-lantiq.c
index d3ed15b2b2d1..8b117e638306 100644
--- a/arch/mips/pci/pci-lantiq.c
+++ b/arch/mips/pci/pci-lantiq.c
@@ -242,7 +242,6 @@ static struct platform_driver ltq_pci_driver = {
242 .probe = ltq_pci_probe, 242 .probe = ltq_pci_probe,
243 .driver = { 243 .driver = {
244 .name = "pci-xway", 244 .name = "pci-xway",
245 .owner = THIS_MODULE,
246 .of_match_table = ltq_pci_match, 245 .of_match_table = ltq_pci_match,
247 }, 246 },
248}; 247};
diff --git a/arch/mips/pci/pci-rt3883.c b/arch/mips/pci/pci-rt3883.c
index 0bcc0b1cfddc..ec9be8ca4ada 100644
--- a/arch/mips/pci/pci-rt3883.c
+++ b/arch/mips/pci/pci-rt3883.c
@@ -589,7 +589,6 @@ static struct platform_driver rt3883_pci_driver = {
589 .probe = rt3883_pci_probe, 589 .probe = rt3883_pci_probe,
590 .driver = { 590 .driver = {
591 .name = "rt3883-pci", 591 .name = "rt3883-pci",
592 .owner = THIS_MODULE,
593 .of_match_table = of_match_ptr(rt3883_pci_ids), 592 .of_match_table = of_match_ptr(rt3883_pci_ids),
594 }, 593 },
595}; 594};
diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c
index 5bb29b3790ff..82c72a15bf75 100644
--- a/arch/mips/ralink/timer.c
+++ b/arch/mips/ralink/timer.c
@@ -173,7 +173,6 @@ static struct platform_driver rt_timer_driver = {
173 .remove = rt_timer_remove, 173 .remove = rt_timer_remove,
174 .driver = { 174 .driver = {
175 .name = "rt-timer", 175 .name = "rt-timer",
176 .owner = THIS_MODULE,
177 .of_match_table = rt_timer_match 176 .of_match_table = rt_timer_match
178 }, 177 },
179}; 178};
diff --git a/arch/mips/txx9/rbtx4939/setup.c b/arch/mips/txx9/rbtx4939/setup.c
index 2da5f25f98bc..37030409745c 100644
--- a/arch/mips/txx9/rbtx4939/setup.c
+++ b/arch/mips/txx9/rbtx4939/setup.c
@@ -245,7 +245,6 @@ static int __init rbtx4939_led_probe(struct platform_device *pdev)
245static struct platform_driver rbtx4939_led_driver = { 245static struct platform_driver rbtx4939_led_driver = {
246 .driver = { 246 .driver = {
247 .name = "rbtx4939-led", 247 .name = "rbtx4939-led",
248 .owner = THIS_MODULE,
249 }, 248 },
250}; 249};
251 250
diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c
index f87bc1b4bdda..2f35a72642c6 100644
--- a/arch/powerpc/kernel/of_platform.c
+++ b/arch/powerpc/kernel/of_platform.c
@@ -110,7 +110,6 @@ static struct platform_driver of_pci_phb_driver = {
110 .probe = of_pci_phb_probe, 110 .probe = of_pci_phb_probe,
111 .driver = { 111 .driver = {
112 .name = "of-pci", 112 .name = "of-pci",
113 .owner = THIS_MODULE,
114 .of_match_table = of_pci_phb_ids, 113 .of_match_table = of_pci_phb_ids,
115 }, 114 },
116}; 115};
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
index 692998244d2c..c949ca055712 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
@@ -782,7 +782,6 @@ static const struct of_device_id mpc52xx_gpt_match[] = {
782static struct platform_driver mpc52xx_gpt_driver = { 782static struct platform_driver mpc52xx_gpt_driver = {
783 .driver = { 783 .driver = {
784 .name = "mpc52xx-gpt", 784 .name = "mpc52xx-gpt",
785 .owner = THIS_MODULE,
786 .of_match_table = mpc52xx_gpt_match, 785 .of_match_table = mpc52xx_gpt_match,
787 }, 786 },
788 .probe = mpc52xx_gpt_probe, 787 .probe = mpc52xx_gpt_probe,
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
index f8f0081759fb..251dcb90ef34 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
@@ -572,7 +572,6 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = {
572static struct platform_driver mpc52xx_lpbfifo_driver = { 572static struct platform_driver mpc52xx_lpbfifo_driver = {
573 .driver = { 573 .driver = {
574 .name = "mpc52xx-lpbfifo", 574 .name = "mpc52xx-lpbfifo",
575 .owner = THIS_MODULE,
576 .of_match_table = mpc52xx_lpbfifo_match, 575 .of_match_table = mpc52xx_lpbfifo_match,
577 }, 576 },
578 .probe = mpc52xx_lpbfifo_probe, 577 .probe = mpc52xx_lpbfifo_probe,
diff --git a/arch/powerpc/platforms/82xx/ep8248e.c b/arch/powerpc/platforms/82xx/ep8248e.c
index 3d0c3a01143d..a0cb8bd41958 100644
--- a/arch/powerpc/platforms/82xx/ep8248e.c
+++ b/arch/powerpc/platforms/82xx/ep8248e.c
@@ -169,7 +169,6 @@ static const struct of_device_id ep8248e_mdio_match[] = {
169static struct platform_driver ep8248e_mdio_driver = { 169static struct platform_driver ep8248e_mdio_driver = {
170 .driver = { 170 .driver = {
171 .name = "ep8248e-mdio-bitbang", 171 .name = "ep8248e-mdio-bitbang",
172 .owner = THIS_MODULE,
173 .of_match_table = ep8248e_mdio_match, 172 .of_match_table = ep8248e_mdio_match,
174 }, 173 },
175 .probe = ep8248e_mdio_probe, 174 .probe = ep8248e_mdio_probe,
diff --git a/arch/powerpc/platforms/83xx/suspend.c b/arch/powerpc/platforms/83xx/suspend.c
index eeb80e25214d..c9adbfb65006 100644
--- a/arch/powerpc/platforms/83xx/suspend.c
+++ b/arch/powerpc/platforms/83xx/suspend.c
@@ -435,7 +435,6 @@ static const struct of_device_id pmc_match[] = {
435static struct platform_driver pmc_driver = { 435static struct platform_driver pmc_driver = {
436 .driver = { 436 .driver = {
437 .name = "mpc83xx-pmc", 437 .name = "mpc83xx-pmc",
438 .owner = THIS_MODULE,
439 .of_match_table = pmc_match, 438 .of_match_table = pmc_match,
440 }, 439 },
441 .probe = pmc_probe, 440 .probe = pmc_probe,
diff --git a/arch/powerpc/platforms/85xx/sgy_cts1000.c b/arch/powerpc/platforms/85xx/sgy_cts1000.c
index e149c9ec26ae..79fd0dfd4b82 100644
--- a/arch/powerpc/platforms/85xx/sgy_cts1000.c
+++ b/arch/powerpc/platforms/85xx/sgy_cts1000.c
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, gpio_halt_match);
161static struct platform_driver gpio_halt_driver = { 161static struct platform_driver gpio_halt_driver = {
162 .driver = { 162 .driver = {
163 .name = "gpio-halt", 163 .name = "gpio-halt",
164 .owner = THIS_MODULE,
165 .of_match_table = gpio_halt_match, 164 .of_match_table = gpio_halt_match,
166 }, 165 },
167 .probe = gpio_halt_probe, 166 .probe = gpio_halt_probe,
diff --git a/arch/powerpc/platforms/cell/axon_msi.c b/arch/powerpc/platforms/cell/axon_msi.c
index 0883994df384..623bd961465a 100644
--- a/arch/powerpc/platforms/cell/axon_msi.c
+++ b/arch/powerpc/platforms/cell/axon_msi.c
@@ -437,7 +437,6 @@ static struct platform_driver axon_msi_driver = {
437 .shutdown = axon_msi_shutdown, 437 .shutdown = axon_msi_shutdown,
438 .driver = { 438 .driver = {
439 .name = "axon-msi", 439 .name = "axon-msi",
440 .owner = THIS_MODULE,
441 .of_match_table = axon_msi_device_id, 440 .of_match_table = axon_msi_device_id,
442 }, 441 },
443}; 442};
diff --git a/arch/powerpc/platforms/pasemi/gpio_mdio.c b/arch/powerpc/platforms/pasemi/gpio_mdio.c
index ada33358950d..ae3f47b25b18 100644
--- a/arch/powerpc/platforms/pasemi/gpio_mdio.c
+++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c
@@ -305,7 +305,6 @@ static struct platform_driver gpio_mdio_driver =
305 .remove = gpio_mdio_remove, 305 .remove = gpio_mdio_remove,
306 .driver = { 306 .driver = {
307 .name = "gpio-mdio-bitbang", 307 .name = "gpio-mdio-bitbang",
308 .owner = THIS_MODULE,
309 .of_match_table = gpio_mdio_match, 308 .of_match_table = gpio_mdio_match,
310 }, 309 },
311}; 310};
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c
index ad56edc39919..f532c92bf99d 100644
--- a/arch/powerpc/sysdev/axonram.c
+++ b/arch/powerpc/sysdev/axonram.c
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = {
326 .remove = axon_ram_remove, 326 .remove = axon_ram_remove,
327 .driver = { 327 .driver = {
328 .name = AXON_RAM_MODULE_NAME, 328 .name = AXON_RAM_MODULE_NAME,
329 .owner = THIS_MODULE,
330 .of_match_table = axon_ram_device_id, 329 .of_match_table = axon_ram_device_id,
331 }, 330 },
332}; 331};
diff --git a/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c b/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
index 90545ad1626e..861cebf9c292 100644
--- a/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
+++ b/arch/powerpc/sysdev/fsl_85xx_l2ctlr.c
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = {
210static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = { 210static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
211 .driver = { 211 .driver = {
212 .name = "fsl-l2ctlr", 212 .name = "fsl-l2ctlr",
213 .owner = THIS_MODULE,
214 .of_match_table = mpc85xx_l2ctlr_of_match, 213 .of_match_table = mpc85xx_l2ctlr_of_match,
215 }, 214 },
216 .probe = mpc85xx_l2ctlr_of_probe, 215 .probe = mpc85xx_l2ctlr_of_probe,
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
index d09f4fa2c3d1..4bbb4b8dfd09 100644
--- a/arch/powerpc/sysdev/fsl_msi.c
+++ b/arch/powerpc/sysdev/fsl_msi.c
@@ -577,7 +577,6 @@ static const struct of_device_id fsl_of_msi_ids[] = {
577static struct platform_driver fsl_of_msi_driver = { 577static struct platform_driver fsl_of_msi_driver = {
578 .driver = { 578 .driver = {
579 .name = "fsl-msi", 579 .name = "fsl-msi",
580 .owner = THIS_MODULE,
581 .of_match_table = fsl_of_msi_ids, 580 .of_match_table = fsl_of_msi_ids,
582 }, 581 },
583 .probe = fsl_of_msi_probe, 582 .probe = fsl_of_msi_probe,
diff --git a/arch/powerpc/sysdev/fsl_pmc.c b/arch/powerpc/sysdev/fsl_pmc.c
index 8cf4aa0e3a25..1d6fd7c59fe9 100644
--- a/arch/powerpc/sysdev/fsl_pmc.c
+++ b/arch/powerpc/sysdev/fsl_pmc.c
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = {
80static struct platform_driver pmc_driver = { 80static struct platform_driver pmc_driver = {
81 .driver = { 81 .driver = {
82 .name = "fsl-pmc", 82 .name = "fsl-pmc",
83 .owner = THIS_MODULE,
84 .of_match_table = pmc_ids, 83 .of_match_table = pmc_ids,
85 }, 84 },
86 .probe = pmc_probe, 85 .probe = pmc_probe,
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index 08d60f183dad..c1cd3698f534 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -777,7 +777,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = {
777static struct platform_driver fsl_of_rio_rpn_driver = { 777static struct platform_driver fsl_of_rio_rpn_driver = {
778 .driver = { 778 .driver = {
779 .name = "fsl-of-rio", 779 .name = "fsl-of-rio",
780 .owner = THIS_MODULE,
781 .of_match_table = fsl_of_rio_rpn_ids, 780 .of_match_table = fsl_of_rio_rpn_ids,
782 }, 781 },
783 .probe = fsl_of_rio_rpn_probe, 782 .probe = fsl_of_rio_rpn_probe,
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c
index 7bdf3cc741e4..3f165d972a0e 100644
--- a/arch/powerpc/sysdev/mpic_msgr.c
+++ b/arch/powerpc/sysdev/mpic_msgr.c
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = {
270static struct platform_driver mpic_msgr_driver = { 270static struct platform_driver mpic_msgr_driver = {
271 .driver = { 271 .driver = {
272 .name = "mpic-msgr", 272 .name = "mpic-msgr",
273 .owner = THIS_MODULE,
274 .of_match_table = mpic_msgr_ids, 273 .of_match_table = mpic_msgr_ids,
275 }, 274 },
276 .probe = mpic_msgr_probe, 275 .probe = mpic_msgr_probe,
diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c
index 13e67d93a7c1..8a0b77a3ec0c 100644
--- a/arch/powerpc/sysdev/pmi.c
+++ b/arch/powerpc/sysdev/pmi.c
@@ -210,7 +210,6 @@ static struct platform_driver pmi_of_platform_driver = {
210 .remove = pmi_of_remove, 210 .remove = pmi_of_remove,
211 .driver = { 211 .driver = {
212 .name = "pmi", 212 .name = "pmi",
213 .owner = THIS_MODULE,
214 .of_match_table = pmi_match, 213 .of_match_table = pmi_match,
215 }, 214 },
216}; 215};
diff --git a/arch/powerpc/sysdev/ppc4xx_hsta_msi.c b/arch/powerpc/sysdev/ppc4xx_hsta_msi.c
index 908105f835d1..ed9970ff8d94 100644
--- a/arch/powerpc/sysdev/ppc4xx_hsta_msi.c
+++ b/arch/powerpc/sysdev/ppc4xx_hsta_msi.c
@@ -197,7 +197,6 @@ static struct platform_driver hsta_msi_driver = {
197 .probe = hsta_msi_probe, 197 .probe = hsta_msi_probe,
198 .driver = { 198 .driver = {
199 .name = "hsta-msi", 199 .name = "hsta-msi",
200 .owner = THIS_MODULE,
201 .of_match_table = hsta_msi_ids, 200 .of_match_table = hsta_msi_ids,
202 }, 201 },
203}; 202};
diff --git a/arch/powerpc/sysdev/ppc4xx_msi.c b/arch/powerpc/sysdev/ppc4xx_msi.c
index 5e622c0544c4..6e2e6aa378bb 100644
--- a/arch/powerpc/sysdev/ppc4xx_msi.c
+++ b/arch/powerpc/sysdev/ppc4xx_msi.c
@@ -269,7 +269,6 @@ static struct platform_driver ppc4xx_msi_driver = {
269 .remove = ppc4xx_of_msi_remove, 269 .remove = ppc4xx_of_msi_remove,
270 .driver = { 270 .driver = {
271 .name = "ppc4xx-msi", 271 .name = "ppc4xx-msi",
272 .owner = THIS_MODULE,
273 .of_match_table = ppc4xx_msi_ids, 272 .of_match_table = ppc4xx_msi_ids,
274 }, 273 },
275 274
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c
index b584debbcd9c..1f29cee8da7b 100644
--- a/arch/powerpc/sysdev/qe_lib/qe.c
+++ b/arch/powerpc/sysdev/qe_lib/qe.c
@@ -692,7 +692,6 @@ static const struct of_device_id qe_ids[] = {
692static struct platform_driver qe_driver = { 692static struct platform_driver qe_driver = {
693 .driver = { 693 .driver = {
694 .name = "fsl-qe", 694 .name = "fsl-qe",
695 .owner = THIS_MODULE,
696 .of_match_table = qe_ids, 695 .of_match_table = qe_ids,
697 }, 696 },
698 .probe = qe_probe, 697 .probe = qe_probe,
diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c
index 47c8630c93cd..15c94246b600 100644
--- a/arch/s390/appldata/appldata_base.c
+++ b/arch/s390/appldata/appldata_base.c
@@ -511,7 +511,6 @@ static const struct dev_pm_ops appldata_pm_ops = {
511static struct platform_driver appldata_pdrv = { 511static struct platform_driver appldata_pdrv = {
512 .driver = { 512 .driver = {
513 .name = "appldata", 513 .name = "appldata",
514 .owner = THIS_MODULE,
515 .pm = &appldata_pm_ops, 514 .pm = &appldata_pm_ops,
516 }, 515 },
517}; 516};
diff --git a/arch/sparc/include/asm/parport.h b/arch/sparc/include/asm/parport.h
index c55291e5b83e..f005ccac91cc 100644
--- a/arch/sparc/include/asm/parport.h
+++ b/arch/sparc/include/asm/parport.h
@@ -238,7 +238,6 @@ static const struct of_device_id ecpp_match[] = {
238static struct platform_driver ecpp_driver = { 238static struct platform_driver ecpp_driver = {
239 .driver = { 239 .driver = {
240 .name = "ecpp", 240 .name = "ecpp",
241 .owner = THIS_MODULE,
242 .of_match_table = ecpp_match, 241 .of_match_table = ecpp_match,
243 }, 242 },
244 .probe = ecpp_probe, 243 .probe = ecpp_probe,
diff --git a/arch/sparc/kernel/apc.c b/arch/sparc/kernel/apc.c
index eefda32b595e..742f6c4436bf 100644
--- a/arch/sparc/kernel/apc.c
+++ b/arch/sparc/kernel/apc.c
@@ -178,7 +178,6 @@ MODULE_DEVICE_TABLE(of, apc_match);
178static struct platform_driver apc_driver = { 178static struct platform_driver apc_driver = {
179 .driver = { 179 .driver = {
180 .name = "apc", 180 .name = "apc",
181 .owner = THIS_MODULE,
182 .of_match_table = apc_match, 181 .of_match_table = apc_match,
183 }, 182 },
184 .probe = apc_probe, 183 .probe = apc_probe,
diff --git a/arch/sparc/kernel/auxio_64.c b/arch/sparc/kernel/auxio_64.c
index 86e55778e4af..086435c17981 100644
--- a/arch/sparc/kernel/auxio_64.c
+++ b/arch/sparc/kernel/auxio_64.c
@@ -135,7 +135,6 @@ static struct platform_driver auxio_driver = {
135 .probe = auxio_probe, 135 .probe = auxio_probe,
136 .driver = { 136 .driver = {
137 .name = "auxio", 137 .name = "auxio",
138 .owner = THIS_MODULE,
139 .of_match_table = auxio_match, 138 .of_match_table = auxio_match,
140 }, 139 },
141}; 140};
diff --git a/arch/sparc/kernel/central.c b/arch/sparc/kernel/central.c
index 052b5a44318f..4696958299e9 100644
--- a/arch/sparc/kernel/central.c
+++ b/arch/sparc/kernel/central.c
@@ -152,7 +152,6 @@ static struct platform_driver clock_board_driver = {
152 .probe = clock_board_probe, 152 .probe = clock_board_probe,
153 .driver = { 153 .driver = {
154 .name = "clock_board", 154 .name = "clock_board",
155 .owner = THIS_MODULE,
156 .of_match_table = clock_board_match, 155 .of_match_table = clock_board_match,
157 }, 156 },
158}; 157};
@@ -257,7 +256,6 @@ static struct platform_driver fhc_driver = {
257 .probe = fhc_probe, 256 .probe = fhc_probe,
258 .driver = { 257 .driver = {
259 .name = "fhc", 258 .name = "fhc",
260 .owner = THIS_MODULE,
261 .of_match_table = fhc_match, 259 .of_match_table = fhc_match,
262 }, 260 },
263}; 261};
diff --git a/arch/sparc/kernel/chmc.c b/arch/sparc/kernel/chmc.c
index dbb210d74e21..0de4bcb8261f 100644
--- a/arch/sparc/kernel/chmc.c
+++ b/arch/sparc/kernel/chmc.c
@@ -810,7 +810,6 @@ MODULE_DEVICE_TABLE(of, us3mc_match);
810static struct platform_driver us3mc_driver = { 810static struct platform_driver us3mc_driver = {
811 .driver = { 811 .driver = {
812 .name = "us3mc", 812 .name = "us3mc",
813 .owner = THIS_MODULE,
814 .of_match_table = us3mc_match, 813 .of_match_table = us3mc_match,
815 }, 814 },
816 .probe = us3mc_probe, 815 .probe = us3mc_probe,
diff --git a/arch/sparc/kernel/leon_pci_grpci1.c b/arch/sparc/kernel/leon_pci_grpci1.c
index c8bf26edfa7c..3382f7b3eeef 100644
--- a/arch/sparc/kernel/leon_pci_grpci1.c
+++ b/arch/sparc/kernel/leon_pci_grpci1.c
@@ -708,7 +708,6 @@ static struct of_device_id grpci1_of_match[] = {
708static struct platform_driver grpci1_of_driver = { 708static struct platform_driver grpci1_of_driver = {
709 .driver = { 709 .driver = {
710 .name = "grpci1", 710 .name = "grpci1",
711 .owner = THIS_MODULE,
712 .of_match_table = grpci1_of_match, 711 .of_match_table = grpci1_of_match,
713 }, 712 },
714 .probe = grpci1_of_probe, 713 .probe = grpci1_of_probe,
diff --git a/arch/sparc/kernel/leon_pci_grpci2.c b/arch/sparc/kernel/leon_pci_grpci2.c
index e433a4d69fe0..94e392bdee7d 100644
--- a/arch/sparc/kernel/leon_pci_grpci2.c
+++ b/arch/sparc/kernel/leon_pci_grpci2.c
@@ -900,7 +900,6 @@ static struct of_device_id grpci2_of_match[] = {
900static struct platform_driver grpci2_of_driver = { 900static struct platform_driver grpci2_of_driver = {
901 .driver = { 901 .driver = {
902 .name = "grpci2", 902 .name = "grpci2",
903 .owner = THIS_MODULE,
904 .of_match_table = grpci2_of_match, 903 .of_match_table = grpci2_of_match,
905 }, 904 },
906 .probe = grpci2_of_probe, 905 .probe = grpci2_of_probe,
diff --git a/arch/sparc/kernel/pci_fire.c b/arch/sparc/kernel/pci_fire.c
index e60fc6a67e9b..11a1f0d289d2 100644
--- a/arch/sparc/kernel/pci_fire.c
+++ b/arch/sparc/kernel/pci_fire.c
@@ -508,7 +508,6 @@ static const struct of_device_id fire_match[] = {
508static struct platform_driver fire_driver = { 508static struct platform_driver fire_driver = {
509 .driver = { 509 .driver = {
510 .name = DRIVER_NAME, 510 .name = DRIVER_NAME,
511 .owner = THIS_MODULE,
512 .of_match_table = fire_match, 511 .of_match_table = fire_match,
513 }, 512 },
514 .probe = fire_probe, 513 .probe = fire_probe,
diff --git a/arch/sparc/kernel/pci_psycho.c b/arch/sparc/kernel/pci_psycho.c
index c647634ead2b..7dce27b3c761 100644
--- a/arch/sparc/kernel/pci_psycho.c
+++ b/arch/sparc/kernel/pci_psycho.c
@@ -604,7 +604,6 @@ static const struct of_device_id psycho_match[] = {
604static struct platform_driver psycho_driver = { 604static struct platform_driver psycho_driver = {
605 .driver = { 605 .driver = {
606 .name = DRIVER_NAME, 606 .name = DRIVER_NAME,
607 .owner = THIS_MODULE,
608 .of_match_table = psycho_match, 607 .of_match_table = psycho_match,
609 }, 608 },
610 .probe = psycho_probe, 609 .probe = psycho_probe,
diff --git a/arch/sparc/kernel/pci_sabre.c b/arch/sparc/kernel/pci_sabre.c
index 6f00d27e8dac..00a616ffa35b 100644
--- a/arch/sparc/kernel/pci_sabre.c
+++ b/arch/sparc/kernel/pci_sabre.c
@@ -600,7 +600,6 @@ static const struct of_device_id sabre_match[] = {
600static struct platform_driver sabre_driver = { 600static struct platform_driver sabre_driver = {
601 .driver = { 601 .driver = {
602 .name = DRIVER_NAME, 602 .name = DRIVER_NAME,
603 .owner = THIS_MODULE,
604 .of_match_table = sabre_match, 603 .of_match_table = sabre_match,
605 }, 604 },
606 .probe = sabre_probe, 605 .probe = sabre_probe,
diff --git a/arch/sparc/kernel/pci_schizo.c b/arch/sparc/kernel/pci_schizo.c
index f9c6813c132d..c664d3e3aa8d 100644
--- a/arch/sparc/kernel/pci_schizo.c
+++ b/arch/sparc/kernel/pci_schizo.c
@@ -1495,7 +1495,6 @@ static const struct of_device_id schizo_match[] = {
1495static struct platform_driver schizo_driver = { 1495static struct platform_driver schizo_driver = {
1496 .driver = { 1496 .driver = {
1497 .name = DRIVER_NAME, 1497 .name = DRIVER_NAME,
1498 .owner = THIS_MODULE,
1499 .of_match_table = schizo_match, 1498 .of_match_table = schizo_match,
1500 }, 1499 },
1501 .probe = schizo_probe, 1500 .probe = schizo_probe,
diff --git a/arch/sparc/kernel/pci_sun4v.c b/arch/sparc/kernel/pci_sun4v.c
index 49d33b178793..47ddbd496a1e 100644
--- a/arch/sparc/kernel/pci_sun4v.c
+++ b/arch/sparc/kernel/pci_sun4v.c
@@ -1010,7 +1010,6 @@ static const struct of_device_id pci_sun4v_match[] = {
1010static struct platform_driver pci_sun4v_driver = { 1010static struct platform_driver pci_sun4v_driver = {
1011 .driver = { 1011 .driver = {
1012 .name = DRIVER_NAME, 1012 .name = DRIVER_NAME,
1013 .owner = THIS_MODULE,
1014 .of_match_table = pci_sun4v_match, 1013 .of_match_table = pci_sun4v_match,
1015 }, 1014 },
1016 .probe = pci_sun4v_probe, 1015 .probe = pci_sun4v_probe,
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c
index 8b7297faca79..97d123107ecb 100644
--- a/arch/sparc/kernel/pmc.c
+++ b/arch/sparc/kernel/pmc.c
@@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(of, pmc_match);
82static struct platform_driver pmc_driver = { 82static struct platform_driver pmc_driver = {
83 .driver = { 83 .driver = {
84 .name = "pmc", 84 .name = "pmc",
85 .owner = THIS_MODULE,
86 .of_match_table = pmc_match, 85 .of_match_table = pmc_match,
87 }, 86 },
88 .probe = pmc_probe, 87 .probe = pmc_probe,
diff --git a/arch/sparc/kernel/power.c b/arch/sparc/kernel/power.c
index 4cb23c41553f..1836cb965ff8 100644
--- a/arch/sparc/kernel/power.c
+++ b/arch/sparc/kernel/power.c
@@ -63,7 +63,6 @@ static struct platform_driver power_driver = {
63 .probe = power_probe, 63 .probe = power_probe,
64 .driver = { 64 .driver = {
65 .name = "power", 65 .name = "power",
66 .owner = THIS_MODULE,
67 .of_match_table = power_match, 66 .of_match_table = power_match,
68 }, 67 },
69}; 68};
diff --git a/arch/sparc/kernel/time_32.c b/arch/sparc/kernel/time_32.c
index 5923d1e4e7c9..2f80d23a0a44 100644
--- a/arch/sparc/kernel/time_32.c
+++ b/arch/sparc/kernel/time_32.c
@@ -322,7 +322,6 @@ static struct platform_driver clock_driver = {
322 .probe = clock_probe, 322 .probe = clock_probe,
323 .driver = { 323 .driver = {
324 .name = "rtc", 324 .name = "rtc",
325 .owner = THIS_MODULE,
326 .of_match_table = clock_match, 325 .of_match_table = clock_match,
327 }, 326 },
328}; 327};
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c
index 59da0c3ea788..edbbeb157d46 100644
--- a/arch/sparc/kernel/time_64.c
+++ b/arch/sparc/kernel/time_64.c
@@ -466,7 +466,6 @@ static struct platform_driver rtc_driver = {
466 .probe = rtc_probe, 466 .probe = rtc_probe,
467 .driver = { 467 .driver = {
468 .name = "rtc", 468 .name = "rtc",
469 .owner = THIS_MODULE,
470 .of_match_table = rtc_match, 469 .of_match_table = rtc_match,
471 }, 470 },
472}; 471};
@@ -499,7 +498,6 @@ static struct platform_driver bq4802_driver = {
499 .probe = bq4802_probe, 498 .probe = bq4802_probe,
500 .driver = { 499 .driver = {
501 .name = "bq4802", 500 .name = "bq4802",
502 .owner = THIS_MODULE,
503 .of_match_table = bq4802_match, 501 .of_match_table = bq4802_match,
504 }, 502 },
505}; 503};
@@ -563,7 +561,6 @@ static struct platform_driver mostek_driver = {
563 .probe = mostek_probe, 561 .probe = mostek_probe,
564 .driver = { 562 .driver = {
565 .name = "mostek", 563 .name = "mostek",
566 .owner = THIS_MODULE,
567 .of_match_table = mostek_match, 564 .of_match_table = mostek_match,
568 }, 565 },
569}; 566};
diff --git a/arch/x86/kernel/cpu/perf_event_amd_iommu.c b/arch/x86/kernel/cpu/perf_event_amd_iommu.c
index 639d1289b1ba..97242a9242bd 100644
--- a/arch/x86/kernel/cpu/perf_event_amd_iommu.c
+++ b/arch/x86/kernel/cpu/perf_event_amd_iommu.c
@@ -130,10 +130,7 @@ static ssize_t _iommu_cpumask_show(struct device *dev,
130 struct device_attribute *attr, 130 struct device_attribute *attr,
131 char *buf) 131 char *buf)
132{ 132{
133 int n = cpulist_scnprintf(buf, PAGE_SIZE - 2, &iommu_cpumask); 133 return cpumap_print_to_pagebuf(true, buf, &iommu_cpumask);
134 buf[n++] = '\n';
135 buf[n] = '\0';
136 return n;
137} 134}
138static DEVICE_ATTR(cpumask, S_IRUGO, _iommu_cpumask_show, NULL); 135static DEVICE_ATTR(cpumask, S_IRUGO, _iommu_cpumask_show, NULL);
139 136
diff --git a/arch/x86/kernel/cpu/perf_event_amd_uncore.c b/arch/x86/kernel/cpu/perf_event_amd_uncore.c
index 30790d798e6b..cc6cedb8f25d 100644
--- a/arch/x86/kernel/cpu/perf_event_amd_uncore.c
+++ b/arch/x86/kernel/cpu/perf_event_amd_uncore.c
@@ -219,7 +219,6 @@ static ssize_t amd_uncore_attr_show_cpumask(struct device *dev,
219 struct device_attribute *attr, 219 struct device_attribute *attr,
220 char *buf) 220 char *buf)
221{ 221{
222 int n;
223 cpumask_t *active_mask; 222 cpumask_t *active_mask;
224 struct pmu *pmu = dev_get_drvdata(dev); 223 struct pmu *pmu = dev_get_drvdata(dev);
225 224
@@ -230,10 +229,7 @@ static ssize_t amd_uncore_attr_show_cpumask(struct device *dev,
230 else 229 else
231 return 0; 230 return 0;
232 231
233 n = cpulist_scnprintf(buf, PAGE_SIZE - 2, active_mask); 232 return cpumap_print_to_pagebuf(true, buf, active_mask);
234 buf[n++] = '\n';
235 buf[n] = '\0';
236 return n;
237} 233}
238static DEVICE_ATTR(cpumask, S_IRUGO, amd_uncore_attr_show_cpumask, NULL); 234static DEVICE_ATTR(cpumask, S_IRUGO, amd_uncore_attr_show_cpumask, NULL);
239 235
diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
index d64f275fe274..673f930c700f 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
@@ -365,11 +365,7 @@ static void rapl_pmu_event_read(struct perf_event *event)
365static ssize_t rapl_get_attr_cpumask(struct device *dev, 365static ssize_t rapl_get_attr_cpumask(struct device *dev,
366 struct device_attribute *attr, char *buf) 366 struct device_attribute *attr, char *buf)
367{ 367{
368 int n = cpulist_scnprintf(buf, PAGE_SIZE - 2, &rapl_cpu_mask); 368 return cpumap_print_to_pagebuf(true, buf, &rapl_cpu_mask);
369
370 buf[n++] = '\n';
371 buf[n] = '\0';
372 return n;
373} 369}
374 370
375static DEVICE_ATTR(cpumask, S_IRUGO, rapl_get_attr_cpumask, NULL); 371static DEVICE_ATTR(cpumask, S_IRUGO, rapl_get_attr_cpumask, NULL);
diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
index 9762dbd9f3f7..08f3fed2b0f2 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
@@ -647,11 +647,7 @@ static int uncore_pmu_event_init(struct perf_event *event)
647static ssize_t uncore_get_attr_cpumask(struct device *dev, 647static ssize_t uncore_get_attr_cpumask(struct device *dev,
648 struct device_attribute *attr, char *buf) 648 struct device_attribute *attr, char *buf)
649{ 649{
650 int n = cpulist_scnprintf(buf, PAGE_SIZE - 2, &uncore_cpu_mask); 650 return cpumap_print_to_pagebuf(true, buf, &uncore_cpu_mask);
651
652 buf[n++] = '\n';
653 buf[n] = '\0';
654 return n;
655} 651}
656 652
657static DEVICE_ATTR(cpumask, S_IRUGO, uncore_get_attr_cpumask, NULL); 653static DEVICE_ATTR(cpumask, S_IRUGO, uncore_get_attr_cpumask, NULL);
diff --git a/arch/x86/platform/iris/iris.c b/arch/x86/platform/iris/iris.c
index 4d171e8640ef..735ba21efe91 100644
--- a/arch/x86/platform/iris/iris.c
+++ b/arch/x86/platform/iris/iris.c
@@ -86,7 +86,6 @@ static int iris_remove(struct platform_device *pdev)
86static struct platform_driver iris_driver = { 86static struct platform_driver iris_driver = {
87 .driver = { 87 .driver = {
88 .name = "iris", 88 .name = "iris",
89 .owner = THIS_MODULE,
90 }, 89 },
91 .probe = iris_probe, 90 .probe = iris_probe,
92 .remove = iris_remove, 91 .remove = iris_remove,
diff --git a/arch/x86/platform/olpc/olpc-xo1-pm.c b/arch/x86/platform/olpc/olpc-xo1-pm.c
index a9acde72d4ed..c5350fd27d70 100644
--- a/arch/x86/platform/olpc/olpc-xo1-pm.c
+++ b/arch/x86/platform/olpc/olpc-xo1-pm.c
@@ -170,7 +170,6 @@ static int xo1_pm_remove(struct platform_device *pdev)
170static struct platform_driver cs5535_pms_driver = { 170static struct platform_driver cs5535_pms_driver = {
171 .driver = { 171 .driver = {
172 .name = "cs5535-pms", 172 .name = "cs5535-pms",
173 .owner = THIS_MODULE,
174 }, 173 },
175 .probe = xo1_pm_probe, 174 .probe = xo1_pm_probe,
176 .remove = xo1_pm_remove, 175 .remove = xo1_pm_remove,
@@ -179,7 +178,6 @@ static struct platform_driver cs5535_pms_driver = {
179static struct platform_driver cs5535_acpi_driver = { 178static struct platform_driver cs5535_acpi_driver = {
180 .driver = { 179 .driver = {
181 .name = "olpc-xo1-pm-acpi", 180 .name = "olpc-xo1-pm-acpi",
182 .owner = THIS_MODULE,
183 }, 181 },
184 .probe = xo1_pm_probe, 182 .probe = xo1_pm_probe,
185 .remove = xo1_pm_remove, 183 .remove = xo1_pm_remove,