diff options
1683 files changed, 0 insertions, 1713 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index e57d7e5bf96a..cd5914cfa175 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c | |||
@@ -1057,7 +1057,6 @@ static struct platform_driver sa1111_device_driver = { | |||
1057 | .resume = sa1111_resume, | 1057 | .resume = sa1111_resume, |
1058 | .driver = { | 1058 | .driver = { |
1059 | .name = "sa1111", | 1059 | .name = "sa1111", |
1060 | .owner = THIS_MODULE, | ||
1061 | }, | 1060 | }, |
1062 | }; | 1061 | }; |
1063 | 1062 | ||
diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c index f1ac1c94ac0f..6b8dbd2089de 100644 --- a/arch/arm/mach-davinci/cpuidle.c +++ b/arch/arm/mach-davinci/cpuidle.c | |||
@@ -92,7 +92,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev) | |||
92 | static struct platform_driver davinci_cpuidle_driver = { | 92 | static struct platform_driver davinci_cpuidle_driver = { |
93 | .driver = { | 93 | .driver = { |
94 | .name = "cpuidle-davinci", | 94 | .name = "cpuidle-davinci", |
95 | .owner = THIS_MODULE, | ||
96 | }, | 95 | }, |
97 | }; | 96 | }; |
98 | 97 | ||
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) | |||
148 | static struct platform_driver davinci_pm_driver = { | 148 | static 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 7a9686ad994c..a3dedc309bbc 100644 --- a/arch/arm/mach-imx/mmdc.c +++ b/arch/arm/mach-imx/mmdc.c | |||
@@ -59,7 +59,6 @@ static struct of_device_id imx_mmdc_dt_ids[] = { | |||
59 | static struct platform_driver imx_mmdc_driver = { | 59 | static struct platform_driver imx_mmdc_driver = { |
60 | .driver = { | 60 | .driver = { |
61 | .name = "imx-mmdc", | 61 | .name = "imx-mmdc", |
62 | .owner = THIS_MODULE, | ||
63 | .of_match_table = imx_mmdc_dt_ids, | 62 | .of_match_table = imx_mmdc_dt_ids, |
64 | }, | 63 | }, |
65 | .probe = imx_mmdc_probe, | 64 | .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 | }; |
175 | module_platform_driver(msm_clock_pcom_driver); | 174 | module_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-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 5fa3755261ce..c02e581f7cfc 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -1760,7 +1760,6 @@ static struct platform_driver gpmc_driver = { | |||
1760 | .remove = gpmc_remove, | 1760 | .remove = gpmc_remove, |
1761 | .driver = { | 1761 | .driver = { |
1762 | .name = DEVICE_NAME, | 1762 | .name = DEVICE_NAME, |
1763 | .owner = THIS_MODULE, | ||
1764 | .of_match_table = of_match_ptr(gpmc_dt_ids), | 1763 | .of_match_table = of_match_ptr(gpmc_dt_ids), |
1765 | .pm = &gpmc_pm_ops, | 1764 | .pm = &gpmc_pm_ops, |
1766 | }, | 1765 | }, |
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 e329ccefd364..4ced61afc7f5 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) | |||
379 | static struct platform_driver pxa3xx_u2d_ulpi_driver = { | 379 | static 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[] = { | |||
116 | static struct platform_driver s365_board_driver = { | 116 | static 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 d4d9d31f152e..e4ed004015c4 100644 --- a/arch/mips/lantiq/xway/xrx200_phy_fw.c +++ b/arch/mips/lantiq/xway/xrx200_phy_fw.c | |||
@@ -85,7 +85,6 @@ static struct platform_driver xway_phy_driver = { | |||
85 | .probe = xway_phy_fw_probe, | 85 | .probe = xway_phy_fw_probe, |
86 | .driver = { | 86 | .driver = { |
87 | .name = "phy-xrx200", | 87 | .name = "phy-xrx200", |
88 | .owner = THIS_MODULE, | ||
89 | .of_match_table = xway_phy_match, | 88 | .of_match_table = xway_phy_match, |
90 | }, | 89 | }, |
91 | }; | 90 | }; |
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) | |||
380 | static struct platform_driver sead3_i2c_platform_driver = { | 380 | static 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 d471a26dd5f8..2882f6a0f919 100644 --- a/arch/mips/pci/pci-ar71xx.c +++ b/arch/mips/pci/pci-ar71xx.c | |||
@@ -416,7 +416,6 @@ static struct platform_driver ar71xx_pci_driver = { | |||
416 | .probe = ar71xx_pci_probe, | 416 | .probe = ar71xx_pci_probe, |
417 | .driver = { | 417 | .driver = { |
418 | .name = "ar71xx-pci", | 418 | .name = "ar71xx-pci", |
419 | .owner = THIS_MODULE, | ||
420 | }, | 419 | }, |
421 | }; | 420 | }; |
422 | 421 | ||
diff --git a/arch/mips/pci/pci-ar724x.c b/arch/mips/pci/pci-ar724x.c index 785b2659b519..204c8525c4bb 100644 --- a/arch/mips/pci/pci-ar724x.c +++ b/arch/mips/pci/pci-ar724x.c | |||
@@ -423,7 +423,6 @@ static struct platform_driver ar724x_pci_driver = { | |||
423 | .probe = ar724x_pci_probe, | 423 | .probe = ar724x_pci_probe, |
424 | .driver = { | 424 | .driver = { |
425 | .name = "ar724x-pci", | 425 | .name = "ar724x-pci", |
426 | .owner = THIS_MODULE, | ||
427 | }, | 426 | }, |
428 | }; | 427 | }; |
429 | 428 | ||
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 72919aeef42b..b0ba9a9e74d6 100644 --- a/arch/mips/pci/pci-rt3883.c +++ b/arch/mips/pci/pci-rt3883.c | |||
@@ -598,7 +598,6 @@ static struct platform_driver rt3883_pci_driver = { | |||
598 | .probe = rt3883_pci_probe, | 598 | .probe = rt3883_pci_probe, |
599 | .driver = { | 599 | .driver = { |
600 | .name = "rt3883-pci", | 600 | .name = "rt3883-pci", |
601 | .owner = THIS_MODULE, | ||
602 | .of_match_table = of_match_ptr(rt3883_pci_ids), | 601 | .of_match_table = of_match_ptr(rt3883_pci_ids), |
603 | }, | 602 | }, |
604 | }; | 603 | }; |
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) | |||
245 | static struct platform_driver rbtx4939_led_driver = { | 245 | static 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[] = { | |||
782 | static struct platform_driver mpc52xx_gpt_driver = { | 782 | static 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[] = { | |||
572 | static struct platform_driver mpc52xx_lpbfifo_driver = { | 572 | static 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[] = { | |||
169 | static struct platform_driver ep8248e_mdio_driver = { | 169 | static 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[] = { | |||
435 | static struct platform_driver pmc_driver = { | 435 | static 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 8162b0412117..26bacf0ed146 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); | |||
161 | static struct platform_driver gpio_halt_driver = { | 161 | static 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 862b32702d29..89115d33a846 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[] = { | |||
210 | static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = { | 210 | static 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 de40b48b460e..e596444fb024 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c | |||
@@ -578,7 +578,6 @@ static const struct of_device_id fsl_of_msi_ids[] = { | |||
578 | static struct platform_driver fsl_of_msi_driver = { | 578 | static struct platform_driver fsl_of_msi_driver = { |
579 | .driver = { | 579 | .driver = { |
580 | .name = "fsl-msi", | 580 | .name = "fsl-msi", |
581 | .owner = THIS_MODULE, | ||
582 | .of_match_table = fsl_of_msi_ids, | 581 | .of_match_table = fsl_of_msi_ids, |
583 | }, | 582 | }, |
584 | .probe = fsl_of_msi_probe, | 583 | .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[] = { | |||
80 | static struct platform_driver pmc_driver = { | 80 | static 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 c04b718307c8..39d32480f0eb 100644 --- a/arch/powerpc/sysdev/fsl_rio.c +++ b/arch/powerpc/sysdev/fsl_rio.c | |||
@@ -673,7 +673,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = { | |||
673 | static struct platform_driver fsl_of_rio_rpn_driver = { | 673 | static struct platform_driver fsl_of_rio_rpn_driver = { |
674 | .driver = { | 674 | .driver = { |
675 | .name = "fsl-of-rio", | 675 | .name = "fsl-of-rio", |
676 | .owner = THIS_MODULE, | ||
677 | .of_match_table = fsl_of_rio_rpn_ids, | 676 | .of_match_table = fsl_of_rio_rpn_ids, |
678 | }, | 677 | }, |
679 | .probe = fsl_of_rio_rpn_probe, | 678 | .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[] = { | |||
270 | static struct platform_driver mpic_msgr_driver = { | 270 | static 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 a6a4dbda9078..f51fcebb559e 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 22b5200636e7..96eaaa026849 100644 --- a/arch/powerpc/sysdev/ppc4xx_msi.c +++ b/arch/powerpc/sysdev/ppc4xx_msi.c | |||
@@ -270,7 +270,6 @@ static struct platform_driver ppc4xx_msi_driver = { | |||
270 | .remove = ppc4xx_of_msi_remove, | 270 | .remove = ppc4xx_of_msi_remove, |
271 | .driver = { | 271 | .driver = { |
272 | .name = "ppc4xx-msi", | 272 | .name = "ppc4xx-msi", |
273 | .owner = THIS_MODULE, | ||
274 | .of_match_table = ppc4xx_msi_ids, | 273 | .of_match_table = ppc4xx_msi_ids, |
275 | }, | 274 | }, |
276 | 275 | ||
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c index 238a07b97f2c..a06f83ee63a5 100644 --- a/arch/powerpc/sysdev/qe_lib/qe.c +++ b/arch/powerpc/sysdev/qe_lib/qe.c | |||
@@ -693,7 +693,6 @@ static const struct of_device_id qe_ids[] = { | |||
693 | static struct platform_driver qe_driver = { | 693 | static struct platform_driver qe_driver = { |
694 | .driver = { | 694 | .driver = { |
695 | .name = "fsl-qe", | 695 | .name = "fsl-qe", |
696 | .owner = THIS_MODULE, | ||
697 | .of_match_table = qe_ids, | 696 | .of_match_table = qe_ids, |
698 | }, | 697 | }, |
699 | .probe = qe_probe, | 698 | .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 = { | |||
511 | static struct platform_driver appldata_pdrv = { | 511 | static 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[] = { | |||
238 | static struct platform_driver ecpp_driver = { | 238 | static 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); | |||
178 | static struct platform_driver apc_driver = { | 178 | static 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); | |||
810 | static struct platform_driver us3mc_driver = { | 810 | static 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[] = { | |||
708 | static struct platform_driver grpci1_of_driver = { | 708 | static 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[] = { | |||
900 | static struct platform_driver grpci2_of_driver = { | 900 | static 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[] = { | |||
508 | static struct platform_driver fire_driver = { | 508 | static 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[] = { | |||
604 | static struct platform_driver psycho_driver = { | 604 | static 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[] = { | |||
600 | static struct platform_driver sabre_driver = { | 600 | static 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 8f76f23dac38..432b3d63fd14 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[] = { | |||
1495 | static struct platform_driver schizo_driver = { | 1495 | static 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[] = { | |||
1010 | static struct platform_driver pci_sun4v_driver = { | 1010 | static 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); | |||
82 | static struct platform_driver pmc_driver = { | 82 | static 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/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) | |||
86 | static struct platform_driver iris_driver = { | 86 | static 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) | |||
170 | static struct platform_driver cs5535_pms_driver = { | 170 | static 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 = { | |||
179 | static struct platform_driver cs5535_acpi_driver = { | 178 | static 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, |
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index fc5f780bb61d..868ea63c94c7 100644 --- a/drivers/acpi/apei/ghes.c +++ b/drivers/acpi/apei/ghes.c | |||
@@ -1101,7 +1101,6 @@ static int ghes_remove(struct platform_device *ghes_dev) | |||
1101 | static struct platform_driver ghes_platform_driver = { | 1101 | static struct platform_driver ghes_platform_driver = { |
1102 | .driver = { | 1102 | .driver = { |
1103 | .name = "GHES", | 1103 | .name = "GHES", |
1104 | .owner = THIS_MODULE, | ||
1105 | }, | 1104 | }, |
1106 | .probe = ghes_probe, | 1105 | .probe = ghes_probe, |
1107 | .remove = ghes_remove, | 1106 | .remove = ghes_remove, |
diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index d8961ef4d2e7..c6dc3548e5d1 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c | |||
@@ -277,7 +277,6 @@ static struct platform_driver tegra_ahb_driver = { | |||
277 | .probe = tegra_ahb_probe, | 277 | .probe = tegra_ahb_probe, |
278 | .driver = { | 278 | .driver = { |
279 | .name = DRV_NAME, | 279 | .name = DRV_NAME, |
280 | .owner = THIS_MODULE, | ||
281 | .of_match_table = tegra_ahb_of_match, | 280 | .of_match_table = tegra_ahb_of_match, |
282 | .pm = &tegra_ahb_pm, | 281 | .pm = &tegra_ahb_pm, |
283 | }, | 282 | }, |
diff --git a/drivers/ata/ahci_da850.c b/drivers/ata/ahci_da850.c index ad1e71ec10cf..ce8a7a6d6c7f 100644 --- a/drivers/ata/ahci_da850.c +++ b/drivers/ata/ahci_da850.c | |||
@@ -103,7 +103,6 @@ static struct platform_driver ahci_da850_driver = { | |||
103 | .remove = ata_platform_remove_one, | 103 | .remove = ata_platform_remove_one, |
104 | .driver = { | 104 | .driver = { |
105 | .name = "ahci_da850", | 105 | .name = "ahci_da850", |
106 | .owner = THIS_MODULE, | ||
107 | .pm = &ahci_da850_pm_ops, | 106 | .pm = &ahci_da850_pm_ops, |
108 | }, | 107 | }, |
109 | }; | 108 | }; |
diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c index f3970b4ed889..35d51c59a370 100644 --- a/drivers/ata/ahci_imx.c +++ b/drivers/ata/ahci_imx.c | |||
@@ -679,7 +679,6 @@ static struct platform_driver imx_ahci_driver = { | |||
679 | .remove = ata_platform_remove_one, | 679 | .remove = ata_platform_remove_one, |
680 | .driver = { | 680 | .driver = { |
681 | .name = "ahci-imx", | 681 | .name = "ahci-imx", |
682 | .owner = THIS_MODULE, | ||
683 | .of_match_table = imx_ahci_of_match, | 682 | .of_match_table = imx_ahci_of_match, |
684 | .pm = &ahci_imx_pm_ops, | 683 | .pm = &ahci_imx_pm_ops, |
685 | }, | 684 | }, |
diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index 68672d2692ee..64bb08432b69 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c | |||
@@ -115,7 +115,6 @@ static struct platform_driver ahci_mvebu_driver = { | |||
115 | .remove = ata_platform_remove_one, | 115 | .remove = ata_platform_remove_one, |
116 | .driver = { | 116 | .driver = { |
117 | .name = "ahci-mvebu", | 117 | .name = "ahci-mvebu", |
118 | .owner = THIS_MODULE, | ||
119 | .of_match_table = ahci_mvebu_of_match, | 118 | .of_match_table = ahci_mvebu_of_match, |
120 | }, | 119 | }, |
121 | }; | 120 | }; |
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 06f1d59fa678..18d539837045 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c | |||
@@ -76,7 +76,6 @@ static struct platform_driver ahci_driver = { | |||
76 | .remove = ata_platform_remove_one, | 76 | .remove = ata_platform_remove_one, |
77 | .driver = { | 77 | .driver = { |
78 | .name = "ahci", | 78 | .name = "ahci", |
79 | .owner = THIS_MODULE, | ||
80 | .of_match_table = ahci_of_match, | 79 | .of_match_table = ahci_of_match, |
81 | .pm = &ahci_pm_ops, | 80 | .pm = &ahci_pm_ops, |
82 | }, | 81 | }, |
diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c index 835d6eea84fd..2f9e8317cc16 100644 --- a/drivers/ata/ahci_st.c +++ b/drivers/ata/ahci_st.c | |||
@@ -230,7 +230,6 @@ MODULE_DEVICE_TABLE(of, st_ahci_match); | |||
230 | static struct platform_driver st_ahci_driver = { | 230 | static struct platform_driver st_ahci_driver = { |
231 | .driver = { | 231 | .driver = { |
232 | .name = "st_ahci", | 232 | .name = "st_ahci", |
233 | .owner = THIS_MODULE, | ||
234 | .pm = &st_ahci_pm_ops, | 233 | .pm = &st_ahci_pm_ops, |
235 | .of_match_table = of_match_ptr(st_ahci_match), | 234 | .of_match_table = of_match_ptr(st_ahci_match), |
236 | }, | 235 | }, |
diff --git a/drivers/ata/ahci_sunxi.c b/drivers/ata/ahci_sunxi.c index e44d675a30ec..afe5581e9b1f 100644 --- a/drivers/ata/ahci_sunxi.c +++ b/drivers/ata/ahci_sunxi.c | |||
@@ -238,7 +238,6 @@ static struct platform_driver ahci_sunxi_driver = { | |||
238 | .remove = ata_platform_remove_one, | 238 | .remove = ata_platform_remove_one, |
239 | .driver = { | 239 | .driver = { |
240 | .name = "ahci-sunxi", | 240 | .name = "ahci-sunxi", |
241 | .owner = THIS_MODULE, | ||
242 | .of_match_table = ahci_sunxi_of_match, | 241 | .of_match_table = ahci_sunxi_of_match, |
243 | .pm = &ahci_sunxi_pm_ops, | 242 | .pm = &ahci_sunxi_pm_ops, |
244 | }, | 243 | }, |
diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 0f8538f238b6..feeb8f1e2fe8 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c | |||
@@ -544,7 +544,6 @@ static struct platform_driver xgene_ahci_driver = { | |||
544 | .remove = ata_platform_remove_one, | 544 | .remove = ata_platform_remove_one, |
545 | .driver = { | 545 | .driver = { |
546 | .name = "xgene-ahci", | 546 | .name = "xgene-ahci", |
547 | .owner = THIS_MODULE, | ||
548 | .of_match_table = xgene_ahci_of_match, | 547 | .of_match_table = xgene_ahci_of_match, |
549 | }, | 548 | }, |
550 | }; | 549 | }; |
diff --git a/drivers/ata/pata_arasan_cf.c b/drivers/ata/pata_arasan_cf.c index 38216b991474..a9b0c820f2eb 100644 --- a/drivers/ata/pata_arasan_cf.c +++ b/drivers/ata/pata_arasan_cf.c | |||
@@ -961,7 +961,6 @@ static struct platform_driver arasan_cf_driver = { | |||
961 | .remove = arasan_cf_remove, | 961 | .remove = arasan_cf_remove, |
962 | .driver = { | 962 | .driver = { |
963 | .name = DRIVER_NAME, | 963 | .name = DRIVER_NAME, |
964 | .owner = THIS_MODULE, | ||
965 | .pm = &arasan_cf_pm_ops, | 964 | .pm = &arasan_cf_pm_ops, |
966 | .of_match_table = of_match_ptr(arasan_cf_id_table), | 965 | .of_match_table = of_match_ptr(arasan_cf_id_table), |
967 | }, | 966 | }, |
diff --git a/drivers/ata/pata_at32.c b/drivers/ata/pata_at32.c index d59d5239405f..9aeb7a6dd4d4 100644 --- a/drivers/ata/pata_at32.c +++ b/drivers/ata/pata_at32.c | |||
@@ -389,7 +389,6 @@ static struct platform_driver pata_at32_driver = { | |||
389 | .remove = __exit_p(pata_at32_remove), | 389 | .remove = __exit_p(pata_at32_remove), |
390 | .driver = { | 390 | .driver = { |
391 | .name = "at32_ide", | 391 | .name = "at32_ide", |
392 | .owner = THIS_MODULE, | ||
393 | }, | 392 | }, |
394 | }; | 393 | }; |
395 | 394 | ||
diff --git a/drivers/ata/pata_at91.c b/drivers/ata/pata_at91.c index 8a66f23af4c4..9e85937d36a9 100644 --- a/drivers/ata/pata_at91.c +++ b/drivers/ata/pata_at91.c | |||
@@ -444,7 +444,6 @@ static struct platform_driver pata_at91_driver = { | |||
444 | .remove = pata_at91_remove, | 444 | .remove = pata_at91_remove, |
445 | .driver = { | 445 | .driver = { |
446 | .name = DRV_NAME, | 446 | .name = DRV_NAME, |
447 | .owner = THIS_MODULE, | ||
448 | }, | 447 | }, |
449 | }; | 448 | }; |
450 | 449 | ||
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c index 03f2f2bc83bd..dd7410019d15 100644 --- a/drivers/ata/pata_bf54x.c +++ b/drivers/ata/pata_bf54x.c | |||
@@ -1657,7 +1657,6 @@ static struct platform_driver bfin_atapi_driver = { | |||
1657 | .resume = bfin_atapi_resume, | 1657 | .resume = bfin_atapi_resume, |
1658 | .driver = { | 1658 | .driver = { |
1659 | .name = DRV_NAME, | 1659 | .name = DRV_NAME, |
1660 | .owner = THIS_MODULE, | ||
1661 | }, | 1660 | }, |
1662 | }; | 1661 | }; |
1663 | 1662 | ||
diff --git a/drivers/ata/pata_ep93xx.c b/drivers/ata/pata_ep93xx.c index 4d37c5415fc7..bd6b089c67a3 100644 --- a/drivers/ata/pata_ep93xx.c +++ b/drivers/ata/pata_ep93xx.c | |||
@@ -1021,7 +1021,6 @@ static int ep93xx_pata_remove(struct platform_device *pdev) | |||
1021 | static struct platform_driver ep93xx_pata_platform_driver = { | 1021 | static struct platform_driver ep93xx_pata_platform_driver = { |
1022 | .driver = { | 1022 | .driver = { |
1023 | .name = DRV_NAME, | 1023 | .name = DRV_NAME, |
1024 | .owner = THIS_MODULE, | ||
1025 | }, | 1024 | }, |
1026 | .probe = ep93xx_pata_probe, | 1025 | .probe = ep93xx_pata_probe, |
1027 | .remove = ep93xx_pata_remove, | 1026 | .remove = ep93xx_pata_remove, |
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c index 989ff5ac69ec..139d20778b29 100644 --- a/drivers/ata/pata_imx.c +++ b/drivers/ata/pata_imx.c | |||
@@ -240,7 +240,6 @@ static struct platform_driver pata_imx_driver = { | |||
240 | .driver = { | 240 | .driver = { |
241 | .name = DRV_NAME, | 241 | .name = DRV_NAME, |
242 | .of_match_table = imx_pata_dt_ids, | 242 | .of_match_table = imx_pata_dt_ids, |
243 | .owner = THIS_MODULE, | ||
244 | .pm = &pata_imx_pm_ops, | 243 | .pm = &pata_imx_pm_ops, |
245 | }, | 244 | }, |
246 | }; | 245 | }; |
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c index ddf470c2341d..abda44183512 100644 --- a/drivers/ata/pata_ixp4xx_cf.c +++ b/drivers/ata/pata_ixp4xx_cf.c | |||
@@ -193,7 +193,6 @@ static int ixp4xx_pata_probe(struct platform_device *pdev) | |||
193 | static struct platform_driver ixp4xx_pata_platform_driver = { | 193 | static struct platform_driver ixp4xx_pata_platform_driver = { |
194 | .driver = { | 194 | .driver = { |
195 | .name = DRV_NAME, | 195 | .name = DRV_NAME, |
196 | .owner = THIS_MODULE, | ||
197 | }, | 196 | }, |
198 | .probe = ixp4xx_pata_probe, | 197 | .probe = ixp4xx_pata_probe, |
199 | .remove = ata_platform_remove_one, | 198 | .remove = ata_platform_remove_one, |
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index ccd1c83a05cc..252ba27fa63b 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c | |||
@@ -863,7 +863,6 @@ static struct platform_driver mpc52xx_ata_of_platform_driver = { | |||
863 | #endif | 863 | #endif |
864 | .driver = { | 864 | .driver = { |
865 | .name = DRV_NAME, | 865 | .name = DRV_NAME, |
866 | .owner = THIS_MODULE, | ||
867 | .of_match_table = mpc52xx_ata_of_match, | 866 | .of_match_table = mpc52xx_ata_of_match, |
868 | }, | 867 | }, |
869 | }; | 868 | }; |
diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c index 2a97d3a531ec..80a80548ad0a 100644 --- a/drivers/ata/pata_octeon_cf.c +++ b/drivers/ata/pata_octeon_cf.c | |||
@@ -1059,7 +1059,6 @@ static struct platform_driver octeon_cf_driver = { | |||
1059 | .probe = octeon_cf_probe, | 1059 | .probe = octeon_cf_probe, |
1060 | .driver = { | 1060 | .driver = { |
1061 | .name = DRV_NAME, | 1061 | .name = DRV_NAME, |
1062 | .owner = THIS_MODULE, | ||
1063 | .of_match_table = octeon_cf_match, | 1062 | .of_match_table = octeon_cf_match, |
1064 | .shutdown = octeon_cf_shutdown | 1063 | .shutdown = octeon_cf_shutdown |
1065 | }, | 1064 | }, |
diff --git a/drivers/ata/pata_of_platform.c b/drivers/ata/pata_of_platform.c index 64965398914a..dcc408abe171 100644 --- a/drivers/ata/pata_of_platform.c +++ b/drivers/ata/pata_of_platform.c | |||
@@ -75,7 +75,6 @@ MODULE_DEVICE_TABLE(of, pata_of_platform_match); | |||
75 | static struct platform_driver pata_of_platform_driver = { | 75 | static struct platform_driver pata_of_platform_driver = { |
76 | .driver = { | 76 | .driver = { |
77 | .name = "pata_of_platform", | 77 | .name = "pata_of_platform", |
78 | .owner = THIS_MODULE, | ||
79 | .of_match_table = pata_of_platform_match, | 78 | .of_match_table = pata_of_platform_match, |
80 | }, | 79 | }, |
81 | .probe = pata_of_platform_probe, | 80 | .probe = pata_of_platform_probe, |
diff --git a/drivers/ata/pata_palmld.c b/drivers/ata/pata_palmld.c index df2bb7504fc8..8c0d7d736b7a 100644 --- a/drivers/ata/pata_palmld.c +++ b/drivers/ata/pata_palmld.c | |||
@@ -124,7 +124,6 @@ static int palmld_pata_remove(struct platform_device *dev) | |||
124 | static struct platform_driver palmld_pata_platform_driver = { | 124 | static struct platform_driver palmld_pata_platform_driver = { |
125 | .driver = { | 125 | .driver = { |
126 | .name = DRV_NAME, | 126 | .name = DRV_NAME, |
127 | .owner = THIS_MODULE, | ||
128 | }, | 127 | }, |
129 | .probe = palmld_pata_probe, | 128 | .probe = palmld_pata_probe, |
130 | .remove = palmld_pata_remove, | 129 | .remove = palmld_pata_remove, |
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index f8cff3e247c5..1eedfe46d7c8 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver pata_platform_driver = { | |||
224 | .remove = ata_platform_remove_one, | 224 | .remove = ata_platform_remove_one, |
225 | .driver = { | 225 | .driver = { |
226 | .name = DRV_NAME, | 226 | .name = DRV_NAME, |
227 | .owner = THIS_MODULE, | ||
228 | }, | 227 | }, |
229 | }; | 228 | }; |
230 | 229 | ||
diff --git a/drivers/ata/pata_pxa.c b/drivers/ata/pata_pxa.c index 73259bfda1e3..c36b3e6531d8 100644 --- a/drivers/ata/pata_pxa.c +++ b/drivers/ata/pata_pxa.c | |||
@@ -385,7 +385,6 @@ static struct platform_driver pxa_ata_driver = { | |||
385 | .remove = pxa_ata_remove, | 385 | .remove = pxa_ata_remove, |
386 | .driver = { | 386 | .driver = { |
387 | .name = DRV_NAME, | 387 | .name = DRV_NAME, |
388 | .owner = THIS_MODULE, | ||
389 | }, | 388 | }, |
390 | }; | 389 | }; |
391 | 390 | ||
diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c index 3c5eb8fa6bd1..6d08446b877c 100644 --- a/drivers/ata/pata_rb532_cf.c +++ b/drivers/ata/pata_rb532_cf.c | |||
@@ -193,7 +193,6 @@ static struct platform_driver rb532_pata_platform_driver = { | |||
193 | .remove = rb532_pata_driver_remove, | 193 | .remove = rb532_pata_driver_remove, |
194 | .driver = { | 194 | .driver = { |
195 | .name = DRV_NAME, | 195 | .name = DRV_NAME, |
196 | .owner = THIS_MODULE, | ||
197 | }, | 196 | }, |
198 | }; | 197 | }; |
199 | 198 | ||
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c index 1a24a5dc3940..fa44eb2872db 100644 --- a/drivers/ata/pata_samsung_cf.c +++ b/drivers/ata/pata_samsung_cf.c | |||
@@ -656,7 +656,6 @@ static struct platform_driver pata_s3c_driver = { | |||
656 | .id_table = pata_s3c_driver_ids, | 656 | .id_table = pata_s3c_driver_ids, |
657 | .driver = { | 657 | .driver = { |
658 | .name = DRV_NAME, | 658 | .name = DRV_NAME, |
659 | .owner = THIS_MODULE, | ||
660 | #ifdef CONFIG_PM_SLEEP | 659 | #ifdef CONFIG_PM_SLEEP |
661 | .pm = &pata_s3c_pm_ops, | 660 | .pm = &pata_s3c_pm_ops, |
662 | #endif | 661 | #endif |
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 0bb2cabd2197..c7ddef89e7b0 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c | |||
@@ -1807,7 +1807,6 @@ MODULE_DEVICE_TABLE(of, sata_dwc_match); | |||
1807 | static struct platform_driver sata_dwc_driver = { | 1807 | static struct platform_driver sata_dwc_driver = { |
1808 | .driver = { | 1808 | .driver = { |
1809 | .name = DRV_NAME, | 1809 | .name = DRV_NAME, |
1810 | .owner = THIS_MODULE, | ||
1811 | .of_match_table = sata_dwc_match, | 1810 | .of_match_table = sata_dwc_match, |
1812 | }, | 1811 | }, |
1813 | .probe = sata_dwc_probe, | 1812 | .probe = sata_dwc_probe, |
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index 07bc7e4dbd04..42174158d10f 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -1624,7 +1624,6 @@ MODULE_DEVICE_TABLE(of, fsl_sata_match); | |||
1624 | static struct platform_driver fsl_sata_driver = { | 1624 | static struct platform_driver fsl_sata_driver = { |
1625 | .driver = { | 1625 | .driver = { |
1626 | .name = "fsl-sata", | 1626 | .name = "fsl-sata", |
1627 | .owner = THIS_MODULE, | ||
1628 | .of_match_table = fsl_sata_match, | 1627 | .of_match_table = fsl_sata_match, |
1629 | }, | 1628 | }, |
1630 | .probe = sata_fsl_probe, | 1629 | .probe = sata_fsl_probe, |
diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c index ce2b99a1ed70..24e311fe2c1c 100644 --- a/drivers/ata/sata_highbank.c +++ b/drivers/ata/sata_highbank.c | |||
@@ -634,7 +634,6 @@ static struct platform_driver ahci_highbank_driver = { | |||
634 | .remove = ata_platform_remove_one, | 634 | .remove = ata_platform_remove_one, |
635 | .driver = { | 635 | .driver = { |
636 | .name = "highbank-ahci", | 636 | .name = "highbank-ahci", |
637 | .owner = THIS_MODULE, | ||
638 | .of_match_table = ahci_of_match, | 637 | .of_match_table = ahci_of_match, |
639 | .pm = &ahci_highbank_pm_ops, | 638 | .pm = &ahci_highbank_pm_ops, |
640 | }, | 639 | }, |
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 391cfda1e83f..f9a0e34eb111 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -4280,7 +4280,6 @@ static struct platform_driver mv_platform_driver = { | |||
4280 | .resume = mv_platform_resume, | 4280 | .resume = mv_platform_resume, |
4281 | .driver = { | 4281 | .driver = { |
4282 | .name = DRV_NAME, | 4282 | .name = DRV_NAME, |
4283 | .owner = THIS_MODULE, | ||
4284 | .of_match_table = of_match_ptr(mv_sata_dt_ids), | 4283 | .of_match_table = of_match_ptr(mv_sata_dt_ids), |
4285 | }, | 4284 | }, |
4286 | }; | 4285 | }; |
diff --git a/drivers/ata/sata_rcar.c b/drivers/ata/sata_rcar.c index 61eb6d77dac7..ad7725245d39 100644 --- a/drivers/ata/sata_rcar.c +++ b/drivers/ata/sata_rcar.c | |||
@@ -989,7 +989,6 @@ static struct platform_driver sata_rcar_driver = { | |||
989 | .id_table = sata_rcar_id_table, | 989 | .id_table = sata_rcar_id_table, |
990 | .driver = { | 990 | .driver = { |
991 | .name = DRV_NAME, | 991 | .name = DRV_NAME, |
992 | .owner = THIS_MODULE, | ||
993 | .of_match_table = sata_rcar_match, | 992 | .of_match_table = sata_rcar_match, |
994 | #ifdef CONFIG_PM_SLEEP | 993 | #ifdef CONFIG_PM_SLEEP |
995 | .pm = &sata_rcar_pm_ops, | 994 | .pm = &sata_rcar_pm_ops, |
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index d4725fc0395d..d5d9eafbbfcf 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c | |||
@@ -2687,7 +2687,6 @@ MODULE_DEVICE_TABLE(of, fore200e_sba_match); | |||
2687 | static struct platform_driver fore200e_sba_driver = { | 2687 | static struct platform_driver fore200e_sba_driver = { |
2688 | .driver = { | 2688 | .driver = { |
2689 | .name = "fore_200e", | 2689 | .name = "fore_200e", |
2690 | .owner = THIS_MODULE, | ||
2691 | .of_match_table = fore200e_sba_match, | 2690 | .of_match_table = fore200e_sba_match, |
2692 | }, | 2691 | }, |
2693 | .probe = fore200e_sba_probe, | 2692 | .probe = fore200e_sba_probe, |
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index 758da2287d9a..5fd50a284168 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c | |||
@@ -1864,7 +1864,6 @@ static int __exit amiga_floppy_remove(struct platform_device *pdev) | |||
1864 | static struct platform_driver amiga_floppy_driver = { | 1864 | static struct platform_driver amiga_floppy_driver = { |
1865 | .driver = { | 1865 | .driver = { |
1866 | .name = "amiga-floppy", | 1866 | .name = "amiga-floppy", |
1867 | .owner = THIS_MODULE, | ||
1868 | }, | 1867 | }, |
1869 | }; | 1868 | }; |
1870 | 1869 | ||
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c index e352cac707e8..145ce2aa2e78 100644 --- a/drivers/block/mg_disk.c +++ b/drivers/block/mg_disk.c | |||
@@ -1082,7 +1082,6 @@ static struct platform_driver mg_disk_driver = { | |||
1082 | .remove = mg_remove, | 1082 | .remove = mg_remove, |
1083 | .driver = { | 1083 | .driver = { |
1084 | .name = MG_DEV_NAME, | 1084 | .name = MG_DEV_NAME, |
1085 | .owner = THIS_MODULE, | ||
1086 | .pm = &mg_pm, | 1085 | .pm = &mg_pm, |
1087 | } | 1086 | } |
1088 | }; | 1087 | }; |
diff --git a/drivers/block/swim.c b/drivers/block/swim.c index 6b44bbe528b7..b5afd495d482 100644 --- a/drivers/block/swim.c +++ b/drivers/block/swim.c | |||
@@ -971,7 +971,6 @@ static struct platform_driver swim_driver = { | |||
971 | .remove = swim_remove, | 971 | .remove = swim_remove, |
972 | .driver = { | 972 | .driver = { |
973 | .name = CARDNAME, | 973 | .name = CARDNAME, |
974 | .owner = THIS_MODULE, | ||
975 | }, | 974 | }, |
976 | }; | 975 | }; |
977 | 976 | ||
diff --git a/drivers/bluetooth/btwilink.c b/drivers/bluetooth/btwilink.c index f038dba19e36..55c135b7757a 100644 --- a/drivers/bluetooth/btwilink.c +++ b/drivers/bluetooth/btwilink.c | |||
@@ -349,7 +349,6 @@ static struct platform_driver btwilink_driver = { | |||
349 | .remove = bt_ti_remove, | 349 | .remove = bt_ti_remove, |
350 | .driver = { | 350 | .driver = { |
351 | .name = "btwilink", | 351 | .name = "btwilink", |
352 | .owner = THIS_MODULE, | ||
353 | }, | 352 | }, |
354 | }; | 353 | }; |
355 | 354 | ||
diff --git a/drivers/bus/brcmstb_gisb.c b/drivers/bus/brcmstb_gisb.c index f2cd6a2d40b4..5b15cd2cbd8e 100644 --- a/drivers/bus/brcmstb_gisb.c +++ b/drivers/bus/brcmstb_gisb.c | |||
@@ -276,7 +276,6 @@ static struct platform_driver brcmstb_gisb_arb_driver = { | |||
276 | .probe = brcmstb_gisb_arb_probe, | 276 | .probe = brcmstb_gisb_arb_probe, |
277 | .driver = { | 277 | .driver = { |
278 | .name = "brcm-gisb-arb", | 278 | .name = "brcm-gisb-arb", |
279 | .owner = THIS_MODULE, | ||
280 | .of_match_table = brcmstb_gisb_arb_of_match, | 279 | .of_match_table = brcmstb_gisb_arb_of_match, |
281 | }, | 280 | }, |
282 | }; | 281 | }; |
diff --git a/drivers/bus/imx-weim.c b/drivers/bus/imx-weim.c index 75c9681f8021..0958b6981773 100644 --- a/drivers/bus/imx-weim.c +++ b/drivers/bus/imx-weim.c | |||
@@ -206,7 +206,6 @@ static int __init weim_probe(struct platform_device *pdev) | |||
206 | static struct platform_driver weim_driver = { | 206 | static struct platform_driver weim_driver = { |
207 | .driver = { | 207 | .driver = { |
208 | .name = "imx-weim", | 208 | .name = "imx-weim", |
209 | .owner = THIS_MODULE, | ||
210 | .of_match_table = weim_id_table, | 209 | .of_match_table = weim_id_table, |
211 | }, | 210 | }, |
212 | }; | 211 | }; |
diff --git a/drivers/bus/omap-ocp2scp.c b/drivers/bus/omap-ocp2scp.c index 5511f9814ddd..723ec06ad2c8 100644 --- a/drivers/bus/omap-ocp2scp.c +++ b/drivers/bus/omap-ocp2scp.c | |||
@@ -77,7 +77,6 @@ static struct platform_driver omap_ocp2scp_driver = { | |||
77 | .remove = omap_ocp2scp_remove, | 77 | .remove = omap_ocp2scp_remove, |
78 | .driver = { | 78 | .driver = { |
79 | .name = "omap-ocp2scp", | 79 | .name = "omap-ocp2scp", |
80 | .owner = THIS_MODULE, | ||
81 | .of_match_table = of_match_ptr(omap_ocp2scp_id_table), | 80 | .of_match_table = of_match_ptr(omap_ocp2scp_id_table), |
82 | }, | 81 | }, |
83 | }; | 82 | }; |
diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c index 531ae591783b..1ff1863415c5 100644 --- a/drivers/bus/omap_l3_noc.c +++ b/drivers/bus/omap_l3_noc.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver omap_l3_driver = { | |||
300 | .probe = omap_l3_probe, | 300 | .probe = omap_l3_probe, |
301 | .driver = { | 301 | .driver = { |
302 | .name = "omap_l3_noc", | 302 | .name = "omap_l3_noc", |
303 | .owner = THIS_MODULE, | ||
304 | .of_match_table = of_match_ptr(l3_noc_match), | 303 | .of_match_table = of_match_ptr(l3_noc_match), |
305 | }, | 304 | }, |
306 | }; | 305 | }; |
diff --git a/drivers/char/hw_random/atmel-rng.c b/drivers/char/hw_random/atmel-rng.c index 851bc7e20ad2..25a4de21feac 100644 --- a/drivers/char/hw_random/atmel-rng.c +++ b/drivers/char/hw_random/atmel-rng.c | |||
@@ -128,7 +128,6 @@ static struct platform_driver atmel_trng_driver = { | |||
128 | .remove = atmel_trng_remove, | 128 | .remove = atmel_trng_remove, |
129 | .driver = { | 129 | .driver = { |
130 | .name = "atmel-trng", | 130 | .name = "atmel-trng", |
131 | .owner = THIS_MODULE, | ||
132 | #ifdef CONFIG_PM | 131 | #ifdef CONFIG_PM |
133 | .pm = &atmel_trng_pm_ops, | 132 | .pm = &atmel_trng_pm_ops, |
134 | #endif /* CONFIG_PM */ | 133 | #endif /* CONFIG_PM */ |
diff --git a/drivers/char/hw_random/bcm2835-rng.c b/drivers/char/hw_random/bcm2835-rng.c index e900961cdd2e..7192ec25f667 100644 --- a/drivers/char/hw_random/bcm2835-rng.c +++ b/drivers/char/hw_random/bcm2835-rng.c | |||
@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_rng_of_match); | |||
99 | static struct platform_driver bcm2835_rng_driver = { | 99 | static struct platform_driver bcm2835_rng_driver = { |
100 | .driver = { | 100 | .driver = { |
101 | .name = "bcm2835-rng", | 101 | .name = "bcm2835-rng", |
102 | .owner = THIS_MODULE, | ||
103 | .of_match_table = bcm2835_rng_of_match, | 102 | .of_match_table = bcm2835_rng_of_match, |
104 | }, | 103 | }, |
105 | .probe = bcm2835_rng_probe, | 104 | .probe = bcm2835_rng_probe, |
diff --git a/drivers/char/hw_random/bcm63xx-rng.c b/drivers/char/hw_random/bcm63xx-rng.c index 36581ea562cb..ba6a65ac023b 100644 --- a/drivers/char/hw_random/bcm63xx-rng.c +++ b/drivers/char/hw_random/bcm63xx-rng.c | |||
@@ -162,7 +162,6 @@ static struct platform_driver bcm63xx_rng_driver = { | |||
162 | .remove = bcm63xx_rng_remove, | 162 | .remove = bcm63xx_rng_remove, |
163 | .driver = { | 163 | .driver = { |
164 | .name = "bcm63xx-rng", | 164 | .name = "bcm63xx-rng", |
165 | .owner = THIS_MODULE, | ||
166 | }, | 165 | }, |
167 | }; | 166 | }; |
168 | 167 | ||
diff --git a/drivers/char/hw_random/exynos-rng.c b/drivers/char/hw_random/exynos-rng.c index 9f8277cc44b4..beaa157bf43e 100644 --- a/drivers/char/hw_random/exynos-rng.c +++ b/drivers/char/hw_random/exynos-rng.c | |||
@@ -169,7 +169,6 @@ static UNIVERSAL_DEV_PM_OPS(exynos_rng_pm_ops, exynos_rng_runtime_suspend, | |||
169 | static struct platform_driver exynos_rng_driver = { | 169 | static struct platform_driver exynos_rng_driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .name = "exynos-rng", | 171 | .name = "exynos-rng", |
172 | .owner = THIS_MODULE, | ||
173 | .pm = &exynos_rng_pm_ops, | 172 | .pm = &exynos_rng_pm_ops, |
174 | }, | 173 | }, |
175 | .probe = exynos_rng_probe, | 174 | .probe = exynos_rng_probe, |
diff --git a/drivers/char/hw_random/msm-rng.c b/drivers/char/hw_random/msm-rng.c index 148521e51dc6..cea1c703d62f 100644 --- a/drivers/char/hw_random/msm-rng.c +++ b/drivers/char/hw_random/msm-rng.c | |||
@@ -185,7 +185,6 @@ static struct platform_driver msm_rng_driver = { | |||
185 | .remove = msm_rng_remove, | 185 | .remove = msm_rng_remove, |
186 | .driver = { | 186 | .driver = { |
187 | .name = KBUILD_MODNAME, | 187 | .name = KBUILD_MODNAME, |
188 | .owner = THIS_MODULE, | ||
189 | .of_match_table = of_match_ptr(msm_rng_of_match), | 188 | .of_match_table = of_match_ptr(msm_rng_of_match), |
190 | } | 189 | } |
191 | }; | 190 | }; |
diff --git a/drivers/char/hw_random/mxc-rnga.c b/drivers/char/hw_random/mxc-rnga.c index 6a86b6f56af2..6cbb72ec6013 100644 --- a/drivers/char/hw_random/mxc-rnga.c +++ b/drivers/char/hw_random/mxc-rnga.c | |||
@@ -206,7 +206,6 @@ static int __exit mxc_rnga_remove(struct platform_device *pdev) | |||
206 | static struct platform_driver mxc_rnga_driver = { | 206 | static struct platform_driver mxc_rnga_driver = { |
207 | .driver = { | 207 | .driver = { |
208 | .name = "mxc_rnga", | 208 | .name = "mxc_rnga", |
209 | .owner = THIS_MODULE, | ||
210 | }, | 209 | }, |
211 | .remove = __exit_p(mxc_rnga_remove), | 210 | .remove = __exit_p(mxc_rnga_remove), |
212 | }; | 211 | }; |
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 292a5889f675..843d6f6aee7a 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c | |||
@@ -750,7 +750,6 @@ MODULE_DEVICE_TABLE(of, n2rng_match); | |||
750 | static struct platform_driver n2rng_driver = { | 750 | static struct platform_driver n2rng_driver = { |
751 | .driver = { | 751 | .driver = { |
752 | .name = "n2rng", | 752 | .name = "n2rng", |
753 | .owner = THIS_MODULE, | ||
754 | .of_match_table = n2rng_match, | 753 | .of_match_table = n2rng_match, |
755 | }, | 754 | }, |
756 | .probe = n2rng_probe, | 755 | .probe = n2rng_probe, |
diff --git a/drivers/char/hw_random/octeon-rng.c b/drivers/char/hw_random/octeon-rng.c index b5cc3420c659..be1c3f607398 100644 --- a/drivers/char/hw_random/octeon-rng.c +++ b/drivers/char/hw_random/octeon-rng.c | |||
@@ -117,7 +117,6 @@ static int __exit octeon_rng_remove(struct platform_device *pdev) | |||
117 | static struct platform_driver octeon_rng_driver = { | 117 | static struct platform_driver octeon_rng_driver = { |
118 | .driver = { | 118 | .driver = { |
119 | .name = "octeon_rng", | 119 | .name = "octeon_rng", |
120 | .owner = THIS_MODULE, | ||
121 | }, | 120 | }, |
122 | .probe = octeon_rng_probe, | 121 | .probe = octeon_rng_probe, |
123 | .remove = __exit_p(octeon_rng_remove), | 122 | .remove = __exit_p(octeon_rng_remove), |
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index f66ea258382f..d14dcf788f17 100644 --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c | |||
@@ -456,7 +456,6 @@ static SIMPLE_DEV_PM_OPS(omap_rng_pm, omap_rng_suspend, omap_rng_resume); | |||
456 | static struct platform_driver omap_rng_driver = { | 456 | static struct platform_driver omap_rng_driver = { |
457 | .driver = { | 457 | .driver = { |
458 | .name = "omap_rng", | 458 | .name = "omap_rng", |
459 | .owner = THIS_MODULE, | ||
460 | .pm = OMAP_RNG_PM, | 459 | .pm = OMAP_RNG_PM, |
461 | .of_match_table = of_match_ptr(omap_rng_of_match), | 460 | .of_match_table = of_match_ptr(omap_rng_of_match), |
462 | }, | 461 | }, |
diff --git a/drivers/char/hw_random/omap3-rom-rng.c b/drivers/char/hw_random/omap3-rom-rng.c index 6f2eaffed623..a405cdcd8dd2 100644 --- a/drivers/char/hw_random/omap3-rom-rng.c +++ b/drivers/char/hw_random/omap3-rom-rng.c | |||
@@ -126,7 +126,6 @@ static int omap3_rom_rng_remove(struct platform_device *pdev) | |||
126 | static struct platform_driver omap3_rom_rng_driver = { | 126 | static struct platform_driver omap3_rom_rng_driver = { |
127 | .driver = { | 127 | .driver = { |
128 | .name = "omap3-rom-rng", | 128 | .name = "omap3-rom-rng", |
129 | .owner = THIS_MODULE, | ||
130 | }, | 129 | }, |
131 | .probe = omap3_rom_rng_probe, | 130 | .probe = omap3_rom_rng_probe, |
132 | .remove = omap3_rom_rng_remove, | 131 | .remove = omap3_rom_rng_remove, |
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c index c0347d1dded0..3eb7bdd7f93b 100644 --- a/drivers/char/hw_random/pasemi-rng.c +++ b/drivers/char/hw_random/pasemi-rng.c | |||
@@ -142,7 +142,6 @@ static struct of_device_id rng_match[] = { | |||
142 | static struct platform_driver rng_driver = { | 142 | static struct platform_driver rng_driver = { |
143 | .driver = { | 143 | .driver = { |
144 | .name = "pasemi-rng", | 144 | .name = "pasemi-rng", |
145 | .owner = THIS_MODULE, | ||
146 | .of_match_table = rng_match, | 145 | .of_match_table = rng_match, |
147 | }, | 146 | }, |
148 | .probe = rng_probe, | 147 | .probe = rng_probe, |
diff --git a/drivers/char/hw_random/ppc4xx-rng.c b/drivers/char/hw_random/ppc4xx-rng.c index 521f76b0934b..c85d31a5f9e3 100644 --- a/drivers/char/hw_random/ppc4xx-rng.c +++ b/drivers/char/hw_random/ppc4xx-rng.c | |||
@@ -133,7 +133,6 @@ static struct of_device_id ppc4xx_rng_match[] = { | |||
133 | static struct platform_driver ppc4xx_rng_driver = { | 133 | static struct platform_driver ppc4xx_rng_driver = { |
134 | .driver = { | 134 | .driver = { |
135 | .name = MODULE_NAME, | 135 | .name = MODULE_NAME, |
136 | .owner = THIS_MODULE, | ||
137 | .of_match_table = ppc4xx_rng_match, | 136 | .of_match_table = ppc4xx_rng_match, |
138 | }, | 137 | }, |
139 | .probe = ppc4xx_rng_probe, | 138 | .probe = ppc4xx_rng_probe, |
diff --git a/drivers/char/hw_random/timeriomem-rng.c b/drivers/char/hw_random/timeriomem-rng.c index b6ab9ac3f34d..cf37db263ecd 100644 --- a/drivers/char/hw_random/timeriomem-rng.c +++ b/drivers/char/hw_random/timeriomem-rng.c | |||
@@ -200,7 +200,6 @@ MODULE_DEVICE_TABLE(of, timeriomem_rng_match); | |||
200 | static struct platform_driver timeriomem_rng_driver = { | 200 | static struct platform_driver timeriomem_rng_driver = { |
201 | .driver = { | 201 | .driver = { |
202 | .name = "timeriomem_rng", | 202 | .name = "timeriomem_rng", |
203 | .owner = THIS_MODULE, | ||
204 | .of_match_table = timeriomem_rng_match, | 203 | .of_match_table = timeriomem_rng_match, |
205 | }, | 204 | }, |
206 | .probe = timeriomem_rng_probe, | 205 | .probe = timeriomem_rng_probe, |
diff --git a/drivers/char/hw_random/tx4939-rng.c b/drivers/char/hw_random/tx4939-rng.c index 09c5fbea2b93..a7b694913416 100644 --- a/drivers/char/hw_random/tx4939-rng.c +++ b/drivers/char/hw_random/tx4939-rng.c | |||
@@ -158,7 +158,6 @@ static int __exit tx4939_rng_remove(struct platform_device *dev) | |||
158 | static struct platform_driver tx4939_rng_driver = { | 158 | static struct platform_driver tx4939_rng_driver = { |
159 | .driver = { | 159 | .driver = { |
160 | .name = "tx4939-rng", | 160 | .name = "tx4939-rng", |
161 | .owner = THIS_MODULE, | ||
162 | }, | 161 | }, |
163 | .remove = tx4939_rng_remove, | 162 | .remove = tx4939_rng_remove, |
164 | }; | 163 | }; |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 5c4e1f625bbb..84eb2db85534 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -2751,7 +2751,6 @@ static struct of_device_id ipmi_match[] = | |||
2751 | static struct platform_driver ipmi_driver = { | 2751 | static struct platform_driver ipmi_driver = { |
2752 | .driver = { | 2752 | .driver = { |
2753 | .name = DEVICE_NAME, | 2753 | .name = DEVICE_NAME, |
2754 | .owner = THIS_MODULE, | ||
2755 | .of_match_table = ipmi_match, | 2754 | .of_match_table = ipmi_match, |
2756 | }, | 2755 | }, |
2757 | .probe = ipmi_probe, | 2756 | .probe = ipmi_probe, |
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 7cc1fe2241fd..e496daefe9e0 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -1482,7 +1482,6 @@ static void sonypi_shutdown(struct platform_device *dev) | |||
1482 | static struct platform_driver sonypi_driver = { | 1482 | static struct platform_driver sonypi_driver = { |
1483 | .driver = { | 1483 | .driver = { |
1484 | .name = "sonypi", | 1484 | .name = "sonypi", |
1485 | .owner = THIS_MODULE, | ||
1486 | .pm = SONYPI_PM, | 1485 | .pm = SONYPI_PM, |
1487 | }, | 1486 | }, |
1488 | .probe = sonypi_probe, | 1487 | .probe = sonypi_probe, |
diff --git a/drivers/char/tb0219.c b/drivers/char/tb0219.c index 47b9fdfcf083..480a777db577 100644 --- a/drivers/char/tb0219.c +++ b/drivers/char/tb0219.c | |||
@@ -337,7 +337,6 @@ static struct platform_driver tb0219_device_driver = { | |||
337 | .remove = tb0219_remove, | 337 | .remove = tb0219_remove, |
338 | .driver = { | 338 | .driver = { |
339 | .name = "TB0219", | 339 | .name = "TB0219", |
340 | .owner = THIS_MODULE, | ||
341 | }, | 340 | }, |
342 | }; | 341 | }; |
343 | 342 | ||
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c index 6069d13ae4ac..435c8b9dd2f8 100644 --- a/drivers/char/tpm/tpm_atmel.c +++ b/drivers/char/tpm/tpm_atmel.c | |||
@@ -152,7 +152,6 @@ static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume); | |||
152 | static struct platform_driver atml_drv = { | 152 | static struct platform_driver atml_drv = { |
153 | .driver = { | 153 | .driver = { |
154 | .name = "tpm_atmel", | 154 | .name = "tpm_atmel", |
155 | .owner = THIS_MODULE, | ||
156 | .pm = &tpm_atml_pm, | 155 | .pm = &tpm_atml_pm, |
157 | }, | 156 | }, |
158 | }; | 157 | }; |
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c index 3179ec9cffdc..4d0a17ea8cde 100644 --- a/drivers/char/tpm/tpm_nsc.c +++ b/drivers/char/tpm/tpm_nsc.c | |||
@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(tpm_nsc_pm, tpm_pm_suspend, tpm_pm_resume); | |||
258 | static struct platform_driver nsc_drv = { | 258 | static struct platform_driver nsc_drv = { |
259 | .driver = { | 259 | .driver = { |
260 | .name = "tpm_nsc", | 260 | .name = "tpm_nsc", |
261 | .owner = THIS_MODULE, | ||
262 | .pm = &tpm_nsc_pm, | 261 | .pm = &tpm_nsc_pm, |
263 | }, | 262 | }, |
264 | }; | 263 | }; |
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 2c46734b266d..6f1985496112 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c | |||
@@ -837,7 +837,6 @@ MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe"); | |||
837 | static struct platform_driver tis_drv = { | 837 | static struct platform_driver tis_drv = { |
838 | .driver = { | 838 | .driver = { |
839 | .name = "tpm_tis", | 839 | .name = "tpm_tis", |
840 | .owner = THIS_MODULE, | ||
841 | .pm = &tpm_tis_pm, | 840 | .pm = &tpm_tis_pm, |
842 | }, | 841 | }, |
843 | }; | 842 | }; |
diff --git a/drivers/char/xillybus/xillybus_of.c b/drivers/char/xillybus/xillybus_of.c index 1ca0c7a4f1be..2002a3a28146 100644 --- a/drivers/char/xillybus/xillybus_of.c +++ b/drivers/char/xillybus/xillybus_of.c | |||
@@ -179,7 +179,6 @@ static struct platform_driver xillybus_platform_driver = { | |||
179 | .remove = xilly_drv_remove, | 179 | .remove = xilly_drv_remove, |
180 | .driver = { | 180 | .driver = { |
181 | .name = xillyname, | 181 | .name = xillyname, |
182 | .owner = THIS_MODULE, | ||
183 | .of_match_table = xillybus_of_match, | 182 | .of_match_table = xillybus_of_match, |
184 | }, | 183 | }, |
185 | }; | 184 | }; |
diff --git a/drivers/clk/clk-axm5516.c b/drivers/clk/clk-axm5516.c index d2f1e119b450..0f6368ceec4c 100644 --- a/drivers/clk/clk-axm5516.c +++ b/drivers/clk/clk-axm5516.c | |||
@@ -593,7 +593,6 @@ static struct platform_driver axmclk_driver = { | |||
593 | .remove = axmclk_remove, | 593 | .remove = axmclk_remove, |
594 | .driver = { | 594 | .driver = { |
595 | .name = "clk-axm5516", | 595 | .name = "clk-axm5516", |
596 | .owner = THIS_MODULE, | ||
597 | .of_match_table = axmclk_match_table, | 596 | .of_match_table = axmclk_match_table, |
598 | }, | 597 | }, |
599 | }; | 598 | }; |
diff --git a/drivers/clk/clk-ppc-corenet.c b/drivers/clk/clk-ppc-corenet.c index 8e58edfeeb37..b6e6c85507a5 100644 --- a/drivers/clk/clk-ppc-corenet.c +++ b/drivers/clk/clk-ppc-corenet.c | |||
@@ -294,7 +294,6 @@ static const struct of_device_id ppc_clk_ids[] __initconst = { | |||
294 | static struct platform_driver ppc_corenet_clk_driver __initdata = { | 294 | static struct platform_driver ppc_corenet_clk_driver __initdata = { |
295 | .driver = { | 295 | .driver = { |
296 | .name = "ppc_corenet_clock", | 296 | .name = "ppc_corenet_clock", |
297 | .owner = THIS_MODULE, | ||
298 | .of_match_table = ppc_clk_ids, | 297 | .of_match_table = ppc_clk_ids, |
299 | }, | 298 | }, |
300 | .probe = ppc_corenet_clk_probe, | 299 | .probe = ppc_corenet_clk_probe, |
diff --git a/drivers/clk/clk-s2mps11.c b/drivers/clk/clk-s2mps11.c index b7797fb12e12..b1fb9a137688 100644 --- a/drivers/clk/clk-s2mps11.c +++ b/drivers/clk/clk-s2mps11.c | |||
@@ -288,7 +288,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_clk_id); | |||
288 | static struct platform_driver s2mps11_clk_driver = { | 288 | static struct platform_driver s2mps11_clk_driver = { |
289 | .driver = { | 289 | .driver = { |
290 | .name = "s2mps11-clk", | 290 | .name = "s2mps11-clk", |
291 | .owner = THIS_MODULE, | ||
292 | }, | 291 | }, |
293 | .probe = s2mps11_clk_probe, | 292 | .probe = s2mps11_clk_probe, |
294 | .remove = s2mps11_clk_remove, | 293 | .remove = s2mps11_clk_remove, |
diff --git a/drivers/clk/qcom/gcc-apq8084.c b/drivers/clk/qcom/gcc-apq8084.c index ee52eb1c838a..e3ef90264214 100644 --- a/drivers/clk/qcom/gcc-apq8084.c +++ b/drivers/clk/qcom/gcc-apq8084.c | |||
@@ -3589,7 +3589,6 @@ static struct platform_driver gcc_apq8084_driver = { | |||
3589 | .remove = gcc_apq8084_remove, | 3589 | .remove = gcc_apq8084_remove, |
3590 | .driver = { | 3590 | .driver = { |
3591 | .name = "gcc-apq8084", | 3591 | .name = "gcc-apq8084", |
3592 | .owner = THIS_MODULE, | ||
3593 | .of_match_table = gcc_apq8084_match_table, | 3592 | .of_match_table = gcc_apq8084_match_table, |
3594 | }, | 3593 | }, |
3595 | }; | 3594 | }; |
diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c index 5cd62a709ac7..afed5eb0691e 100644 --- a/drivers/clk/qcom/gcc-ipq806x.c +++ b/drivers/clk/qcom/gcc-ipq806x.c | |||
@@ -2431,7 +2431,6 @@ static struct platform_driver gcc_ipq806x_driver = { | |||
2431 | .remove = gcc_ipq806x_remove, | 2431 | .remove = gcc_ipq806x_remove, |
2432 | .driver = { | 2432 | .driver = { |
2433 | .name = "gcc-ipq806x", | 2433 | .name = "gcc-ipq806x", |
2434 | .owner = THIS_MODULE, | ||
2435 | .of_match_table = gcc_ipq806x_match_table, | 2434 | .of_match_table = gcc_ipq806x_match_table, |
2436 | }, | 2435 | }, |
2437 | }; | 2436 | }; |
diff --git a/drivers/clk/qcom/gcc-msm8660.c b/drivers/clk/qcom/gcc-msm8660.c index 0c4b727ae429..f366e68f7316 100644 --- a/drivers/clk/qcom/gcc-msm8660.c +++ b/drivers/clk/qcom/gcc-msm8660.c | |||
@@ -2744,7 +2744,6 @@ static struct platform_driver gcc_msm8660_driver = { | |||
2744 | .remove = gcc_msm8660_remove, | 2744 | .remove = gcc_msm8660_remove, |
2745 | .driver = { | 2745 | .driver = { |
2746 | .name = "gcc-msm8660", | 2746 | .name = "gcc-msm8660", |
2747 | .owner = THIS_MODULE, | ||
2748 | .of_match_table = gcc_msm8660_match_table, | 2747 | .of_match_table = gcc_msm8660_match_table, |
2749 | }, | 2748 | }, |
2750 | }; | 2749 | }; |
diff --git a/drivers/clk/qcom/gcc-msm8960.c b/drivers/clk/qcom/gcc-msm8960.c index 007534f7a2d7..b0b562b9ce0e 100644 --- a/drivers/clk/qcom/gcc-msm8960.c +++ b/drivers/clk/qcom/gcc-msm8960.c | |||
@@ -3519,7 +3519,6 @@ static struct platform_driver gcc_msm8960_driver = { | |||
3519 | .remove = gcc_msm8960_remove, | 3519 | .remove = gcc_msm8960_remove, |
3520 | .driver = { | 3520 | .driver = { |
3521 | .name = "gcc-msm8960", | 3521 | .name = "gcc-msm8960", |
3522 | .owner = THIS_MODULE, | ||
3523 | .of_match_table = gcc_msm8960_match_table, | 3522 | .of_match_table = gcc_msm8960_match_table, |
3524 | }, | 3523 | }, |
3525 | }; | 3524 | }; |
diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk/qcom/gcc-msm8974.c index 7af7c18d2144..a6937fe78d8a 100644 --- a/drivers/clk/qcom/gcc-msm8974.c +++ b/drivers/clk/qcom/gcc-msm8974.c | |||
@@ -2737,7 +2737,6 @@ static struct platform_driver gcc_msm8974_driver = { | |||
2737 | .remove = gcc_msm8974_remove, | 2737 | .remove = gcc_msm8974_remove, |
2738 | .driver = { | 2738 | .driver = { |
2739 | .name = "gcc-msm8974", | 2739 | .name = "gcc-msm8974", |
2740 | .owner = THIS_MODULE, | ||
2741 | .of_match_table = gcc_msm8974_match_table, | 2740 | .of_match_table = gcc_msm8974_match_table, |
2742 | }, | 2741 | }, |
2743 | }; | 2742 | }; |
diff --git a/drivers/clk/samsung/clk-exynos-audss.c b/drivers/clk/samsung/clk-exynos-audss.c index 13eae14c2cc2..acce708ace18 100644 --- a/drivers/clk/samsung/clk-exynos-audss.c +++ b/drivers/clk/samsung/clk-exynos-audss.c | |||
@@ -223,7 +223,6 @@ static int exynos_audss_clk_remove(struct platform_device *pdev) | |||
223 | static struct platform_driver exynos_audss_clk_driver = { | 223 | static struct platform_driver exynos_audss_clk_driver = { |
224 | .driver = { | 224 | .driver = { |
225 | .name = "exynos-audss-clk", | 225 | .name = "exynos-audss-clk", |
226 | .owner = THIS_MODULE, | ||
227 | .of_match_table = exynos_audss_clk_of_match, | 226 | .of_match_table = exynos_audss_clk_of_match, |
228 | }, | 227 | }, |
229 | .probe = exynos_audss_clk_probe, | 228 | .probe = exynos_audss_clk_probe, |
diff --git a/drivers/clk/samsung/clk-s5pv210-audss.c b/drivers/clk/samsung/clk-s5pv210-audss.c index a8053b4aca56..de4455b75e8a 100644 --- a/drivers/clk/samsung/clk-s5pv210-audss.c +++ b/drivers/clk/samsung/clk-s5pv210-audss.c | |||
@@ -216,7 +216,6 @@ static const struct of_device_id s5pv210_audss_clk_of_match[] = { | |||
216 | static struct platform_driver s5pv210_audss_clk_driver = { | 216 | static struct platform_driver s5pv210_audss_clk_driver = { |
217 | .driver = { | 217 | .driver = { |
218 | .name = "s5pv210-audss-clk", | 218 | .name = "s5pv210-audss-clk", |
219 | .owner = THIS_MODULE, | ||
220 | .of_match_table = s5pv210_audss_clk_of_match, | 219 | .of_match_table = s5pv210_audss_clk_of_match, |
221 | }, | 220 | }, |
222 | .probe = s5pv210_audss_clk_probe, | 221 | .probe = s5pv210_audss_clk_probe, |
diff --git a/drivers/clk/ux500/abx500-clk.c b/drivers/clk/ux500/abx500-clk.c index e7bd62cf60b3..3e5e05101302 100644 --- a/drivers/clk/ux500/abx500-clk.c +++ b/drivers/clk/ux500/abx500-clk.c | |||
@@ -121,7 +121,6 @@ static int abx500_clk_probe(struct platform_device *pdev) | |||
121 | static struct platform_driver abx500_clk_driver = { | 121 | static struct platform_driver abx500_clk_driver = { |
122 | .driver = { | 122 | .driver = { |
123 | .name = "abx500-clk", | 123 | .name = "abx500-clk", |
124 | .owner = THIS_MODULE, | ||
125 | }, | 124 | }, |
126 | .probe = abx500_clk_probe, | 125 | .probe = abx500_clk_probe, |
127 | }; | 126 | }; |
diff --git a/drivers/clk/x86/clk-lpt.c b/drivers/clk/x86/clk-lpt.c index 812f83f8b0c6..f827083defc4 100644 --- a/drivers/clk/x86/clk-lpt.c +++ b/drivers/clk/x86/clk-lpt.c | |||
@@ -42,7 +42,6 @@ static int lpt_clk_probe(struct platform_device *pdev) | |||
42 | static struct platform_driver lpt_clk_driver = { | 42 | static struct platform_driver lpt_clk_driver = { |
43 | .driver = { | 43 | .driver = { |
44 | .name = "clk-lpt", | 44 | .name = "clk-lpt", |
45 | .owner = THIS_MODULE, | ||
46 | }, | 45 | }, |
47 | .probe = lpt_clk_probe, | 46 | .probe = lpt_clk_probe, |
48 | }; | 47 | }; |
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c index 4550f6976768..efa8efae50d1 100644 --- a/drivers/cpufreq/arm_big_little_dt.c +++ b/drivers/cpufreq/arm_big_little_dt.c | |||
@@ -105,7 +105,6 @@ static int generic_bL_remove(struct platform_device *pdev) | |||
105 | static struct platform_driver generic_bL_platdrv = { | 105 | static struct platform_driver generic_bL_platdrv = { |
106 | .driver = { | 106 | .driver = { |
107 | .name = "arm-bL-cpufreq-dt", | 107 | .name = "arm-bL-cpufreq-dt", |
108 | .owner = THIS_MODULE, | ||
109 | }, | 108 | }, |
110 | .probe = generic_bL_probe, | 109 | .probe = generic_bL_probe, |
111 | .remove = generic_bL_remove, | 110 | .remove = generic_bL_remove, |
diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 23aaf40cf37f..1d2990d7f365 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c | |||
@@ -380,7 +380,6 @@ static int dt_cpufreq_remove(struct platform_device *pdev) | |||
380 | static struct platform_driver dt_cpufreq_platdrv = { | 380 | static struct platform_driver dt_cpufreq_platdrv = { |
381 | .driver = { | 381 | .driver = { |
382 | .name = "cpufreq-dt", | 382 | .name = "cpufreq-dt", |
383 | .owner = THIS_MODULE, | ||
384 | }, | 383 | }, |
385 | .probe = dt_cpufreq_probe, | 384 | .probe = dt_cpufreq_probe, |
386 | .remove = dt_cpufreq_remove, | 385 | .remove = dt_cpufreq_remove, |
diff --git a/drivers/cpufreq/davinci-cpufreq.c b/drivers/cpufreq/davinci-cpufreq.c index 28a16dc6e02e..7e336d20c184 100644 --- a/drivers/cpufreq/davinci-cpufreq.c +++ b/drivers/cpufreq/davinci-cpufreq.c | |||
@@ -169,7 +169,6 @@ static int __exit davinci_cpufreq_remove(struct platform_device *pdev) | |||
169 | static struct platform_driver davinci_cpufreq_driver = { | 169 | static struct platform_driver davinci_cpufreq_driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .name = "cpufreq-davinci", | 171 | .name = "cpufreq-davinci", |
172 | .owner = THIS_MODULE, | ||
173 | }, | 172 | }, |
174 | .remove = __exit_p(davinci_cpufreq_remove), | 173 | .remove = __exit_p(davinci_cpufreq_remove), |
175 | }; | 174 | }; |
diff --git a/drivers/cpufreq/dbx500-cpufreq.c b/drivers/cpufreq/dbx500-cpufreq.c index 4bebc1b5db48..5c3ec1dd4921 100644 --- a/drivers/cpufreq/dbx500-cpufreq.c +++ b/drivers/cpufreq/dbx500-cpufreq.c | |||
@@ -69,7 +69,6 @@ static int dbx500_cpufreq_probe(struct platform_device *pdev) | |||
69 | static struct platform_driver dbx500_cpufreq_plat_driver = { | 69 | static struct platform_driver dbx500_cpufreq_plat_driver = { |
70 | .driver = { | 70 | .driver = { |
71 | .name = "cpufreq-ux500", | 71 | .name = "cpufreq-ux500", |
72 | .owner = THIS_MODULE, | ||
73 | }, | 72 | }, |
74 | .probe = dbx500_cpufreq_probe, | 73 | .probe = dbx500_cpufreq_probe, |
75 | }; | 74 | }; |
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 1e0ec57bf6e3..f99a0b0b7c06 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c | |||
@@ -211,7 +211,6 @@ err_vdd_arm: | |||
211 | static struct platform_driver exynos_cpufreq_platdrv = { | 211 | static struct platform_driver exynos_cpufreq_platdrv = { |
212 | .driver = { | 212 | .driver = { |
213 | .name = "exynos-cpufreq", | 213 | .name = "exynos-cpufreq", |
214 | .owner = THIS_MODULE, | ||
215 | }, | 214 | }, |
216 | .probe = exynos_cpufreq_probe, | 215 | .probe = exynos_cpufreq_probe, |
217 | }; | 216 | }; |
diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c index f33f25b483ca..3e7a03620f37 100644 --- a/drivers/cpufreq/exynos5440-cpufreq.c +++ b/drivers/cpufreq/exynos5440-cpufreq.c | |||
@@ -439,7 +439,6 @@ static int exynos_cpufreq_remove(struct platform_device *pdev) | |||
439 | static struct platform_driver exynos_cpufreq_platdrv = { | 439 | static struct platform_driver exynos_cpufreq_platdrv = { |
440 | .driver = { | 440 | .driver = { |
441 | .name = "exynos5440-cpufreq", | 441 | .name = "exynos5440-cpufreq", |
442 | .owner = THIS_MODULE, | ||
443 | .of_match_table = exynos_cpufreq_match, | 442 | .of_match_table = exynos_cpufreq_match, |
444 | }, | 443 | }, |
445 | .probe = exynos_cpufreq_probe, | 444 | .probe = exynos_cpufreq_probe, |
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index c2d30765bf3d..b2d0bc137f34 100644 --- a/drivers/cpufreq/imx6q-cpufreq.c +++ b/drivers/cpufreq/imx6q-cpufreq.c | |||
@@ -348,7 +348,6 @@ static int imx6q_cpufreq_remove(struct platform_device *pdev) | |||
348 | static struct platform_driver imx6q_cpufreq_platdrv = { | 348 | static struct platform_driver imx6q_cpufreq_platdrv = { |
349 | .driver = { | 349 | .driver = { |
350 | .name = "imx6q-cpufreq", | 350 | .name = "imx6q-cpufreq", |
351 | .owner = THIS_MODULE, | ||
352 | }, | 351 | }, |
353 | .probe = imx6q_cpufreq_probe, | 352 | .probe = imx6q_cpufreq_probe, |
354 | .remove = imx6q_cpufreq_remove, | 353 | .remove = imx6q_cpufreq_remove, |
diff --git a/drivers/cpufreq/integrator-cpufreq.c b/drivers/cpufreq/integrator-cpufreq.c index 6bd69adc3c5e..129e266f7621 100644 --- a/drivers/cpufreq/integrator-cpufreq.c +++ b/drivers/cpufreq/integrator-cpufreq.c | |||
@@ -226,7 +226,6 @@ static const struct of_device_id integrator_cpufreq_match[] = { | |||
226 | static struct platform_driver integrator_cpufreq_driver = { | 226 | static struct platform_driver integrator_cpufreq_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "integrator-cpufreq", | 228 | .name = "integrator-cpufreq", |
229 | .owner = THIS_MODULE, | ||
230 | .of_match_table = integrator_cpufreq_match, | 229 | .of_match_table = integrator_cpufreq_match, |
231 | }, | 230 | }, |
232 | .remove = __exit_p(integrator_cpufreq_remove), | 231 | .remove = __exit_p(integrator_cpufreq_remove), |
diff --git a/drivers/cpufreq/kirkwood-cpufreq.c b/drivers/cpufreq/kirkwood-cpufreq.c index 7906d4acfe40..be42f103db60 100644 --- a/drivers/cpufreq/kirkwood-cpufreq.c +++ b/drivers/cpufreq/kirkwood-cpufreq.c | |||
@@ -183,7 +183,6 @@ static struct platform_driver kirkwood_cpufreq_platform_driver = { | |||
183 | .remove = kirkwood_cpufreq_remove, | 183 | .remove = kirkwood_cpufreq_remove, |
184 | .driver = { | 184 | .driver = { |
185 | .name = "kirkwood-cpufreq", | 185 | .name = "kirkwood-cpufreq", |
186 | .owner = THIS_MODULE, | ||
187 | }, | 186 | }, |
188 | }; | 187 | }; |
189 | 188 | ||
diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c index 9fa177206032..fc897babab55 100644 --- a/drivers/cpufreq/loongson2_cpufreq.c +++ b/drivers/cpufreq/loongson2_cpufreq.c | |||
@@ -130,7 +130,6 @@ MODULE_DEVICE_TABLE(platform, platform_device_ids); | |||
130 | static struct platform_driver platform_driver = { | 130 | static struct platform_driver platform_driver = { |
131 | .driver = { | 131 | .driver = { |
132 | .name = "loongson2_cpufreq", | 132 | .name = "loongson2_cpufreq", |
133 | .owner = THIS_MODULE, | ||
134 | }, | 133 | }, |
135 | .id_table = platform_device_ids, | 134 | .id_table = platform_device_ids, |
136 | }; | 135 | }; |
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index 5f69c9aa703c..e3866e0d5bf8 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c | |||
@@ -195,7 +195,6 @@ static int omap_cpufreq_remove(struct platform_device *pdev) | |||
195 | static struct platform_driver omap_cpufreq_platdrv = { | 195 | static struct platform_driver omap_cpufreq_platdrv = { |
196 | .driver = { | 196 | .driver = { |
197 | .name = "omap-cpufreq", | 197 | .name = "omap-cpufreq", |
198 | .owner = THIS_MODULE, | ||
199 | }, | 198 | }, |
200 | .probe = omap_cpufreq_probe, | 199 | .probe = omap_cpufreq_probe, |
201 | .remove = omap_cpufreq_remove, | 200 | .remove = omap_cpufreq_remove, |
diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index 567caa6313ff..b0dac7d6ba31 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers/cpufreq/s5pv210-cpufreq.c | |||
@@ -656,7 +656,6 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev) | |||
656 | static struct platform_driver s5pv210_cpufreq_platdrv = { | 656 | static struct platform_driver s5pv210_cpufreq_platdrv = { |
657 | .driver = { | 657 | .driver = { |
658 | .name = "s5pv210-cpufreq", | 658 | .name = "s5pv210-cpufreq", |
659 | .owner = THIS_MODULE, | ||
660 | }, | 659 | }, |
661 | .probe = s5pv210_cpufreq_probe, | 660 | .probe = s5pv210_cpufreq_probe, |
662 | }; | 661 | }; |
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index 38678396636d..4894924a3ca2 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c | |||
@@ -236,7 +236,6 @@ out_put_node: | |||
236 | static struct platform_driver spear_cpufreq_platdrv = { | 236 | static struct platform_driver spear_cpufreq_platdrv = { |
237 | .driver = { | 237 | .driver = { |
238 | .name = "spear-cpufreq", | 238 | .name = "spear-cpufreq", |
239 | .owner = THIS_MODULE, | ||
240 | }, | 239 | }, |
241 | .probe = spear_cpufreq_probe, | 240 | .probe = spear_cpufreq_probe, |
242 | }; | 241 | }; |
diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c index 7f7c9c01b44e..433e93fd4900 100644 --- a/drivers/cpufreq/vexpress-spc-cpufreq.c +++ b/drivers/cpufreq/vexpress-spc-cpufreq.c | |||
@@ -60,7 +60,6 @@ static int ve_spc_cpufreq_remove(struct platform_device *pdev) | |||
60 | static struct platform_driver ve_spc_cpufreq_platdrv = { | 60 | static struct platform_driver ve_spc_cpufreq_platdrv = { |
61 | .driver = { | 61 | .driver = { |
62 | .name = "vexpress-spc-cpufreq", | 62 | .name = "vexpress-spc-cpufreq", |
63 | .owner = THIS_MODULE, | ||
64 | }, | 63 | }, |
65 | .probe = ve_spc_cpufreq_probe, | 64 | .probe = ve_spc_cpufreq_probe, |
66 | .remove = ve_spc_cpufreq_remove, | 65 | .remove = ve_spc_cpufreq_remove, |
diff --git a/drivers/cpuidle/cpuidle-at91.c b/drivers/cpuidle/cpuidle-at91.c index a0774370c6bc..f63a7d41f4f3 100644 --- a/drivers/cpuidle/cpuidle-at91.c +++ b/drivers/cpuidle/cpuidle-at91.c | |||
@@ -61,7 +61,6 @@ static int at91_cpuidle_probe(struct platform_device *dev) | |||
61 | static struct platform_driver at91_cpuidle_driver = { | 61 | static struct platform_driver at91_cpuidle_driver = { |
62 | .driver = { | 62 | .driver = { |
63 | .name = "cpuidle-at91", | 63 | .name = "cpuidle-at91", |
64 | .owner = THIS_MODULE, | ||
65 | }, | 64 | }, |
66 | .probe = at91_cpuidle_probe, | 65 | .probe = at91_cpuidle_probe, |
67 | }; | 66 | }; |
diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c index 6e51114057d0..11b0466e4a97 100644 --- a/drivers/cpuidle/cpuidle-calxeda.c +++ b/drivers/cpuidle/cpuidle-calxeda.c | |||
@@ -73,7 +73,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev) | |||
73 | static struct platform_driver calxeda_cpuidle_plat_driver = { | 73 | static struct platform_driver calxeda_cpuidle_plat_driver = { |
74 | .driver = { | 74 | .driver = { |
75 | .name = "cpuidle-calxeda", | 75 | .name = "cpuidle-calxeda", |
76 | .owner = THIS_MODULE, | ||
77 | }, | 76 | }, |
78 | .probe = calxeda_cpuidle_probe, | 77 | .probe = calxeda_cpuidle_probe, |
79 | }; | 78 | }; |
diff --git a/drivers/cpuidle/cpuidle-clps711x.c b/drivers/cpuidle/cpuidle-clps711x.c index 5243811daa6e..18a7f7380508 100644 --- a/drivers/cpuidle/cpuidle-clps711x.c +++ b/drivers/cpuidle/cpuidle-clps711x.c | |||
@@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev) | |||
54 | static struct platform_driver clps711x_cpuidle_driver = { | 54 | static struct platform_driver clps711x_cpuidle_driver = { |
55 | .driver = { | 55 | .driver = { |
56 | .name = CLPS711X_CPUIDLE_NAME, | 56 | .name = CLPS711X_CPUIDLE_NAME, |
57 | .owner = THIS_MODULE, | ||
58 | }, | 57 | }, |
59 | }; | 58 | }; |
60 | module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe); | 59 | module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe); |
diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c index ba9b34b579f3..1b64cc97a6a8 100644 --- a/drivers/cpuidle/cpuidle-exynos.c +++ b/drivers/cpuidle/cpuidle-exynos.c | |||
@@ -75,7 +75,6 @@ static struct platform_driver exynos_cpuidle_driver = { | |||
75 | .probe = exynos_cpuidle_probe, | 75 | .probe = exynos_cpuidle_probe, |
76 | .driver = { | 76 | .driver = { |
77 | .name = "exynos_cpuidle", | 77 | .name = "exynos_cpuidle", |
78 | .owner = THIS_MODULE, | ||
79 | }, | 78 | }, |
80 | }; | 79 | }; |
81 | 80 | ||
diff --git a/drivers/cpuidle/cpuidle-kirkwood.c b/drivers/cpuidle/cpuidle-kirkwood.c index 41ba843251b8..10984b4be6df 100644 --- a/drivers/cpuidle/cpuidle-kirkwood.c +++ b/drivers/cpuidle/cpuidle-kirkwood.c | |||
@@ -78,7 +78,6 @@ static struct platform_driver kirkwood_cpuidle_driver = { | |||
78 | .remove = kirkwood_cpuidle_remove, | 78 | .remove = kirkwood_cpuidle_remove, |
79 | .driver = { | 79 | .driver = { |
80 | .name = "kirkwood_cpuidle", | 80 | .name = "kirkwood_cpuidle", |
81 | .owner = THIS_MODULE, | ||
82 | }, | 81 | }, |
83 | }; | 82 | }; |
84 | 83 | ||
diff --git a/drivers/cpuidle/cpuidle-mvebu-v7.c b/drivers/cpuidle/cpuidle-mvebu-v7.c index 45371bb16214..58fa4e9d7049 100644 --- a/drivers/cpuidle/cpuidle-mvebu-v7.c +++ b/drivers/cpuidle/cpuidle-mvebu-v7.c | |||
@@ -118,7 +118,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev) | |||
118 | static struct platform_driver armadaxp_cpuidle_plat_driver = { | 118 | static struct platform_driver armadaxp_cpuidle_plat_driver = { |
119 | .driver = { | 119 | .driver = { |
120 | .name = "cpuidle-armada-xp", | 120 | .name = "cpuidle-armada-xp", |
121 | .owner = THIS_MODULE, | ||
122 | }, | 121 | }, |
123 | .probe = mvebu_v7_cpuidle_probe, | 122 | .probe = mvebu_v7_cpuidle_probe, |
124 | }; | 123 | }; |
@@ -128,7 +127,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver); | |||
128 | static struct platform_driver armada370_cpuidle_plat_driver = { | 127 | static struct platform_driver armada370_cpuidle_plat_driver = { |
129 | .driver = { | 128 | .driver = { |
130 | .name = "cpuidle-armada-370", | 129 | .name = "cpuidle-armada-370", |
131 | .owner = THIS_MODULE, | ||
132 | }, | 130 | }, |
133 | .probe = mvebu_v7_cpuidle_probe, | 131 | .probe = mvebu_v7_cpuidle_probe, |
134 | }; | 132 | }; |
@@ -138,7 +136,6 @@ module_platform_driver(armada370_cpuidle_plat_driver); | |||
138 | static struct platform_driver armada38x_cpuidle_plat_driver = { | 136 | static struct platform_driver armada38x_cpuidle_plat_driver = { |
139 | .driver = { | 137 | .driver = { |
140 | .name = "cpuidle-armada-38x", | 138 | .name = "cpuidle-armada-38x", |
141 | .owner = THIS_MODULE, | ||
142 | }, | 139 | }, |
143 | .probe = mvebu_v7_cpuidle_probe, | 140 | .probe = mvebu_v7_cpuidle_probe, |
144 | }; | 141 | }; |
diff --git a/drivers/cpuidle/cpuidle-ux500.c b/drivers/cpuidle/cpuidle-ux500.c index 5e35804b1a95..56fb729dac64 100644 --- a/drivers/cpuidle/cpuidle-ux500.c +++ b/drivers/cpuidle/cpuidle-ux500.c | |||
@@ -123,7 +123,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev) | |||
123 | static struct platform_driver dbx500_cpuidle_plat_driver = { | 123 | static struct platform_driver dbx500_cpuidle_plat_driver = { |
124 | .driver = { | 124 | .driver = { |
125 | .name = "cpuidle-dbx500", | 125 | .name = "cpuidle-dbx500", |
126 | .owner = THIS_MODULE, | ||
127 | }, | 126 | }, |
128 | .probe = dbx500_cpuidle_probe, | 127 | .probe = dbx500_cpuidle_probe, |
129 | }; | 128 | }; |
diff --git a/drivers/cpuidle/cpuidle-zynq.c b/drivers/cpuidle/cpuidle-zynq.c index c61b8b2a7c77..8396a57790a5 100644 --- a/drivers/cpuidle/cpuidle-zynq.c +++ b/drivers/cpuidle/cpuidle-zynq.c | |||
@@ -72,7 +72,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev) | |||
72 | static struct platform_driver zynq_cpuidle_driver = { | 72 | static struct platform_driver zynq_cpuidle_driver = { |
73 | .driver = { | 73 | .driver = { |
74 | .name = "cpuidle-zynq", | 74 | .name = "cpuidle-zynq", |
75 | .owner = THIS_MODULE, | ||
76 | }, | 75 | }, |
77 | .probe = zynq_cpuidle_probe, | 76 | .probe = zynq_cpuidle_probe, |
78 | }; | 77 | }; |
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index e4c6c58fbb03..d02b77150070 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c | |||
@@ -1288,7 +1288,6 @@ static const struct of_device_id crypto4xx_match[] = { | |||
1288 | static struct platform_driver crypto4xx_driver = { | 1288 | static struct platform_driver crypto4xx_driver = { |
1289 | .driver = { | 1289 | .driver = { |
1290 | .name = "crypto4xx", | 1290 | .name = "crypto4xx", |
1291 | .owner = THIS_MODULE, | ||
1292 | .of_match_table = crypto4xx_match, | 1291 | .of_match_table = crypto4xx_match, |
1293 | }, | 1292 | }, |
1294 | .probe = crypto4xx_probe, | 1293 | .probe = crypto4xx_probe, |
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index a083474991ab..53d1c330f8a8 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c | |||
@@ -1473,7 +1473,6 @@ static struct platform_driver atmel_aes_driver = { | |||
1473 | .remove = atmel_aes_remove, | 1473 | .remove = atmel_aes_remove, |
1474 | .driver = { | 1474 | .driver = { |
1475 | .name = "atmel_aes", | 1475 | .name = "atmel_aes", |
1476 | .owner = THIS_MODULE, | ||
1477 | .of_match_table = of_match_ptr(atmel_aes_dt_ids), | 1476 | .of_match_table = of_match_ptr(atmel_aes_dt_ids), |
1478 | }, | 1477 | }, |
1479 | }; | 1478 | }; |
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c index 9a4f69eaa5e0..d94f07c78e19 100644 --- a/drivers/crypto/atmel-sha.c +++ b/drivers/crypto/atmel-sha.c | |||
@@ -1529,7 +1529,6 @@ static struct platform_driver atmel_sha_driver = { | |||
1529 | .remove = atmel_sha_remove, | 1529 | .remove = atmel_sha_remove, |
1530 | .driver = { | 1530 | .driver = { |
1531 | .name = "atmel_sha", | 1531 | .name = "atmel_sha", |
1532 | .owner = THIS_MODULE, | ||
1533 | .of_match_table = of_match_ptr(atmel_sha_dt_ids), | 1532 | .of_match_table = of_match_ptr(atmel_sha_dt_ids), |
1534 | }, | 1533 | }, |
1535 | }; | 1534 | }; |
diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c index d3a9041938ea..5e7c896cde30 100644 --- a/drivers/crypto/atmel-tdes.c +++ b/drivers/crypto/atmel-tdes.c | |||
@@ -1524,7 +1524,6 @@ static struct platform_driver atmel_tdes_driver = { | |||
1524 | .remove = atmel_tdes_remove, | 1524 | .remove = atmel_tdes_remove, |
1525 | .driver = { | 1525 | .driver = { |
1526 | .name = "atmel_tdes", | 1526 | .name = "atmel_tdes", |
1527 | .owner = THIS_MODULE, | ||
1528 | .of_match_table = of_match_ptr(atmel_tdes_dt_ids), | 1527 | .of_match_table = of_match_ptr(atmel_tdes_dt_ids), |
1529 | }, | 1528 | }, |
1530 | }; | 1529 | }; |
diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c index b099e33cb073..ef5b58ad49ad 100644 --- a/drivers/crypto/bfin_crc.c +++ b/drivers/crypto/bfin_crc.c | |||
@@ -724,7 +724,6 @@ static struct platform_driver bfin_crypto_crc_driver = { | |||
724 | .resume = bfin_crypto_crc_resume, | 724 | .resume = bfin_crypto_crc_resume, |
725 | .driver = { | 725 | .driver = { |
726 | .name = DRIVER_NAME, | 726 | .name = DRIVER_NAME, |
727 | .owner = THIS_MODULE, | ||
728 | }, | 727 | }, |
729 | }; | 728 | }; |
730 | 729 | ||
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 31000c8c4a90..70f1e6f37336 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c | |||
@@ -720,7 +720,6 @@ MODULE_DEVICE_TABLE(of, caam_match); | |||
720 | static struct platform_driver caam_driver = { | 720 | static struct platform_driver caam_driver = { |
721 | .driver = { | 721 | .driver = { |
722 | .name = "caam", | 722 | .name = "caam", |
723 | .owner = THIS_MODULE, | ||
724 | .of_match_table = caam_match, | 723 | .of_match_table = caam_match, |
725 | }, | 724 | }, |
726 | .probe = caam_probe, | 725 | .probe = caam_probe, |
diff --git a/drivers/crypto/caam/jr.c b/drivers/crypto/caam/jr.c index 4d18e27ffa9e..bae20d86e0ad 100644 --- a/drivers/crypto/caam/jr.c +++ b/drivers/crypto/caam/jr.c | |||
@@ -514,7 +514,6 @@ MODULE_DEVICE_TABLE(of, caam_jr_match); | |||
514 | static struct platform_driver caam_jr_driver = { | 514 | static struct platform_driver caam_jr_driver = { |
515 | .driver = { | 515 | .driver = { |
516 | .name = "caam_jr", | 516 | .name = "caam_jr", |
517 | .owner = THIS_MODULE, | ||
518 | .of_match_table = caam_jr_match, | 517 | .of_match_table = caam_jr_match, |
519 | }, | 518 | }, |
520 | .probe = caam_jr_probe, | 519 | .probe = caam_jr_probe, |
diff --git a/drivers/crypto/ccp/ccp-platform.c b/drivers/crypto/ccp/ccp-platform.c index b0a2806908f1..8c50bad25f7e 100644 --- a/drivers/crypto/ccp/ccp-platform.c +++ b/drivers/crypto/ccp/ccp-platform.c | |||
@@ -208,7 +208,6 @@ static const struct of_device_id ccp_platform_ids[] = { | |||
208 | static struct platform_driver ccp_platform_driver = { | 208 | static struct platform_driver ccp_platform_driver = { |
209 | .driver = { | 209 | .driver = { |
210 | .name = "AMD Cryptographic Coprocessor", | 210 | .name = "AMD Cryptographic Coprocessor", |
211 | .owner = THIS_MODULE, | ||
212 | .of_match_table = ccp_platform_ids, | 211 | .of_match_table = ccp_platform_ids, |
213 | }, | 212 | }, |
214 | .probe = ccp_platform_probe, | 213 | .probe = ccp_platform_probe, |
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 032c72c1f953..f91f15ddee92 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -1180,7 +1180,6 @@ static struct platform_driver marvell_crypto = { | |||
1180 | .probe = mv_probe, | 1180 | .probe = mv_probe, |
1181 | .remove = mv_remove, | 1181 | .remove = mv_remove, |
1182 | .driver = { | 1182 | .driver = { |
1183 | .owner = THIS_MODULE, | ||
1184 | .name = "mv_crypto", | 1183 | .name = "mv_crypto", |
1185 | .of_match_table = mv_cesa_of_match_table, | 1184 | .of_match_table = mv_cesa_of_match_table, |
1186 | }, | 1185 | }, |
diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c index b5f7e6db24d4..829d6394fb33 100644 --- a/drivers/crypto/mxs-dcp.c +++ b/drivers/crypto/mxs-dcp.c | |||
@@ -1090,7 +1090,6 @@ static struct platform_driver mxs_dcp_driver = { | |||
1090 | .remove = mxs_dcp_remove, | 1090 | .remove = mxs_dcp_remove, |
1091 | .driver = { | 1091 | .driver = { |
1092 | .name = "mxs-dcp", | 1092 | .name = "mxs-dcp", |
1093 | .owner = THIS_MODULE, | ||
1094 | .of_match_table = mxs_dcp_dt_ids, | 1093 | .of_match_table = mxs_dcp_dt_ids, |
1095 | }, | 1094 | }, |
1096 | }; | 1095 | }; |
diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index f8e3207fecb1..afd136b45f49 100644 --- a/drivers/crypto/n2_core.c +++ b/drivers/crypto/n2_core.c | |||
@@ -2210,7 +2210,6 @@ MODULE_DEVICE_TABLE(of, n2_crypto_match); | |||
2210 | static struct platform_driver n2_crypto_driver = { | 2210 | static struct platform_driver n2_crypto_driver = { |
2211 | .driver = { | 2211 | .driver = { |
2212 | .name = "n2cp", | 2212 | .name = "n2cp", |
2213 | .owner = THIS_MODULE, | ||
2214 | .of_match_table = n2_crypto_match, | 2213 | .of_match_table = n2_crypto_match, |
2215 | }, | 2214 | }, |
2216 | .probe = n2_crypto_probe, | 2215 | .probe = n2_crypto_probe, |
@@ -2238,7 +2237,6 @@ MODULE_DEVICE_TABLE(of, n2_mau_match); | |||
2238 | static struct platform_driver n2_mau_driver = { | 2237 | static struct platform_driver n2_mau_driver = { |
2239 | .driver = { | 2238 | .driver = { |
2240 | .name = "ncp", | 2239 | .name = "ncp", |
2241 | .owner = THIS_MODULE, | ||
2242 | .of_match_table = n2_mau_match, | 2240 | .of_match_table = n2_mau_match, |
2243 | }, | 2241 | }, |
2244 | .probe = n2_mau_probe, | 2242 | .probe = n2_mau_probe, |
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index cb98fa54573d..f79dd410dede 100644 --- a/drivers/crypto/omap-aes.c +++ b/drivers/crypto/omap-aes.c | |||
@@ -1314,7 +1314,6 @@ static struct platform_driver omap_aes_driver = { | |||
1314 | .remove = omap_aes_remove, | 1314 | .remove = omap_aes_remove, |
1315 | .driver = { | 1315 | .driver = { |
1316 | .name = "omap-aes", | 1316 | .name = "omap-aes", |
1317 | .owner = THIS_MODULE, | ||
1318 | .pm = &omap_aes_pm_ops, | 1317 | .pm = &omap_aes_pm_ops, |
1319 | .of_match_table = omap_aes_of_match, | 1318 | .of_match_table = omap_aes_of_match, |
1320 | }, | 1319 | }, |
diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c index b8bc84be8741..e350f5be4d2e 100644 --- a/drivers/crypto/omap-des.c +++ b/drivers/crypto/omap-des.c | |||
@@ -1222,7 +1222,6 @@ static struct platform_driver omap_des_driver = { | |||
1222 | .remove = omap_des_remove, | 1222 | .remove = omap_des_remove, |
1223 | .driver = { | 1223 | .driver = { |
1224 | .name = "omap-des", | 1224 | .name = "omap-des", |
1225 | .owner = THIS_MODULE, | ||
1226 | .pm = &omap_des_pm_ops, | 1225 | .pm = &omap_des_pm_ops, |
1227 | .of_match_table = of_match_ptr(omap_des_of_match), | 1226 | .of_match_table = of_match_ptr(omap_des_of_match), |
1228 | }, | 1227 | }, |
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 24ef48965e45..3c76696ee578 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c | |||
@@ -2029,7 +2029,6 @@ static struct platform_driver omap_sham_driver = { | |||
2029 | .remove = omap_sham_remove, | 2029 | .remove = omap_sham_remove, |
2030 | .driver = { | 2030 | .driver = { |
2031 | .name = "omap-sham", | 2031 | .name = "omap-sham", |
2032 | .owner = THIS_MODULE, | ||
2033 | .pm = &omap_sham_pm_ops, | 2032 | .pm = &omap_sham_pm_ops, |
2034 | .of_match_table = omap_sham_of_match, | 2033 | .of_match_table = omap_sham_of_match, |
2035 | }, | 2034 | }, |
diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 33ae3545dc48..718b32a3112e 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c | |||
@@ -273,7 +273,6 @@ static struct platform_driver qce_crypto_driver = { | |||
273 | .probe = qce_crypto_probe, | 273 | .probe = qce_crypto_probe, |
274 | .remove = qce_crypto_remove, | 274 | .remove = qce_crypto_remove, |
275 | .driver = { | 275 | .driver = { |
276 | .owner = THIS_MODULE, | ||
277 | .name = KBUILD_MODNAME, | 276 | .name = KBUILD_MODNAME, |
278 | .of_match_table = qce_crypto_of_match, | 277 | .of_match_table = qce_crypto_of_match, |
279 | }, | 278 | }, |
diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c index 4197ad9a711b..f214a8755827 100644 --- a/drivers/crypto/s5p-sss.c +++ b/drivers/crypto/s5p-sss.c | |||
@@ -745,7 +745,6 @@ static struct platform_driver s5p_aes_crypto = { | |||
745 | .probe = s5p_aes_probe, | 745 | .probe = s5p_aes_probe, |
746 | .remove = s5p_aes_remove, | 746 | .remove = s5p_aes_remove, |
747 | .driver = { | 747 | .driver = { |
748 | .owner = THIS_MODULE, | ||
749 | .name = "s5p-secss", | 748 | .name = "s5p-secss", |
750 | .of_match_table = s5p_sss_dt_match, | 749 | .of_match_table = s5p_sss_dt_match, |
751 | }, | 750 | }, |
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 164e1ec624e3..8e10a48239b2 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c | |||
@@ -1045,7 +1045,6 @@ static struct platform_driver sahara_driver = { | |||
1045 | .remove = sahara_remove, | 1045 | .remove = sahara_remove, |
1046 | .driver = { | 1046 | .driver = { |
1047 | .name = SAHARA_NAME, | 1047 | .name = SAHARA_NAME, |
1048 | .owner = THIS_MODULE, | ||
1049 | .of_match_table = sahara_dt_ids, | 1048 | .of_match_table = sahara_dt_ids, |
1050 | }, | 1049 | }, |
1051 | .id_table = sahara_platform_ids, | 1050 | .id_table = sahara_platform_ids, |
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 624b8be0c365..067ec2193d71 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c | |||
@@ -2811,7 +2811,6 @@ MODULE_DEVICE_TABLE(of, talitos_match); | |||
2811 | static struct platform_driver talitos_driver = { | 2811 | static struct platform_driver talitos_driver = { |
2812 | .driver = { | 2812 | .driver = { |
2813 | .name = "talitos", | 2813 | .name = "talitos", |
2814 | .owner = THIS_MODULE, | ||
2815 | .of_match_table = talitos_match, | 2814 | .of_match_table = talitos_match, |
2816 | }, | 2815 | }, |
2817 | .probe = talitos_probe, | 2816 | .probe = talitos_probe, |
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c index 92105f3dc8e0..0fff20435e62 100644 --- a/drivers/crypto/ux500/cryp/cryp_core.c +++ b/drivers/crypto/ux500/cryp/cryp_core.c | |||
@@ -1781,7 +1781,6 @@ static struct platform_driver cryp_driver = { | |||
1781 | .remove = ux500_cryp_remove, | 1781 | .remove = ux500_cryp_remove, |
1782 | .shutdown = ux500_cryp_shutdown, | 1782 | .shutdown = ux500_cryp_shutdown, |
1783 | .driver = { | 1783 | .driver = { |
1784 | .owner = THIS_MODULE, | ||
1785 | .name = "cryp1", | 1784 | .name = "cryp1", |
1786 | .of_match_table = ux500_cryp_match, | 1785 | .of_match_table = ux500_cryp_match, |
1787 | .pm = &ux500_cryp_pm, | 1786 | .pm = &ux500_cryp_pm, |
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 1c73f4fbc252..1f5876427455 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c | |||
@@ -1962,7 +1962,6 @@ static struct platform_driver hash_driver = { | |||
1962 | .remove = ux500_hash_remove, | 1962 | .remove = ux500_hash_remove, |
1963 | .shutdown = ux500_hash_shutdown, | 1963 | .shutdown = ux500_hash_shutdown, |
1964 | .driver = { | 1964 | .driver = { |
1965 | .owner = THIS_MODULE, | ||
1966 | .name = "hash1", | 1965 | .name = "hash1", |
1967 | .of_match_table = ux500_hash_match, | 1966 | .of_match_table = ux500_hash_match, |
1968 | .pm = &ux500_hash_pm, | 1967 | .pm = &ux500_hash_pm, |
diff --git a/drivers/devfreq/exynos/exynos4_bus.c b/drivers/devfreq/exynos/exynos4_bus.c index d9b08d3b6830..da9509205169 100644 --- a/drivers/devfreq/exynos/exynos4_bus.c +++ b/drivers/devfreq/exynos/exynos4_bus.c | |||
@@ -1034,7 +1034,6 @@ static struct platform_driver exynos4_busfreq_driver = { | |||
1034 | .id_table = exynos4_busfreq_id, | 1034 | .id_table = exynos4_busfreq_id, |
1035 | .driver = { | 1035 | .driver = { |
1036 | .name = "exynos4-busfreq", | 1036 | .name = "exynos4-busfreq", |
1037 | .owner = THIS_MODULE, | ||
1038 | .pm = &exynos4_busfreq_pm_ops, | 1037 | .pm = &exynos4_busfreq_pm_ops, |
1039 | }, | 1038 | }, |
1040 | }; | 1039 | }; |
diff --git a/drivers/devfreq/exynos/exynos5_bus.c b/drivers/devfreq/exynos/exynos5_bus.c index 6cd0392e2798..297ea30d4159 100644 --- a/drivers/devfreq/exynos/exynos5_bus.c +++ b/drivers/devfreq/exynos/exynos5_bus.c | |||
@@ -393,7 +393,6 @@ static struct platform_driver exynos5_busfreq_int_driver = { | |||
393 | .remove = exynos5_busfreq_int_remove, | 393 | .remove = exynos5_busfreq_int_remove, |
394 | .driver = { | 394 | .driver = { |
395 | .name = "exynos5-bus-int", | 395 | .name = "exynos5-bus-int", |
396 | .owner = THIS_MODULE, | ||
397 | .pm = &exynos5_busfreq_int_pm_ops, | 396 | .pm = &exynos5_busfreq_int_pm_ops, |
398 | }, | 397 | }, |
399 | }; | 398 | }; |
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index 68007974961a..815dbdfdb195 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c | |||
@@ -694,7 +694,6 @@ static struct platform_driver bcm2835_dma_driver = { | |||
694 | .remove = bcm2835_dma_remove, | 694 | .remove = bcm2835_dma_remove, |
695 | .driver = { | 695 | .driver = { |
696 | .name = "bcm2835-dma", | 696 | .name = "bcm2835-dma", |
697 | .owner = THIS_MODULE, | ||
698 | .of_match_table = of_match_ptr(bcm2835_dma_of_match), | 697 | .of_match_table = of_match_ptr(bcm2835_dma_of_match), |
699 | }, | 698 | }, |
700 | }; | 699 | }; |
diff --git a/drivers/dma/bestcomm/bestcomm.c b/drivers/dma/bestcomm/bestcomm.c index a8c2e2994d2e..fa378d88f6c8 100644 --- a/drivers/dma/bestcomm/bestcomm.c +++ b/drivers/dma/bestcomm/bestcomm.c | |||
@@ -495,7 +495,6 @@ static struct platform_driver mpc52xx_bcom_of_platform_driver = { | |||
495 | .remove = mpc52xx_bcom_remove, | 495 | .remove = mpc52xx_bcom_remove, |
496 | .driver = { | 496 | .driver = { |
497 | .name = DRIVER_NAME, | 497 | .name = DRIVER_NAME, |
498 | .owner = THIS_MODULE, | ||
499 | .of_match_table = mpc52xx_bcom_of_match, | 498 | .of_match_table = mpc52xx_bcom_of_match, |
500 | }, | 499 | }, |
501 | }; | 500 | }; |
diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c index a58eec3b2cad..cf7633f6d474 100644 --- a/drivers/dma/cppi41.c +++ b/drivers/dma/cppi41.c | |||
@@ -1088,7 +1088,6 @@ static struct platform_driver cpp41_dma_driver = { | |||
1088 | .remove = cppi41_dma_remove, | 1088 | .remove = cppi41_dma_remove, |
1089 | .driver = { | 1089 | .driver = { |
1090 | .name = "cppi41-dma-engine", | 1090 | .name = "cppi41-dma-engine", |
1091 | .owner = THIS_MODULE, | ||
1092 | .pm = &cppi41_pm_ops, | 1091 | .pm = &cppi41_pm_ops, |
1093 | .of_match_table = of_match_ptr(cppi41_dma_ids), | 1092 | .of_match_table = of_match_ptr(cppi41_dma_ids), |
1094 | }, | 1093 | }, |
diff --git a/drivers/dma/dma-jz4740.c b/drivers/dma/dma-jz4740.c index ae2ab14e64b3..8605ed10c96a 100644 --- a/drivers/dma/dma-jz4740.c +++ b/drivers/dma/dma-jz4740.c | |||
@@ -608,7 +608,6 @@ static struct platform_driver jz4740_dma_driver = { | |||
608 | .remove = jz4740_dma_remove, | 608 | .remove = jz4740_dma_remove, |
609 | .driver = { | 609 | .driver = { |
610 | .name = "jz4740-dma", | 610 | .name = "jz4740-dma", |
611 | .owner = THIS_MODULE, | ||
612 | }, | 611 | }, |
613 | }; | 612 | }; |
614 | module_platform_driver(jz4740_dma_driver); | 613 | module_platform_driver(jz4740_dma_driver); |
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index 123f578d6dd3..fd455979cc9f 100644 --- a/drivers/dma/edma.c +++ b/drivers/dma/edma.c | |||
@@ -1092,7 +1092,6 @@ static struct platform_driver edma_driver = { | |||
1092 | .remove = edma_remove, | 1092 | .remove = edma_remove, |
1093 | .driver = { | 1093 | .driver = { |
1094 | .name = "edma-dma-engine", | 1094 | .name = "edma-dma-engine", |
1095 | .owner = THIS_MODULE, | ||
1096 | }, | 1095 | }, |
1097 | }; | 1096 | }; |
1098 | 1097 | ||
diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c index 3c5711d5fe97..a38e5d24db0d 100644 --- a/drivers/dma/fsl-edma.c +++ b/drivers/dma/fsl-edma.c | |||
@@ -963,7 +963,6 @@ MODULE_DEVICE_TABLE(of, fsl_edma_dt_ids); | |||
963 | static struct platform_driver fsl_edma_driver = { | 963 | static struct platform_driver fsl_edma_driver = { |
964 | .driver = { | 964 | .driver = { |
965 | .name = "fsl-edma", | 965 | .name = "fsl-edma", |
966 | .owner = THIS_MODULE, | ||
967 | .of_match_table = fsl_edma_dt_ids, | 966 | .of_match_table = fsl_edma_dt_ids, |
968 | }, | 967 | }, |
969 | .probe = fsl_edma_probe, | 968 | .probe = fsl_edma_probe, |
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 994bcb2c6b92..de3da031ff18 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c | |||
@@ -1540,7 +1540,6 @@ static const struct of_device_id fsldma_of_ids[] = { | |||
1540 | static struct platform_driver fsldma_of_driver = { | 1540 | static struct platform_driver fsldma_of_driver = { |
1541 | .driver = { | 1541 | .driver = { |
1542 | .name = "fsl-elo-dma", | 1542 | .name = "fsl-elo-dma", |
1543 | .owner = THIS_MODULE, | ||
1544 | .of_match_table = fsldma_of_ids, | 1543 | .of_match_table = fsldma_of_ids, |
1545 | #ifdef CONFIG_PM | 1544 | #ifdef CONFIG_PM |
1546 | .pm = &fsldma_pm_ops, | 1545 | .pm = &fsldma_pm_ops, |
diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index 9d2c9e7374dc..10bbc0a675b0 100644 --- a/drivers/dma/imx-dma.c +++ b/drivers/dma/imx-dma.c | |||
@@ -1236,7 +1236,6 @@ static int imxdma_remove(struct platform_device *pdev) | |||
1236 | static struct platform_driver imxdma_driver = { | 1236 | static struct platform_driver imxdma_driver = { |
1237 | .driver = { | 1237 | .driver = { |
1238 | .name = "imx-dma", | 1238 | .name = "imx-dma", |
1239 | .owner = THIS_MODULE, | ||
1240 | .of_match_table = imx_dma_of_dev_id, | 1239 | .of_match_table = imx_dma_of_dev_id, |
1241 | }, | 1240 | }, |
1242 | .id_table = imx_dma_devtype, | 1241 | .id_table = imx_dma_devtype, |
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c index c56137bc3868..263d9f6a207e 100644 --- a/drivers/dma/iop-adma.c +++ b/drivers/dma/iop-adma.c | |||
@@ -1557,7 +1557,6 @@ static struct platform_driver iop_adma_driver = { | |||
1557 | .probe = iop_adma_probe, | 1557 | .probe = iop_adma_probe, |
1558 | .remove = iop_adma_remove, | 1558 | .remove = iop_adma_remove, |
1559 | .driver = { | 1559 | .driver = { |
1560 | .owner = THIS_MODULE, | ||
1561 | .name = "iop-adma", | 1560 | .name = "iop-adma", |
1562 | }, | 1561 | }, |
1563 | }; | 1562 | }; |
diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c index bbf62927bd72..c2b017ad139d 100644 --- a/drivers/dma/ipu/ipu_idmac.c +++ b/drivers/dma/ipu/ipu_idmac.c | |||
@@ -1783,7 +1783,6 @@ static int ipu_remove(struct platform_device *pdev) | |||
1783 | static struct platform_driver ipu_platform_driver = { | 1783 | static struct platform_driver ipu_platform_driver = { |
1784 | .driver = { | 1784 | .driver = { |
1785 | .name = "ipu-core", | 1785 | .name = "ipu-core", |
1786 | .owner = THIS_MODULE, | ||
1787 | }, | 1786 | }, |
1788 | .remove = ipu_remove, | 1787 | .remove = ipu_remove, |
1789 | }; | 1788 | }; |
diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index a1f911aaf220..9349021cb74c 100644 --- a/drivers/dma/k3dma.c +++ b/drivers/dma/k3dma.c | |||
@@ -822,7 +822,6 @@ static SIMPLE_DEV_PM_OPS(k3_dma_pmops, k3_dma_suspend, k3_dma_resume); | |||
822 | static struct platform_driver k3_pdma_driver = { | 822 | static struct platform_driver k3_pdma_driver = { |
823 | .driver = { | 823 | .driver = { |
824 | .name = DRIVER_NAME, | 824 | .name = DRIVER_NAME, |
825 | .owner = THIS_MODULE, | ||
826 | .pm = &k3_dma_pmops, | 825 | .pm = &k3_dma_pmops, |
827 | .of_match_table = k3_pdma_dt_ids, | 826 | .of_match_table = k3_pdma_dt_ids, |
828 | }, | 827 | }, |
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index a1a4db5721b8..8b8952f35e6c 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c | |||
@@ -1098,7 +1098,6 @@ static const struct platform_device_id mmp_pdma_id_table[] = { | |||
1098 | static struct platform_driver mmp_pdma_driver = { | 1098 | static struct platform_driver mmp_pdma_driver = { |
1099 | .driver = { | 1099 | .driver = { |
1100 | .name = "mmp-pdma", | 1100 | .name = "mmp-pdma", |
1101 | .owner = THIS_MODULE, | ||
1102 | .of_match_table = mmp_pdma_dt_ids, | 1101 | .of_match_table = mmp_pdma_dt_ids, |
1103 | }, | 1102 | }, |
1104 | .id_table = mmp_pdma_id_table, | 1103 | .id_table = mmp_pdma_id_table, |
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index c6bd015b7165..bfb46957c3dc 100644 --- a/drivers/dma/mmp_tdma.c +++ b/drivers/dma/mmp_tdma.c | |||
@@ -703,7 +703,6 @@ static const struct platform_device_id mmp_tdma_id_table[] = { | |||
703 | static struct platform_driver mmp_tdma_driver = { | 703 | static struct platform_driver mmp_tdma_driver = { |
704 | .driver = { | 704 | .driver = { |
705 | .name = "mmp-tdma", | 705 | .name = "mmp-tdma", |
706 | .owner = THIS_MODULE, | ||
707 | .of_match_table = mmp_tdma_dt_ids, | 706 | .of_match_table = mmp_tdma_dt_ids, |
708 | }, | 707 | }, |
709 | .id_table = mmp_tdma_id_table, | 708 | .id_table = mmp_tdma_id_table, |
diff --git a/drivers/dma/moxart-dma.c b/drivers/dma/moxart-dma.c index 3258e484e4f6..53032bac06e0 100644 --- a/drivers/dma/moxart-dma.c +++ b/drivers/dma/moxart-dma.c | |||
@@ -677,7 +677,6 @@ static struct platform_driver moxart_driver = { | |||
677 | .remove = moxart_remove, | 677 | .remove = moxart_remove, |
678 | .driver = { | 678 | .driver = { |
679 | .name = "moxart-dma-engine", | 679 | .name = "moxart-dma-engine", |
680 | .owner = THIS_MODULE, | ||
681 | .of_match_table = moxart_dma_match, | 680 | .of_match_table = moxart_dma_match, |
682 | }, | 681 | }, |
683 | }; | 682 | }; |
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c index 881db2bcb48b..586d52c86477 100644 --- a/drivers/dma/mpc512x_dma.c +++ b/drivers/dma/mpc512x_dma.c | |||
@@ -1090,7 +1090,6 @@ static struct platform_driver mpc_dma_driver = { | |||
1090 | .remove = mpc_dma_remove, | 1090 | .remove = mpc_dma_remove, |
1091 | .driver = { | 1091 | .driver = { |
1092 | .name = DRV_NAME, | 1092 | .name = DRV_NAME, |
1093 | .owner = THIS_MODULE, | ||
1094 | .of_match_table = mpc_dma_match, | 1093 | .of_match_table = mpc_dma_match, |
1095 | }, | 1094 | }, |
1096 | }; | 1095 | }; |
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index a63837ca1410..d7ac558c2c1c 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -1269,7 +1269,6 @@ static struct platform_driver mv_xor_driver = { | |||
1269 | .probe = mv_xor_probe, | 1269 | .probe = mv_xor_probe, |
1270 | .remove = mv_xor_remove, | 1270 | .remove = mv_xor_remove, |
1271 | .driver = { | 1271 | .driver = { |
1272 | .owner = THIS_MODULE, | ||
1273 | .name = MV_XOR_NAME, | 1272 | .name = MV_XOR_NAME, |
1274 | .of_match_table = of_match_ptr(mv_xor_dt_ids), | 1273 | .of_match_table = of_match_ptr(mv_xor_dt_ids), |
1275 | }, | 1274 | }, |
diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index 5aeada56a442..a7a36835a233 100644 --- a/drivers/dma/nbpfaxi.c +++ b/drivers/dma/nbpfaxi.c | |||
@@ -1500,7 +1500,6 @@ static const struct dev_pm_ops nbpf_pm_ops = { | |||
1500 | 1500 | ||
1501 | static struct platform_driver nbpf_driver = { | 1501 | static struct platform_driver nbpf_driver = { |
1502 | .driver = { | 1502 | .driver = { |
1503 | .owner = THIS_MODULE, | ||
1504 | .name = "dma-nbpf", | 1503 | .name = "dma-nbpf", |
1505 | .of_match_table = nbpf_match, | 1504 | .of_match_table = nbpf_match, |
1506 | .pm = &nbpf_pm_ops, | 1505 | .pm = &nbpf_pm_ops, |
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index bbea8243f9e8..7ff73a249502 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c | |||
@@ -1233,7 +1233,6 @@ static struct platform_driver omap_dma_driver = { | |||
1233 | .remove = omap_dma_remove, | 1233 | .remove = omap_dma_remove, |
1234 | .driver = { | 1234 | .driver = { |
1235 | .name = "omap-dma-engine", | 1235 | .name = "omap-dma-engine", |
1236 | .owner = THIS_MODULE, | ||
1237 | .of_match_table = of_match_ptr(omap_dma_match), | 1236 | .of_match_table = of_match_ptr(omap_dma_match), |
1238 | }, | 1237 | }, |
1239 | }; | 1238 | }; |
diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c index ce7a8d7564ba..fa764a39cd36 100644 --- a/drivers/dma/ppc4xx/adma.c +++ b/drivers/dma/ppc4xx/adma.c | |||
@@ -4579,7 +4579,6 @@ static struct platform_driver ppc440spe_adma_driver = { | |||
4579 | .remove = ppc440spe_adma_remove, | 4579 | .remove = ppc440spe_adma_remove, |
4580 | .driver = { | 4580 | .driver = { |
4581 | .name = "PPC440SP(E)-ADMA", | 4581 | .name = "PPC440SP(E)-ADMA", |
4582 | .owner = THIS_MODULE, | ||
4583 | .of_match_table = ppc440spe_adma_of_match, | 4582 | .of_match_table = ppc440spe_adma_of_match, |
4584 | }, | 4583 | }, |
4585 | }; | 4584 | }; |
diff --git a/drivers/dma/qcom_bam_dma.c b/drivers/dma/qcom_bam_dma.c index 7a4bbb0f80a5..9d7b5542397c 100644 --- a/drivers/dma/qcom_bam_dma.c +++ b/drivers/dma/qcom_bam_dma.c | |||
@@ -1115,7 +1115,6 @@ static struct platform_driver bam_dma_driver = { | |||
1115 | .remove = bam_dma_remove, | 1115 | .remove = bam_dma_remove, |
1116 | .driver = { | 1116 | .driver = { |
1117 | .name = "bam-dma-engine", | 1117 | .name = "bam-dma-engine", |
1118 | .owner = THIS_MODULE, | ||
1119 | .of_match_table = bam_of_match, | 1118 | .of_match_table = bam_of_match, |
1120 | }, | 1119 | }, |
1121 | }; | 1120 | }; |
diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 7416572d1e40..6941a77521c3 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers/dma/s3c24xx-dma.c | |||
@@ -1402,7 +1402,6 @@ static int s3c24xx_dma_remove(struct platform_device *pdev) | |||
1402 | static struct platform_driver s3c24xx_dma_driver = { | 1402 | static struct platform_driver s3c24xx_dma_driver = { |
1403 | .driver = { | 1403 | .driver = { |
1404 | .name = "s3c24xx-dma", | 1404 | .name = "s3c24xx-dma", |
1405 | .owner = THIS_MODULE, | ||
1406 | }, | 1405 | }, |
1407 | .id_table = s3c24xx_dma_driver_ids, | 1406 | .id_table = s3c24xx_dma_driver_ids, |
1408 | .probe = s3c24xx_dma_probe, | 1407 | .probe = s3c24xx_dma_probe, |
diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c index 4b0ef043729a..94f2be30412e 100644 --- a/drivers/dma/sa11x0-dma.c +++ b/drivers/dma/sa11x0-dma.c | |||
@@ -1064,7 +1064,6 @@ static const struct dev_pm_ops sa11x0_dma_pm_ops = { | |||
1064 | static struct platform_driver sa11x0_dma_driver = { | 1064 | static struct platform_driver sa11x0_dma_driver = { |
1065 | .driver = { | 1065 | .driver = { |
1066 | .name = "sa11x0-dma", | 1066 | .name = "sa11x0-dma", |
1067 | .owner = THIS_MODULE, | ||
1068 | .pm = &sa11x0_dma_pm_ops, | 1067 | .pm = &sa11x0_dma_pm_ops, |
1069 | }, | 1068 | }, |
1070 | .probe = sa11x0_dma_probe, | 1069 | .probe = sa11x0_dma_probe, |
diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c index 80fd2aeb4870..02979d5199d0 100644 --- a/drivers/dma/sh/rcar-audmapp.c +++ b/drivers/dma/sh/rcar-audmapp.c | |||
@@ -367,7 +367,6 @@ static struct platform_driver audmapp_driver = { | |||
367 | .probe = audmapp_probe, | 367 | .probe = audmapp_probe, |
368 | .remove = audmapp_remove, | 368 | .remove = audmapp_remove, |
369 | .driver = { | 369 | .driver = { |
370 | .owner = THIS_MODULE, | ||
371 | .name = "rcar-audmapp-engine", | 370 | .name = "rcar-audmapp-engine", |
372 | .of_match_table = audmapp_of_match, | 371 | .of_match_table = audmapp_of_match, |
373 | }, | 372 | }, |
diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c index b212d9471ab5..fe83320d7b57 100644 --- a/drivers/dma/sh/rcar-hpbdma.c +++ b/drivers/dma/sh/rcar-hpbdma.c | |||
@@ -655,7 +655,6 @@ static struct platform_driver hpb_dmae_driver = { | |||
655 | .remove = hpb_dmae_remove, | 655 | .remove = hpb_dmae_remove, |
656 | .shutdown = hpb_dmae_shutdown, | 656 | .shutdown = hpb_dmae_shutdown, |
657 | .driver = { | 657 | .driver = { |
658 | .owner = THIS_MODULE, | ||
659 | .name = "hpb-dma-engine", | 658 | .name = "hpb-dma-engine", |
660 | }, | 659 | }, |
661 | }; | 660 | }; |
diff --git a/drivers/dma/sh/shdma-of.c b/drivers/dma/sh/shdma-of.c index b4ff9d3e56d1..f999f9b0d314 100644 --- a/drivers/dma/sh/shdma-of.c +++ b/drivers/dma/sh/shdma-of.c | |||
@@ -66,7 +66,6 @@ MODULE_DEVICE_TABLE(of, sh_dmae_of_match); | |||
66 | 66 | ||
67 | static struct platform_driver shdma_of = { | 67 | static struct platform_driver shdma_of = { |
68 | .driver = { | 68 | .driver = { |
69 | .owner = THIS_MODULE, | ||
70 | .name = "shdma-of", | 69 | .name = "shdma-of", |
71 | .of_match_table = shdma_of_match, | 70 | .of_match_table = shdma_of_match, |
72 | }, | 71 | }, |
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index 58eb85770eba..1b1d252f938e 100644 --- a/drivers/dma/sh/shdmac.c +++ b/drivers/dma/sh/shdmac.c | |||
@@ -925,7 +925,6 @@ static int sh_dmae_remove(struct platform_device *pdev) | |||
925 | 925 | ||
926 | static struct platform_driver sh_dmae_driver = { | 926 | static struct platform_driver sh_dmae_driver = { |
927 | .driver = { | 927 | .driver = { |
928 | .owner = THIS_MODULE, | ||
929 | .pm = &sh_dmae_pm, | 928 | .pm = &sh_dmae_pm, |
930 | .name = SH_DMAE_DRV_NAME, | 929 | .name = SH_DMAE_DRV_NAME, |
931 | .of_match_table = sh_dmae_of_match, | 930 | .of_match_table = sh_dmae_of_match, |
diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c index 3ce103909896..2d7a480aa749 100644 --- a/drivers/dma/sh/sudmac.c +++ b/drivers/dma/sh/sudmac.c | |||
@@ -411,7 +411,6 @@ static int sudmac_remove(struct platform_device *pdev) | |||
411 | 411 | ||
412 | static struct platform_driver sudmac_driver = { | 412 | static struct platform_driver sudmac_driver = { |
413 | .driver = { | 413 | .driver = { |
414 | .owner = THIS_MODULE, | ||
415 | .name = SUDMAC_DRV_NAME, | 414 | .name = SUDMAC_DRV_NAME, |
416 | }, | 415 | }, |
417 | .probe = sudmac_probe, | 416 | .probe = sudmac_probe, |
diff --git a/drivers/dma/sirf-dma.c b/drivers/dma/sirf-dma.c index aac03ab10c54..981880ffe276 100644 --- a/drivers/dma/sirf-dma.c +++ b/drivers/dma/sirf-dma.c | |||
@@ -933,7 +933,6 @@ static struct platform_driver sirfsoc_dma_driver = { | |||
933 | .remove = sirfsoc_dma_remove, | 933 | .remove = sirfsoc_dma_remove, |
934 | .driver = { | 934 | .driver = { |
935 | .name = DRV_NAME, | 935 | .name = DRV_NAME, |
936 | .owner = THIS_MODULE, | ||
937 | .pm = &sirfsoc_dma_pm_ops, | 936 | .pm = &sirfsoc_dma_pm_ops, |
938 | .of_match_table = sirfsoc_dma_match, | 937 | .of_match_table = sirfsoc_dma_match, |
939 | }, | 938 | }, |
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 5fe59335e247..7de218c3ed91 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -3749,7 +3749,6 @@ static const struct of_device_id d40_match[] = { | |||
3749 | 3749 | ||
3750 | static struct platform_driver d40_driver = { | 3750 | static struct platform_driver d40_driver = { |
3751 | .driver = { | 3751 | .driver = { |
3752 | .owner = THIS_MODULE, | ||
3753 | .name = D40_NAME, | 3752 | .name = D40_NAME, |
3754 | .pm = &dma40_pm_ops, | 3753 | .pm = &dma40_pm_ops, |
3755 | .of_match_table = d40_match, | 3754 | .of_match_table = d40_match, |
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index 16efa603ff65..a6c0b3f68393 100644 --- a/drivers/dma/tegra20-apb-dma.c +++ b/drivers/dma/tegra20-apb-dma.c | |||
@@ -1597,7 +1597,6 @@ static const struct dev_pm_ops tegra_dma_dev_pm_ops = { | |||
1597 | static struct platform_driver tegra_dmac_driver = { | 1597 | static struct platform_driver tegra_dmac_driver = { |
1598 | .driver = { | 1598 | .driver = { |
1599 | .name = "tegra-apbdma", | 1599 | .name = "tegra-apbdma", |
1600 | .owner = THIS_MODULE, | ||
1601 | .pm = &tegra_dma_dev_pm_ops, | 1600 | .pm = &tegra_dma_dev_pm_ops, |
1602 | .of_match_table = tegra_dma_of_match, | 1601 | .of_match_table = tegra_dma_of_match, |
1603 | }, | 1602 | }, |
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c index 4506a7b4f972..2407ccf1a64b 100644 --- a/drivers/dma/timb_dma.c +++ b/drivers/dma/timb_dma.c | |||
@@ -783,7 +783,6 @@ static int td_remove(struct platform_device *pdev) | |||
783 | static struct platform_driver td_driver = { | 783 | static struct platform_driver td_driver = { |
784 | .driver = { | 784 | .driver = { |
785 | .name = DRIVER_NAME, | 785 | .name = DRIVER_NAME, |
786 | .owner = THIS_MODULE, | ||
787 | }, | 786 | }, |
788 | .probe = td_probe, | 787 | .probe = td_probe, |
789 | .remove = td_remove, | 788 | .remove = td_remove, |
diff --git a/drivers/edac/cell_edac.c b/drivers/edac/cell_edac.c index a12c8552f6a6..a9259b069dcd 100644 --- a/drivers/edac/cell_edac.c +++ b/drivers/edac/cell_edac.c | |||
@@ -245,7 +245,6 @@ static int cell_edac_remove(struct platform_device *pdev) | |||
245 | static struct platform_driver cell_edac_driver = { | 245 | static struct platform_driver cell_edac_driver = { |
246 | .driver = { | 246 | .driver = { |
247 | .name = "cbe-mic", | 247 | .name = "cbe-mic", |
248 | .owner = THIS_MODULE, | ||
249 | }, | 248 | }, |
250 | .probe = cell_edac_probe, | 249 | .probe = cell_edac_probe, |
251 | .remove = cell_edac_remove, | 250 | .remove = cell_edac_remove, |
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 7d3742edbaa2..ffb1a9a15ccd 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c | |||
@@ -715,7 +715,6 @@ static struct platform_driver mpc85xx_l2_err_driver = { | |||
715 | .remove = mpc85xx_l2_err_remove, | 715 | .remove = mpc85xx_l2_err_remove, |
716 | .driver = { | 716 | .driver = { |
717 | .name = "mpc85xx_l2_err", | 717 | .name = "mpc85xx_l2_err", |
718 | .owner = THIS_MODULE, | ||
719 | .of_match_table = mpc85xx_l2_err_of_match, | 718 | .of_match_table = mpc85xx_l2_err_of_match, |
720 | }, | 719 | }, |
721 | }; | 720 | }; |
@@ -1215,7 +1214,6 @@ static struct platform_driver mpc85xx_mc_err_driver = { | |||
1215 | .remove = mpc85xx_mc_err_remove, | 1214 | .remove = mpc85xx_mc_err_remove, |
1216 | .driver = { | 1215 | .driver = { |
1217 | .name = "mpc85xx_mc_err", | 1216 | .name = "mpc85xx_mc_err", |
1218 | .owner = THIS_MODULE, | ||
1219 | .of_match_table = mpc85xx_mc_err_of_match, | 1217 | .of_match_table = mpc85xx_mc_err_of_match, |
1220 | }, | 1218 | }, |
1221 | }; | 1219 | }; |
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c index 0f04d5ead521..6ffd475b3d4a 100644 --- a/drivers/edac/ppc4xx_edac.c +++ b/drivers/edac/ppc4xx_edac.c | |||
@@ -204,7 +204,6 @@ static struct platform_driver ppc4xx_edac_driver = { | |||
204 | .probe = ppc4xx_edac_probe, | 204 | .probe = ppc4xx_edac_probe, |
205 | .remove = ppc4xx_edac_remove, | 205 | .remove = ppc4xx_edac_remove, |
206 | .driver = { | 206 | .driver = { |
207 | .owner = THIS_MODULE, | ||
208 | .name = PPC4XX_EDAC_MODULE_NAME, | 207 | .name = PPC4XX_EDAC_MODULE_NAME, |
209 | .of_match_table = ppc4xx_edac_match, | 208 | .of_match_table = ppc4xx_edac_match, |
210 | }, | 209 | }, |
diff --git a/drivers/edac/tile_edac.c b/drivers/edac/tile_edac.c index 578f915ee195..71381642ce2a 100644 --- a/drivers/edac/tile_edac.c +++ b/drivers/edac/tile_edac.c | |||
@@ -199,7 +199,6 @@ static int tile_edac_mc_remove(struct platform_device *pdev) | |||
199 | static struct platform_driver tile_edac_mc_driver = { | 199 | static struct platform_driver tile_edac_mc_driver = { |
200 | .driver = { | 200 | .driver = { |
201 | .name = DRV_NAME, | 201 | .name = DRV_NAME, |
202 | .owner = THIS_MODULE, | ||
203 | }, | 202 | }, |
204 | .probe = tile_edac_mc_probe, | 203 | .probe = tile_edac_mc_probe, |
205 | .remove = tile_edac_mc_remove, | 204 | .remove = tile_edac_mc_remove, |
diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon-adc-jack.c index d860229e4de1..5d7ab577fba9 100644 --- a/drivers/extcon/extcon-adc-jack.c +++ b/drivers/extcon/extcon-adc-jack.c | |||
@@ -182,7 +182,6 @@ static struct platform_driver adc_jack_driver = { | |||
182 | .remove = adc_jack_remove, | 182 | .remove = adc_jack_remove, |
183 | .driver = { | 183 | .driver = { |
184 | .name = "adc-jack", | 184 | .name = "adc-jack", |
185 | .owner = THIS_MODULE, | ||
186 | }, | 185 | }, |
187 | }; | 186 | }; |
188 | 187 | ||
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index ba51588cc000..63f01c42aed4 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -1469,7 +1469,6 @@ static int arizona_extcon_remove(struct platform_device *pdev) | |||
1469 | static struct platform_driver arizona_extcon_driver = { | 1469 | static struct platform_driver arizona_extcon_driver = { |
1470 | .driver = { | 1470 | .driver = { |
1471 | .name = "arizona-extcon", | 1471 | .name = "arizona-extcon", |
1472 | .owner = THIS_MODULE, | ||
1473 | }, | 1472 | }, |
1474 | .probe = arizona_extcon_probe, | 1473 | .probe = arizona_extcon_probe, |
1475 | .remove = arizona_extcon_remove, | 1474 | .remove = arizona_extcon_remove, |
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index 72f19a37fd01..7af33fc433cd 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c | |||
@@ -181,7 +181,6 @@ static struct platform_driver gpio_extcon_driver = { | |||
181 | .remove = gpio_extcon_remove, | 181 | .remove = gpio_extcon_remove, |
182 | .driver = { | 182 | .driver = { |
183 | .name = "extcon-gpio", | 183 | .name = "extcon-gpio", |
184 | .owner = THIS_MODULE, | ||
185 | .pm = &gpio_extcon_pm_ops, | 184 | .pm = &gpio_extcon_pm_ops, |
186 | }, | 185 | }, |
187 | }; | 186 | }; |
diff --git a/drivers/extcon/extcon-max14577.c b/drivers/extcon/extcon-max14577.c index 7309743d0da1..dfc2fd370eb3 100644 --- a/drivers/extcon/extcon-max14577.c +++ b/drivers/extcon/extcon-max14577.c | |||
@@ -807,7 +807,6 @@ MODULE_DEVICE_TABLE(platform, max14577_muic_id); | |||
807 | static struct platform_driver max14577_muic_driver = { | 807 | static struct platform_driver max14577_muic_driver = { |
808 | .driver = { | 808 | .driver = { |
809 | .name = "max14577-muic", | 809 | .name = "max14577-muic", |
810 | .owner = THIS_MODULE, | ||
811 | }, | 810 | }, |
812 | .probe = max14577_muic_probe, | 811 | .probe = max14577_muic_probe, |
813 | .remove = max14577_muic_remove, | 812 | .remove = max14577_muic_remove, |
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 490e27475bac..5bf5c5e66f16 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c | |||
@@ -1301,7 +1301,6 @@ static int max77693_muic_remove(struct platform_device *pdev) | |||
1301 | static struct platform_driver max77693_muic_driver = { | 1301 | static struct platform_driver max77693_muic_driver = { |
1302 | .driver = { | 1302 | .driver = { |
1303 | .name = DEV_NAME, | 1303 | .name = DEV_NAME, |
1304 | .owner = THIS_MODULE, | ||
1305 | }, | 1304 | }, |
1306 | .probe = max77693_muic_probe, | 1305 | .probe = max77693_muic_probe, |
1307 | .remove = max77693_muic_remove, | 1306 | .remove = max77693_muic_remove, |
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 75e501c98005..fc1678fa95c4 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c | |||
@@ -792,7 +792,6 @@ static int max8997_muic_remove(struct platform_device *pdev) | |||
792 | static struct platform_driver max8997_muic_driver = { | 792 | static struct platform_driver max8997_muic_driver = { |
793 | .driver = { | 793 | .driver = { |
794 | .name = DEV_NAME, | 794 | .name = DEV_NAME, |
795 | .owner = THIS_MODULE, | ||
796 | }, | 795 | }, |
797 | .probe = max8997_muic_probe, | 796 | .probe = max8997_muic_probe, |
798 | .remove = max8997_muic_remove, | 797 | .remove = max8997_muic_remove, |
diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index 230e1220ce48..11c6757b6c40 100644 --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c | |||
@@ -291,7 +291,6 @@ static struct platform_driver palmas_usb_driver = { | |||
291 | .driver = { | 291 | .driver = { |
292 | .name = "palmas-usb", | 292 | .name = "palmas-usb", |
293 | .of_match_table = of_palmas_match_tbl, | 293 | .of_match_table = of_palmas_match_tbl, |
294 | .owner = THIS_MODULE, | ||
295 | .pm = &palmas_pm_ops, | 294 | .pm = &palmas_pm_ops, |
296 | }, | 295 | }, |
297 | }; | 296 | }; |
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c index 7160c43c59fc..829eec8959f2 100644 --- a/drivers/firmware/dcdbas.c +++ b/drivers/firmware/dcdbas.c | |||
@@ -578,7 +578,6 @@ static int dcdbas_remove(struct platform_device *dev) | |||
578 | static struct platform_driver dcdbas_driver = { | 578 | static struct platform_driver dcdbas_driver = { |
579 | .driver = { | 579 | .driver = { |
580 | .name = DRIVER_NAME, | 580 | .name = DRIVER_NAME, |
581 | .owner = THIS_MODULE, | ||
582 | }, | 581 | }, |
583 | .probe = dcdbas_probe, | 582 | .probe = dcdbas_probe, |
584 | .remove = dcdbas_remove, | 583 | .remove = dcdbas_remove, |
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c index b08bd169e568..caff711ca5a9 100644 --- a/drivers/gpio/gpio-adp5520.c +++ b/drivers/gpio/gpio-adp5520.c | |||
@@ -177,7 +177,6 @@ static int adp5520_gpio_remove(struct platform_device *pdev) | |||
177 | static struct platform_driver adp5520_gpio_driver = { | 177 | static struct platform_driver adp5520_gpio_driver = { |
178 | .driver = { | 178 | .driver = { |
179 | .name = "adp5520-gpio", | 179 | .name = "adp5520-gpio", |
180 | .owner = THIS_MODULE, | ||
181 | }, | 180 | }, |
182 | .probe = adp5520_gpio_probe, | 181 | .probe = adp5520_gpio_probe, |
183 | .remove = adp5520_gpio_remove, | 182 | .remove = adp5520_gpio_remove, |
diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index de0801e9767a..9fc05581cbd6 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c | |||
@@ -668,7 +668,6 @@ err_irq_domain: | |||
668 | static struct platform_driver bcm_kona_gpio_driver = { | 668 | static struct platform_driver bcm_kona_gpio_driver = { |
669 | .driver = { | 669 | .driver = { |
670 | .name = "bcm-kona-gpio", | 670 | .name = "bcm-kona-gpio", |
671 | .owner = THIS_MODULE, | ||
672 | .of_match_table = bcm_kona_gpio_of_match, | 671 | .of_match_table = bcm_kona_gpio_of_match, |
673 | }, | 672 | }, |
674 | .probe = bcm_kona_gpio_probe, | 673 | .probe = bcm_kona_gpio_probe, |
diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c index e1e861239e95..b6908f1ff1ab 100644 --- a/drivers/gpio/gpio-clps711x.c +++ b/drivers/gpio/gpio-clps711x.c | |||
@@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(of, clps711x_gpio_ids); | |||
87 | static struct platform_driver clps711x_gpio_driver = { | 87 | static struct platform_driver clps711x_gpio_driver = { |
88 | .driver = { | 88 | .driver = { |
89 | .name = "clps711x-gpio", | 89 | .name = "clps711x-gpio", |
90 | .owner = THIS_MODULE, | ||
91 | .of_match_table = of_match_ptr(clps711x_gpio_ids), | 90 | .of_match_table = of_match_ptr(clps711x_gpio_ids), |
92 | }, | 91 | }, |
93 | .probe = clps711x_gpio_probe, | 92 | .probe = clps711x_gpio_probe, |
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c index bbfe7f508502..55d4803d71b0 100644 --- a/drivers/gpio/gpio-crystalcove.c +++ b/drivers/gpio/gpio-crystalcove.c | |||
@@ -379,7 +379,6 @@ static struct platform_driver crystalcove_gpio_driver = { | |||
379 | .remove = crystalcove_gpio_remove, | 379 | .remove = crystalcove_gpio_remove, |
380 | .driver = { | 380 | .driver = { |
381 | .name = "crystal_cove_gpio", | 381 | .name = "crystal_cove_gpio", |
382 | .owner = THIS_MODULE, | ||
383 | }, | 382 | }, |
384 | }; | 383 | }; |
385 | 384 | ||
diff --git a/drivers/gpio/gpio-cs5535.c b/drivers/gpio/gpio-cs5535.c index 668127fe90ef..feb4cecfcb01 100644 --- a/drivers/gpio/gpio-cs5535.c +++ b/drivers/gpio/gpio-cs5535.c | |||
@@ -372,7 +372,6 @@ static int cs5535_gpio_remove(struct platform_device *pdev) | |||
372 | static struct platform_driver cs5535_gpio_driver = { | 372 | static struct platform_driver cs5535_gpio_driver = { |
373 | .driver = { | 373 | .driver = { |
374 | .name = DRV_NAME, | 374 | .name = DRV_NAME, |
375 | .owner = THIS_MODULE, | ||
376 | }, | 375 | }, |
377 | .probe = cs5535_gpio_probe, | 376 | .probe = cs5535_gpio_probe, |
378 | .remove = cs5535_gpio_remove, | 377 | .remove = cs5535_gpio_remove, |
diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c index c5bccd4dec96..389a4d2a4926 100644 --- a/drivers/gpio/gpio-da9052.c +++ b/drivers/gpio/gpio-da9052.c | |||
@@ -246,7 +246,6 @@ static struct platform_driver da9052_gpio_driver = { | |||
246 | .remove = da9052_gpio_remove, | 246 | .remove = da9052_gpio_remove, |
247 | .driver = { | 247 | .driver = { |
248 | .name = "da9052-gpio", | 248 | .name = "da9052-gpio", |
249 | .owner = THIS_MODULE, | ||
250 | }, | 249 | }, |
251 | }; | 250 | }; |
252 | 251 | ||
diff --git a/drivers/gpio/gpio-da9055.c b/drivers/gpio/gpio-da9055.c index 9167c4331081..b8d757036887 100644 --- a/drivers/gpio/gpio-da9055.c +++ b/drivers/gpio/gpio-da9055.c | |||
@@ -183,7 +183,6 @@ static struct platform_driver da9055_gpio_driver = { | |||
183 | .remove = da9055_gpio_remove, | 183 | .remove = da9055_gpio_remove, |
184 | .driver = { | 184 | .driver = { |
185 | .name = "da9055-gpio", | 185 | .name = "da9055-gpio", |
186 | .owner = THIS_MODULE, | ||
187 | }, | 186 | }, |
188 | }; | 187 | }; |
189 | 188 | ||
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 9f0682534e2f..ab06a92faac6 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c | |||
@@ -619,7 +619,6 @@ static struct platform_driver davinci_gpio_driver = { | |||
619 | .probe = davinci_gpio_probe, | 619 | .probe = davinci_gpio_probe, |
620 | .driver = { | 620 | .driver = { |
621 | .name = "davinci_gpio", | 621 | .name = "davinci_gpio", |
622 | .owner = THIS_MODULE, | ||
623 | .of_match_table = of_match_ptr(davinci_gpio_ids), | 622 | .of_match_table = of_match_ptr(davinci_gpio_ids), |
624 | }, | 623 | }, |
625 | }; | 624 | }; |
diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index b43cd84b61f1..165cce593e64 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c | |||
@@ -703,7 +703,6 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend, | |||
703 | static struct platform_driver dwapb_gpio_driver = { | 703 | static struct platform_driver dwapb_gpio_driver = { |
704 | .driver = { | 704 | .driver = { |
705 | .name = "gpio-dwapb", | 705 | .name = "gpio-dwapb", |
706 | .owner = THIS_MODULE, | ||
707 | .pm = &dwapb_gpio_pm_ops, | 706 | .pm = &dwapb_gpio_pm_ops, |
708 | .of_match_table = of_match_ptr(dwapb_of_match), | 707 | .of_match_table = of_match_ptr(dwapb_of_match), |
709 | }, | 708 | }, |
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index fe49ec3cdb7d..0c6c4d138c3d 100644 --- a/drivers/gpio/gpio-em.c +++ b/drivers/gpio/gpio-em.c | |||
@@ -428,7 +428,6 @@ static struct platform_driver em_gio_device_driver = { | |||
428 | .driver = { | 428 | .driver = { |
429 | .name = "em_gio", | 429 | .name = "em_gio", |
430 | .of_match_table = em_gio_dt_ids, | 430 | .of_match_table = em_gio_dt_ids, |
431 | .owner = THIS_MODULE, | ||
432 | } | 431 | } |
433 | }; | 432 | }; |
434 | 433 | ||
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c index dcc2bb4074ef..45684f36ddb1 100644 --- a/drivers/gpio/gpio-ep93xx.c +++ b/drivers/gpio/gpio-ep93xx.c | |||
@@ -374,7 +374,6 @@ static int ep93xx_gpio_probe(struct platform_device *pdev) | |||
374 | static struct platform_driver ep93xx_gpio_driver = { | 374 | static struct platform_driver ep93xx_gpio_driver = { |
375 | .driver = { | 375 | .driver = { |
376 | .name = "gpio-ep93xx", | 376 | .name = "gpio-ep93xx", |
377 | .owner = THIS_MODULE, | ||
378 | }, | 377 | }, |
379 | .probe = ep93xx_gpio_probe, | 378 | .probe = ep93xx_gpio_probe, |
380 | }; | 379 | }; |
diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c index fd3202f968ff..1be291ac6319 100644 --- a/drivers/gpio/gpio-f7188x.c +++ b/drivers/gpio/gpio-f7188x.c | |||
@@ -417,7 +417,6 @@ err: | |||
417 | 417 | ||
418 | static struct platform_driver f7188x_gpio_driver = { | 418 | static struct platform_driver f7188x_gpio_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .owner = THIS_MODULE, | ||
421 | .name = DRVNAME, | 420 | .name = DRVNAME, |
422 | }, | 421 | }, |
423 | .probe = f7188x_gpio_probe, | 422 | .probe = f7188x_gpio_probe, |
diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c index 1237a73c3c91..aea5c2a53cc0 100644 --- a/drivers/gpio/gpio-ge.c +++ b/drivers/gpio/gpio-ge.c | |||
@@ -120,7 +120,6 @@ static int __init gef_gpio_probe(struct platform_device *pdev) | |||
120 | static struct platform_driver gef_gpio_driver = { | 120 | static struct platform_driver gef_gpio_driver = { |
121 | .driver = { | 121 | .driver = { |
122 | .name = "gef-gpio", | 122 | .name = "gef-gpio", |
123 | .owner = THIS_MODULE, | ||
124 | .of_match_table = gef_gpio_ids, | 123 | .of_match_table = gef_gpio_ids, |
125 | }, | 124 | }, |
126 | }; | 125 | }; |
diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c index 66ad3df9d9cf..c1c017cdf6e4 100644 --- a/drivers/gpio/gpio-grgpio.c +++ b/drivers/gpio/gpio-grgpio.c | |||
@@ -490,7 +490,6 @@ MODULE_DEVICE_TABLE(of, grgpio_match); | |||
490 | static struct platform_driver grgpio_driver = { | 490 | static struct platform_driver grgpio_driver = { |
491 | .driver = { | 491 | .driver = { |
492 | .name = "grgpio", | 492 | .name = "grgpio", |
493 | .owner = THIS_MODULE, | ||
494 | .of_match_table = grgpio_match, | 493 | .of_match_table = grgpio_match, |
495 | }, | 494 | }, |
496 | .probe = grgpio_probe, | 495 | .probe = grgpio_probe, |
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c index 3784e81e7762..7818cd1453ae 100644 --- a/drivers/gpio/gpio-ich.c +++ b/drivers/gpio/gpio-ich.c | |||
@@ -526,7 +526,6 @@ static int ichx_gpio_remove(struct platform_device *pdev) | |||
526 | 526 | ||
527 | static struct platform_driver ichx_gpio_driver = { | 527 | static struct platform_driver ichx_gpio_driver = { |
528 | .driver = { | 528 | .driver = { |
529 | .owner = THIS_MODULE, | ||
530 | .name = DRV_NAME, | 529 | .name = DRV_NAME, |
531 | }, | 530 | }, |
532 | .probe = ichx_gpio_probe, | 531 | .probe = ichx_gpio_probe, |
diff --git a/drivers/gpio/gpio-iop.c b/drivers/gpio/gpio-iop.c index 0a5e9d3f308c..2ed0237a8baf 100644 --- a/drivers/gpio/gpio-iop.c +++ b/drivers/gpio/gpio-iop.c | |||
@@ -120,7 +120,6 @@ static int iop3xx_gpio_probe(struct platform_device *pdev) | |||
120 | static struct platform_driver iop3xx_gpio_driver = { | 120 | static struct platform_driver iop3xx_gpio_driver = { |
121 | .driver = { | 121 | .driver = { |
122 | .name = "gpio-iop", | 122 | .name = "gpio-iop", |
123 | .owner = THIS_MODULE, | ||
124 | }, | 123 | }, |
125 | .probe = iop3xx_gpio_probe, | 124 | .probe = iop3xx_gpio_probe, |
126 | }; | 125 | }; |
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c index 29ffe22ad97a..3a1664335f5e 100644 --- a/drivers/gpio/gpio-janz-ttl.c +++ b/drivers/gpio/gpio-janz-ttl.c | |||
@@ -203,7 +203,6 @@ static int ttl_remove(struct platform_device *pdev) | |||
203 | static struct platform_driver ttl_driver = { | 203 | static struct platform_driver ttl_driver = { |
204 | .driver = { | 204 | .driver = { |
205 | .name = DRV_NAME, | 205 | .name = DRV_NAME, |
206 | .owner = THIS_MODULE, | ||
207 | }, | 206 | }, |
208 | .probe = ttl_probe, | 207 | .probe = ttl_probe, |
209 | .remove = ttl_remove, | 208 | .remove = ttl_remove, |
diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c index fd150adeebf9..443518f63f15 100644 --- a/drivers/gpio/gpio-kempld.c +++ b/drivers/gpio/gpio-kempld.c | |||
@@ -206,7 +206,6 @@ static int kempld_gpio_remove(struct platform_device *pdev) | |||
206 | static struct platform_driver kempld_gpio_driver = { | 206 | static struct platform_driver kempld_gpio_driver = { |
207 | .driver = { | 207 | .driver = { |
208 | .name = "kempld-gpio", | 208 | .name = "kempld-gpio", |
209 | .owner = THIS_MODULE, | ||
210 | }, | 209 | }, |
211 | .probe = kempld_gpio_probe, | 210 | .probe = kempld_gpio_probe, |
212 | .remove = kempld_gpio_remove, | 211 | .remove = kempld_gpio_remove, |
diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c index 6bbdad805b78..cfc5b12b43ad 100644 --- a/drivers/gpio/gpio-lp3943.c +++ b/drivers/gpio/gpio-lp3943.c | |||
@@ -231,7 +231,6 @@ static struct platform_driver lp3943_gpio_driver = { | |||
231 | .remove = lp3943_gpio_remove, | 231 | .remove = lp3943_gpio_remove, |
232 | .driver = { | 232 | .driver = { |
233 | .name = "lp3943-gpio", | 233 | .name = "lp3943-gpio", |
234 | .owner = THIS_MODULE, | ||
235 | .of_match_table = lp3943_gpio_of_match, | 234 | .of_match_table = lp3943_gpio_of_match, |
236 | }, | 235 | }, |
237 | }; | 236 | }; |
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index b9b9799b368b..47e2dde63734 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c | |||
@@ -569,7 +569,6 @@ static const struct of_device_id lpc32xx_gpio_of_match[] = { | |||
569 | static struct platform_driver lpc32xx_gpio_driver = { | 569 | static struct platform_driver lpc32xx_gpio_driver = { |
570 | .driver = { | 570 | .driver = { |
571 | .name = "lpc32xx-gpio", | 571 | .name = "lpc32xx-gpio", |
572 | .owner = THIS_MODULE, | ||
573 | .of_match_table = of_match_ptr(lpc32xx_gpio_of_match), | 572 | .of_match_table = of_match_ptr(lpc32xx_gpio_of_match), |
574 | }, | 573 | }, |
575 | .probe = lpc32xx_gpio_probe, | 574 | .probe = lpc32xx_gpio_probe, |
diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c index fa945ec9ccff..127c755b38dc 100644 --- a/drivers/gpio/gpio-lynxpoint.c +++ b/drivers/gpio/gpio-lynxpoint.c | |||
@@ -450,7 +450,6 @@ static struct platform_driver lp_gpio_driver = { | |||
450 | .remove = lp_gpio_remove, | 450 | .remove = lp_gpio_remove, |
451 | .driver = { | 451 | .driver = { |
452 | .name = "lp_gpio", | 452 | .name = "lp_gpio", |
453 | .owner = THIS_MODULE, | ||
454 | .pm = &lp_gpio_pm_ops, | 453 | .pm = &lp_gpio_pm_ops, |
455 | .acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match), | 454 | .acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match), |
456 | }, | 455 | }, |
diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c index 2983dfbd0668..f228b1ce0ce0 100644 --- a/drivers/gpio/gpio-mm-lantiq.c +++ b/drivers/gpio/gpio-mm-lantiq.c | |||
@@ -145,7 +145,6 @@ static struct platform_driver ltq_mm_driver = { | |||
145 | .probe = ltq_mm_probe, | 145 | .probe = ltq_mm_probe, |
146 | .driver = { | 146 | .driver = { |
147 | .name = "gpio-mm-ltq", | 147 | .name = "gpio-mm-ltq", |
148 | .owner = THIS_MODULE, | ||
149 | .of_match_table = ltq_mm_match, | 148 | .of_match_table = ltq_mm_match, |
150 | }, | 149 | }, |
151 | }; | 150 | }; |
diff --git a/drivers/gpio/gpio-moxart.c b/drivers/gpio/gpio-moxart.c index 4661e181be04..31e2551ed903 100644 --- a/drivers/gpio/gpio-moxart.c +++ b/drivers/gpio/gpio-moxart.c | |||
@@ -142,7 +142,6 @@ static const struct of_device_id moxart_gpio_match[] = { | |||
142 | static struct platform_driver moxart_gpio_driver = { | 142 | static struct platform_driver moxart_gpio_driver = { |
143 | .driver = { | 143 | .driver = { |
144 | .name = "moxart-gpio", | 144 | .name = "moxart-gpio", |
145 | .owner = THIS_MODULE, | ||
146 | .of_match_table = moxart_gpio_match, | 145 | .of_match_table = moxart_gpio_match, |
147 | }, | 146 | }, |
148 | .probe = moxart_gpio_probe, | 147 | .probe = moxart_gpio_probe, |
diff --git a/drivers/gpio/gpio-mpc5200.c b/drivers/gpio/gpio-mpc5200.c index 42647f26c9e0..8ce6c9510035 100644 --- a/drivers/gpio/gpio-mpc5200.c +++ b/drivers/gpio/gpio-mpc5200.c | |||
@@ -192,7 +192,6 @@ static const struct of_device_id mpc52xx_wkup_gpiochip_match[] = { | |||
192 | static struct platform_driver mpc52xx_wkup_gpiochip_driver = { | 192 | static struct platform_driver mpc52xx_wkup_gpiochip_driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .name = "mpc5200-gpio-wkup", | 194 | .name = "mpc5200-gpio-wkup", |
195 | .owner = THIS_MODULE, | ||
196 | .of_match_table = mpc52xx_wkup_gpiochip_match, | 195 | .of_match_table = mpc52xx_wkup_gpiochip_match, |
197 | }, | 196 | }, |
198 | .probe = mpc52xx_wkup_gpiochip_probe, | 197 | .probe = mpc52xx_wkup_gpiochip_probe, |
@@ -347,7 +346,6 @@ static const struct of_device_id mpc52xx_simple_gpiochip_match[] = { | |||
347 | static struct platform_driver mpc52xx_simple_gpiochip_driver = { | 346 | static struct platform_driver mpc52xx_simple_gpiochip_driver = { |
348 | .driver = { | 347 | .driver = { |
349 | .name = "mpc5200-gpio", | 348 | .name = "mpc5200-gpio", |
350 | .owner = THIS_MODULE, | ||
351 | .of_match_table = mpc52xx_simple_gpiochip_match, | 349 | .of_match_table = mpc52xx_simple_gpiochip_match, |
352 | }, | 350 | }, |
353 | .probe = mpc52xx_simple_gpiochip_probe, | 351 | .probe = mpc52xx_simple_gpiochip_probe, |
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c index 8f70ded82a2b..01acf0a8cdb1 100644 --- a/drivers/gpio/gpio-msic.c +++ b/drivers/gpio/gpio-msic.c | |||
@@ -321,7 +321,6 @@ err: | |||
321 | static struct platform_driver platform_msic_gpio_driver = { | 321 | static struct platform_driver platform_msic_gpio_driver = { |
322 | .driver = { | 322 | .driver = { |
323 | .name = "msic_gpio", | 323 | .name = "msic_gpio", |
324 | .owner = THIS_MODULE, | ||
325 | }, | 324 | }, |
326 | .probe = platform_msic_gpio_probe, | 325 | .probe = platform_msic_gpio_probe, |
327 | }; | 326 | }; |
diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c index 73b73969d361..09e895d018b7 100644 --- a/drivers/gpio/gpio-msm-v1.c +++ b/drivers/gpio/gpio-msm-v1.c | |||
@@ -701,7 +701,6 @@ MODULE_DEVICE_TABLE(platform, gpio_msm_v1_device_ids); | |||
701 | static struct platform_driver gpio_msm_v1_driver = { | 701 | static struct platform_driver gpio_msm_v1_driver = { |
702 | .driver = { | 702 | .driver = { |
703 | .name = "gpio-msm-v1", | 703 | .name = "gpio-msm-v1", |
704 | .owner = THIS_MODULE, | ||
705 | }, | 704 | }, |
706 | .probe = gpio_msm_v1_probe, | 705 | .probe = gpio_msm_v1_probe, |
707 | .id_table = gpio_msm_v1_device_ids, | 706 | .id_table = gpio_msm_v1_device_ids, |
diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c index 94f57670df9a..52ff18229fdc 100644 --- a/drivers/gpio/gpio-msm-v2.c +++ b/drivers/gpio/gpio-msm-v2.c | |||
@@ -450,7 +450,6 @@ static struct platform_driver msm_gpio_driver = { | |||
450 | .remove = msm_gpio_remove, | 450 | .remove = msm_gpio_remove, |
451 | .driver = { | 451 | .driver = { |
452 | .name = "msmgpio", | 452 | .name = "msmgpio", |
453 | .owner = THIS_MODULE, | ||
454 | .of_match_table = msm_gpio_of_match, | 453 | .of_match_table = msm_gpio_of_match, |
455 | }, | 454 | }, |
456 | }; | 455 | }; |
diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 418e38650363..e06d7932b498 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c | |||
@@ -731,7 +731,6 @@ static int mvebu_gpio_probe(struct platform_device *pdev) | |||
731 | static struct platform_driver mvebu_gpio_driver = { | 731 | static struct platform_driver mvebu_gpio_driver = { |
732 | .driver = { | 732 | .driver = { |
733 | .name = "mvebu-gpio", | 733 | .name = "mvebu-gpio", |
734 | .owner = THIS_MODULE, | ||
735 | .of_match_table = mvebu_gpio_of_match, | 734 | .of_match_table = mvebu_gpio_of_match, |
736 | }, | 735 | }, |
737 | .probe = mvebu_gpio_probe, | 736 | .probe = mvebu_gpio_probe, |
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index f4e54a92e04a..9f7446a7ac64 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c | |||
@@ -496,7 +496,6 @@ out_bgio: | |||
496 | static struct platform_driver mxc_gpio_driver = { | 496 | static struct platform_driver mxc_gpio_driver = { |
497 | .driver = { | 497 | .driver = { |
498 | .name = "gpio-mxc", | 498 | .name = "gpio-mxc", |
499 | .owner = THIS_MODULE, | ||
500 | .of_match_table = mxc_gpio_dt_ids, | 499 | .of_match_table = mxc_gpio_dt_ids, |
501 | }, | 500 | }, |
502 | .probe = mxc_gpio_probe, | 501 | .probe = mxc_gpio_probe, |
diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 8ffdd7d2bade..89143e2d3f5d 100644 --- a/drivers/gpio/gpio-mxs.c +++ b/drivers/gpio/gpio-mxs.c | |||
@@ -338,7 +338,6 @@ out_irqdesc_free: | |||
338 | static struct platform_driver mxs_gpio_driver = { | 338 | static struct platform_driver mxs_gpio_driver = { |
339 | .driver = { | 339 | .driver = { |
340 | .name = "gpio-mxs", | 340 | .name = "gpio-mxs", |
341 | .owner = THIS_MODULE, | ||
342 | .of_match_table = mxs_gpio_dt_ids, | 341 | .of_match_table = mxs_gpio_dt_ids, |
343 | }, | 342 | }, |
344 | .probe = mxs_gpio_probe, | 343 | .probe = mxs_gpio_probe, |
diff --git a/drivers/gpio/gpio-octeon.c b/drivers/gpio/gpio-octeon.c index 5c5770c99c80..62ae251d4490 100644 --- a/drivers/gpio/gpio-octeon.c +++ b/drivers/gpio/gpio-octeon.c | |||
@@ -144,7 +144,6 @@ MODULE_DEVICE_TABLE(of, octeon_gpio_match); | |||
144 | static struct platform_driver octeon_gpio_driver = { | 144 | static struct platform_driver octeon_gpio_driver = { |
145 | .driver = { | 145 | .driver = { |
146 | .name = "octeon_gpio", | 146 | .name = "octeon_gpio", |
147 | .owner = THIS_MODULE, | ||
148 | .of_match_table = octeon_gpio_match, | 147 | .of_match_table = octeon_gpio_match, |
149 | }, | 148 | }, |
150 | .probe = octeon_gpio_probe, | 149 | .probe = octeon_gpio_probe, |
diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t583.c index 769233d2da6d..6eabf239676b 100644 --- a/drivers/gpio/gpio-rc5t583.c +++ b/drivers/gpio/gpio-rc5t583.c | |||
@@ -155,7 +155,6 @@ static int rc5t583_gpio_remove(struct platform_device *pdev) | |||
155 | static struct platform_driver rc5t583_gpio_driver = { | 155 | static struct platform_driver rc5t583_gpio_driver = { |
156 | .driver = { | 156 | .driver = { |
157 | .name = "rc5t583-gpio", | 157 | .name = "rc5t583-gpio", |
158 | .owner = THIS_MODULE, | ||
159 | }, | 158 | }, |
160 | .probe = rc5t583_gpio_probe, | 159 | .probe = rc5t583_gpio_probe, |
161 | .remove = rc5t583_gpio_remove, | 160 | .remove = rc5t583_gpio_remove, |
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c index 41e91d70301e..8266045a5d45 100644 --- a/drivers/gpio/gpio-sch.c +++ b/drivers/gpio/gpio-sch.c | |||
@@ -319,7 +319,6 @@ static int sch_gpio_remove(struct platform_device *pdev) | |||
319 | static struct platform_driver sch_gpio_driver = { | 319 | static struct platform_driver sch_gpio_driver = { |
320 | .driver = { | 320 | .driver = { |
321 | .name = "sch_gpio", | 321 | .name = "sch_gpio", |
322 | .owner = THIS_MODULE, | ||
323 | }, | 322 | }, |
324 | .probe = sch_gpio_probe, | 323 | .probe = sch_gpio_probe, |
325 | .remove = sch_gpio_remove, | 324 | .remove = sch_gpio_remove, |
diff --git a/drivers/gpio/gpio-spear-spics.c b/drivers/gpio/gpio-spear-spics.c index 353263c85d26..64c8aa4f52b8 100644 --- a/drivers/gpio/gpio-spear-spics.c +++ b/drivers/gpio/gpio-spear-spics.c | |||
@@ -191,7 +191,6 @@ MODULE_DEVICE_TABLE(of, spics_gpio_of_match); | |||
191 | static struct platform_driver spics_gpio_driver = { | 191 | static struct platform_driver spics_gpio_driver = { |
192 | .probe = spics_gpio_probe, | 192 | .probe = spics_gpio_probe, |
193 | .driver = { | 193 | .driver = { |
194 | .owner = THIS_MODULE, | ||
195 | .name = "spear-spics-gpio", | 194 | .name = "spear-spics-gpio", |
196 | .of_match_table = spics_gpio_of_match, | 195 | .of_match_table = spics_gpio_of_match, |
197 | }, | 196 | }, |
diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c index 68e3fcb1acea..18579ac65b2b 100644 --- a/drivers/gpio/gpio-sta2x11.c +++ b/drivers/gpio/gpio-sta2x11.c | |||
@@ -429,7 +429,6 @@ err_free_descs: | |||
429 | static struct platform_driver sta2x11_gpio_platform_driver = { | 429 | static struct platform_driver sta2x11_gpio_platform_driver = { |
430 | .driver = { | 430 | .driver = { |
431 | .name = "sta2x11-gpio", | 431 | .name = "sta2x11-gpio", |
432 | .owner = THIS_MODULE, | ||
433 | }, | 432 | }, |
434 | .probe = gsta_probe, | 433 | .probe = gsta_probe, |
435 | }; | 434 | }; |
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 7e359b7cce1b..6b9321e8669a 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver xway_stp_driver = { | |||
287 | .probe = xway_stp_probe, | 287 | .probe = xway_stp_probe, |
288 | .driver = { | 288 | .driver = { |
289 | .name = "gpio-stp-xway", | 289 | .name = "gpio-stp-xway", |
290 | .owner = THIS_MODULE, | ||
291 | .of_match_table = xway_stp_match, | 290 | .of_match_table = xway_stp_match, |
292 | }, | 291 | }, |
293 | }; | 292 | }; |
diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c index e82fde4b6898..257e2989215c 100644 --- a/drivers/gpio/gpio-syscon.c +++ b/drivers/gpio/gpio-syscon.c | |||
@@ -253,7 +253,6 @@ static int syscon_gpio_remove(struct platform_device *pdev) | |||
253 | static struct platform_driver syscon_gpio_driver = { | 253 | static struct platform_driver syscon_gpio_driver = { |
254 | .driver = { | 254 | .driver = { |
255 | .name = "gpio-syscon", | 255 | .name = "gpio-syscon", |
256 | .owner = THIS_MODULE, | ||
257 | .of_match_table = syscon_gpio_ids, | 256 | .of_match_table = syscon_gpio_ids, |
258 | }, | 257 | }, |
259 | .probe = syscon_gpio_probe, | 258 | .probe = syscon_gpio_probe, |
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c index 9e615be8032c..a2bde95f64c7 100644 --- a/drivers/gpio/gpio-tb10x.c +++ b/drivers/gpio/gpio-tb10x.c | |||
@@ -316,7 +316,6 @@ static struct platform_driver tb10x_gpio_driver = { | |||
316 | .driver = { | 316 | .driver = { |
317 | .name = "tb10x-gpio", | 317 | .name = "tb10x-gpio", |
318 | .of_match_table = tb10x_gpio_dt_ids, | 318 | .of_match_table = tb10x_gpio_dt_ids, |
319 | .owner = THIS_MODULE, | ||
320 | } | 319 | } |
321 | }; | 320 | }; |
322 | 321 | ||
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 4e8fb8261a87..a223ac51749c 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -528,7 +528,6 @@ static int tegra_gpio_probe(struct platform_device *pdev) | |||
528 | static struct platform_driver tegra_gpio_driver = { | 528 | static struct platform_driver tegra_gpio_driver = { |
529 | .driver = { | 529 | .driver = { |
530 | .name = "tegra-gpio", | 530 | .name = "tegra-gpio", |
531 | .owner = THIS_MODULE, | ||
532 | .pm = &tegra_gpio_pm_ops, | 531 | .pm = &tegra_gpio_pm_ops, |
533 | .of_match_table = tegra_gpio_of_match, | 532 | .of_match_table = tegra_gpio_of_match, |
534 | }, | 533 | }, |
diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index a685a3cbbc81..e8f97e03c9bb 100644 --- a/drivers/gpio/gpio-timberdale.c +++ b/drivers/gpio/gpio-timberdale.c | |||
@@ -330,7 +330,6 @@ static int timbgpio_remove(struct platform_device *pdev) | |||
330 | static struct platform_driver timbgpio_platform_driver = { | 330 | static struct platform_driver timbgpio_platform_driver = { |
331 | .driver = { | 331 | .driver = { |
332 | .name = DRIVER_NAME, | 332 | .name = DRIVER_NAME, |
333 | .owner = THIS_MODULE, | ||
334 | }, | 333 | }, |
335 | .probe = timbgpio_probe, | 334 | .probe = timbgpio_probe, |
336 | .remove = timbgpio_remove, | 335 | .remove = timbgpio_remove, |
diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c index 22052d84c63b..472fb5b8779f 100644 --- a/drivers/gpio/gpio-tps65912.c +++ b/drivers/gpio/gpio-tps65912.c | |||
@@ -124,7 +124,6 @@ static int tps65912_gpio_remove(struct platform_device *pdev) | |||
124 | static struct platform_driver tps65912_gpio_driver = { | 124 | static struct platform_driver tps65912_gpio_driver = { |
125 | .driver = { | 125 | .driver = { |
126 | .name = "tps65912-gpio", | 126 | .name = "tps65912-gpio", |
127 | .owner = THIS_MODULE, | ||
128 | }, | 127 | }, |
129 | .probe = tps65912_gpio_probe, | 128 | .probe = tps65912_gpio_probe, |
130 | .remove = tps65912_gpio_remove, | 129 | .remove = tps65912_gpio_remove, |
diff --git a/drivers/gpio/gpio-ts5500.c b/drivers/gpio/gpio-ts5500.c index de18591ff11e..92fbabd82879 100644 --- a/drivers/gpio/gpio-ts5500.c +++ b/drivers/gpio/gpio-ts5500.c | |||
@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(platform, ts5500_dio_ids); | |||
452 | static struct platform_driver ts5500_dio_driver = { | 452 | static struct platform_driver ts5500_dio_driver = { |
453 | .driver = { | 453 | .driver = { |
454 | .name = "ts5500-dio", | 454 | .name = "ts5500-dio", |
455 | .owner = THIS_MODULE, | ||
456 | }, | 455 | }, |
457 | .probe = ts5500_dio_probe, | 456 | .probe = ts5500_dio_probe, |
458 | .remove = ts5500_dio_remove, | 457 | .remove = ts5500_dio_remove, |
diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c index 118828b3736f..9e1dbb9877c1 100644 --- a/drivers/gpio/gpio-twl4030.c +++ b/drivers/gpio/gpio-twl4030.c | |||
@@ -605,7 +605,6 @@ MODULE_ALIAS("platform:twl4030_gpio"); | |||
605 | static struct platform_driver gpio_twl4030_driver = { | 605 | static struct platform_driver gpio_twl4030_driver = { |
606 | .driver = { | 606 | .driver = { |
607 | .name = "twl4030_gpio", | 607 | .name = "twl4030_gpio", |
608 | .owner = THIS_MODULE, | ||
609 | .of_match_table = twl_gpio_match, | 608 | .of_match_table = twl_gpio_match, |
610 | }, | 609 | }, |
611 | .probe = gpio_twl4030_probe, | 610 | .probe = gpio_twl4030_probe, |
diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c index f28e04b88aa9..c946e7eef3ee 100644 --- a/drivers/gpio/gpio-twl6040.c +++ b/drivers/gpio/gpio-twl6040.c | |||
@@ -121,7 +121,6 @@ MODULE_ALIAS("platform:twl6040-gpo"); | |||
121 | static struct platform_driver gpo_twl6040_driver = { | 121 | static struct platform_driver gpo_twl6040_driver = { |
122 | .driver = { | 122 | .driver = { |
123 | .name = "twl6040-gpo", | 123 | .name = "twl6040-gpo", |
124 | .owner = THIS_MODULE, | ||
125 | }, | 124 | }, |
126 | .probe = gpo_twl6040_probe, | 125 | .probe = gpo_twl6040_probe, |
127 | .remove = gpo_twl6040_remove, | 126 | .remove = gpo_twl6040_remove, |
diff --git a/drivers/gpio/gpio-tz1090-pdc.c b/drivers/gpio/gpio-tz1090-pdc.c index f512da299b3d..d7536226b847 100644 --- a/drivers/gpio/gpio-tz1090-pdc.c +++ b/drivers/gpio/gpio-tz1090-pdc.c | |||
@@ -230,7 +230,6 @@ static struct of_device_id tz1090_pdc_gpio_of_match[] = { | |||
230 | static struct platform_driver tz1090_pdc_gpio_driver = { | 230 | static struct platform_driver tz1090_pdc_gpio_driver = { |
231 | .driver = { | 231 | .driver = { |
232 | .name = "tz1090-pdc-gpio", | 232 | .name = "tz1090-pdc-gpio", |
233 | .owner = THIS_MODULE, | ||
234 | .of_match_table = tz1090_pdc_gpio_of_match, | 233 | .of_match_table = tz1090_pdc_gpio_of_match, |
235 | }, | 234 | }, |
236 | .probe = tz1090_pdc_gpio_probe, | 235 | .probe = tz1090_pdc_gpio_probe, |
diff --git a/drivers/gpio/gpio-tz1090.c b/drivers/gpio/gpio-tz1090.c index 5246a60eff6d..9e901773a9d5 100644 --- a/drivers/gpio/gpio-tz1090.c +++ b/drivers/gpio/gpio-tz1090.c | |||
@@ -593,7 +593,6 @@ static struct of_device_id tz1090_gpio_of_match[] = { | |||
593 | static struct platform_driver tz1090_gpio_driver = { | 593 | static struct platform_driver tz1090_gpio_driver = { |
594 | .driver = { | 594 | .driver = { |
595 | .name = "tz1090-gpio", | 595 | .name = "tz1090-gpio", |
596 | .owner = THIS_MODULE, | ||
597 | .of_match_table = tz1090_gpio_of_match, | 596 | .of_match_table = tz1090_gpio_of_match, |
598 | }, | 597 | }, |
599 | .probe = tz1090_gpio_probe, | 598 | .probe = tz1090_gpio_probe, |
diff --git a/drivers/gpio/gpio-vr41xx.c b/drivers/gpio/gpio-vr41xx.c index dbf28fa03f67..b2d05f3a8c9e 100644 --- a/drivers/gpio/gpio-vr41xx.c +++ b/drivers/gpio/gpio-vr41xx.c | |||
@@ -591,7 +591,6 @@ static struct platform_driver giu_device_driver = { | |||
591 | .remove = giu_remove, | 591 | .remove = giu_remove, |
592 | .driver = { | 592 | .driver = { |
593 | .name = "GIU", | 593 | .name = "GIU", |
594 | .owner = THIS_MODULE, | ||
595 | }, | 594 | }, |
596 | }; | 595 | }; |
597 | 596 | ||
diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c index 85971d4e23c1..9d21d2fcc327 100644 --- a/drivers/gpio/gpio-vx855.c +++ b/drivers/gpio/gpio-vx855.c | |||
@@ -306,7 +306,6 @@ static int vx855gpio_remove(struct platform_device *pdev) | |||
306 | static struct platform_driver vx855gpio_driver = { | 306 | static struct platform_driver vx855gpio_driver = { |
307 | .driver = { | 307 | .driver = { |
308 | .name = MODULE_NAME, | 308 | .name = MODULE_NAME, |
309 | .owner = THIS_MODULE, | ||
310 | }, | 309 | }, |
311 | .probe = vx855gpio_probe, | 310 | .probe = vx855gpio_probe, |
312 | .remove = vx855gpio_remove, | 311 | .remove = vx855gpio_remove, |
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 7d489221dc1f..18a8182d4fec 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c | |||
@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); | |||
229 | static struct platform_driver xgene_gpio_driver = { | 229 | static struct platform_driver xgene_gpio_driver = { |
230 | .driver = { | 230 | .driver = { |
231 | .name = "xgene-gpio", | 231 | .name = "xgene-gpio", |
232 | .owner = THIS_MODULE, | ||
233 | .of_match_table = xgene_gpio_of_match, | 232 | .of_match_table = xgene_gpio_of_match, |
234 | .pm = XGENE_GPIO_PM_OPS, | 233 | .pm = XGENE_GPIO_PM_OPS, |
235 | }, | 234 | }, |
diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c index 7081304d6797..93ec95df67a3 100644 --- a/drivers/gpio/gpio-xtensa.c +++ b/drivers/gpio/gpio-xtensa.c | |||
@@ -157,7 +157,6 @@ static int xtensa_gpio_probe(struct platform_device *pdev) | |||
157 | static struct platform_driver xtensa_gpio_driver = { | 157 | static struct platform_driver xtensa_gpio_driver = { |
158 | .driver = { | 158 | .driver = { |
159 | .name = "xtensa-gpio", | 159 | .name = "xtensa-gpio", |
160 | .owner = THIS_MODULE, | ||
161 | }, | 160 | }, |
162 | .probe = xtensa_gpio_probe, | 161 | .probe = xtensa_gpio_probe, |
163 | }; | 162 | }; |
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 54e54e4cc6c4..f769cd53f4e4 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c | |||
@@ -212,7 +212,6 @@ MODULE_DEVICE_TABLE(of, zevio_gpio_of_match); | |||
212 | static struct platform_driver zevio_gpio_driver = { | 212 | static struct platform_driver zevio_gpio_driver = { |
213 | .driver = { | 213 | .driver = { |
214 | .name = "gpio-zevio", | 214 | .name = "gpio-zevio", |
215 | .owner = THIS_MODULE, | ||
216 | .of_match_table = zevio_gpio_of_match, | 215 | .of_match_table = zevio_gpio_of_match, |
217 | }, | 216 | }, |
218 | .probe = zevio_gpio_probe, | 217 | .probe = zevio_gpio_probe, |
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c index 908e5316eac4..b01420c84864 100644 --- a/drivers/gpu/drm/armada/armada_drv.c +++ b/drivers/gpu/drm/armada/armada_drv.c | |||
@@ -486,7 +486,6 @@ static struct platform_driver armada_drm_platform_driver = { | |||
486 | .remove = armada_drm_remove, | 486 | .remove = armada_drm_remove, |
487 | .driver = { | 487 | .driver = { |
488 | .name = "armada-drm", | 488 | .name = "armada-drm", |
489 | .owner = THIS_MODULE, | ||
490 | }, | 489 | }, |
491 | .id_table = armada_drm_platform_ids, | 490 | .id_table = armada_drm_platform_ids, |
492 | }; | 491 | }; |
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index c57466edf45b..e4fc5064b039 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c | |||
@@ -731,7 +731,6 @@ static struct platform_driver exynos_drm_platform_driver = { | |||
731 | .probe = exynos_drm_platform_probe, | 731 | .probe = exynos_drm_platform_probe, |
732 | .remove = exynos_drm_platform_remove, | 732 | .remove = exynos_drm_platform_remove, |
733 | .driver = { | 733 | .driver = { |
734 | .owner = THIS_MODULE, | ||
735 | .name = "exynos-drm", | 734 | .name = "exynos-drm", |
736 | .pm = &exynos_drm_pm_ops, | 735 | .pm = &exynos_drm_pm_ops, |
737 | }, | 736 | }, |
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index b67ef5985125..42e1c48eef28 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c | |||
@@ -987,7 +987,6 @@ static struct platform_driver msm_platform_driver = { | |||
987 | .probe = msm_pdev_probe, | 987 | .probe = msm_pdev_probe, |
988 | .remove = msm_pdev_remove, | 988 | .remove = msm_pdev_remove, |
989 | .driver = { | 989 | .driver = { |
990 | .owner = THIS_MODULE, | ||
991 | .name = "msm", | 990 | .name = "msm", |
992 | .of_match_table = dt_match, | 991 | .of_match_table = dt_match, |
993 | .pm = &msm_pm_ops, | 992 | .pm = &msm_pm_ops, |
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 862ba03c236c..8241ed9b353c 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c | |||
@@ -718,7 +718,6 @@ static const struct dev_pm_ops omapdrm_pm_ops = { | |||
718 | static struct platform_driver pdev = { | 718 | static struct platform_driver pdev = { |
719 | .driver = { | 719 | .driver = { |
720 | .name = DRIVER_NAME, | 720 | .name = DRIVER_NAME, |
721 | .owner = THIS_MODULE, | ||
722 | #ifdef CONFIG_PM | 721 | #ifdef CONFIG_PM |
723 | .pm = &omapdrm_pm_ops, | 722 | .pm = &omapdrm_pm_ops, |
724 | #endif | 723 | #endif |
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 23de22f8c820..12bc8a0ab1cf 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c | |||
@@ -708,7 +708,6 @@ static void panel_simple_platform_shutdown(struct platform_device *pdev) | |||
708 | static struct platform_driver panel_simple_platform_driver = { | 708 | static struct platform_driver panel_simple_platform_driver = { |
709 | .driver = { | 709 | .driver = { |
710 | .name = "panel-simple", | 710 | .name = "panel-simple", |
711 | .owner = THIS_MODULE, | ||
712 | .of_match_table = platform_of_match, | 711 | .of_match_table = platform_of_match, |
713 | }, | 712 | }, |
714 | .probe = panel_simple_platform_probe, | 713 | .probe = panel_simple_platform_probe, |
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index d212efa6a495..e419aade2209 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c | |||
@@ -330,7 +330,6 @@ static struct platform_driver rcar_du_platform_driver = { | |||
330 | .probe = rcar_du_probe, | 330 | .probe = rcar_du_probe, |
331 | .remove = rcar_du_remove, | 331 | .remove = rcar_du_remove, |
332 | .driver = { | 332 | .driver = { |
333 | .owner = THIS_MODULE, | ||
334 | .name = "rcar-du", | 333 | .name = "rcar-du", |
335 | .pm = &rcar_du_pm_ops, | 334 | .pm = &rcar_du_pm_ops, |
336 | .of_match_table = rcar_du_of_table, | 335 | .of_match_table = rcar_du_of_table, |
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index e62cbde81e50..666321de7b99 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c | |||
@@ -348,7 +348,6 @@ static struct platform_driver shmob_drm_platform_driver = { | |||
348 | .probe = shmob_drm_probe, | 348 | .probe = shmob_drm_probe, |
349 | .remove = shmob_drm_remove, | 349 | .remove = shmob_drm_remove, |
350 | .driver = { | 350 | .driver = { |
351 | .owner = THIS_MODULE, | ||
352 | .name = "shmob-drm", | 351 | .name = "shmob-drm", |
353 | .pm = &shmob_drm_pm_ops, | 352 | .pm = &shmob_drm_pm_ops, |
354 | }, | 353 | }, |
diff --git a/drivers/gpu/drm/sti/sti_compositor.c b/drivers/gpu/drm/sti/sti_compositor.c index 390d93e9a06c..9e31dfe154ed 100644 --- a/drivers/gpu/drm/sti/sti_compositor.c +++ b/drivers/gpu/drm/sti/sti_compositor.c | |||
@@ -267,7 +267,6 @@ static int sti_compositor_remove(struct platform_device *pdev) | |||
267 | static struct platform_driver sti_compositor_driver = { | 267 | static struct platform_driver sti_compositor_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "sti-compositor", | 269 | .name = "sti-compositor", |
270 | .owner = THIS_MODULE, | ||
271 | .of_match_table = compositor_of_match, | 270 | .of_match_table = compositor_of_match, |
272 | }, | 271 | }, |
273 | .probe = sti_compositor_probe, | 272 | .probe = sti_compositor_probe, |
diff --git a/drivers/gpu/drm/sti/sti_drm_drv.c b/drivers/gpu/drm/sti/sti_drm_drv.c index 223d93c3a05d..8e64220e8796 100644 --- a/drivers/gpu/drm/sti/sti_drm_drv.c +++ b/drivers/gpu/drm/sti/sti_drm_drv.c | |||
@@ -184,7 +184,6 @@ static struct platform_driver sti_drm_master_driver = { | |||
184 | .probe = sti_drm_master_probe, | 184 | .probe = sti_drm_master_probe, |
185 | .remove = sti_drm_master_remove, | 185 | .remove = sti_drm_master_remove, |
186 | .driver = { | 186 | .driver = { |
187 | .owner = THIS_MODULE, | ||
188 | .name = DRIVER_NAME "__master", | 187 | .name = DRIVER_NAME "__master", |
189 | }, | 188 | }, |
190 | }; | 189 | }; |
@@ -228,7 +227,6 @@ static struct platform_driver sti_drm_platform_driver = { | |||
228 | .probe = sti_drm_platform_probe, | 227 | .probe = sti_drm_platform_probe, |
229 | .remove = sti_drm_platform_remove, | 228 | .remove = sti_drm_platform_remove, |
230 | .driver = { | 229 | .driver = { |
231 | .owner = THIS_MODULE, | ||
232 | .name = DRIVER_NAME, | 230 | .name = DRIVER_NAME, |
233 | .of_match_table = sti_drm_dt_ids, | 231 | .of_match_table = sti_drm_dt_ids, |
234 | }, | 232 | }, |
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 79a34cbd29f5..f8546824d177 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c | |||
@@ -645,7 +645,6 @@ static struct platform_driver tilcdc_platform_driver = { | |||
645 | .probe = tilcdc_pdev_probe, | 645 | .probe = tilcdc_pdev_probe, |
646 | .remove = tilcdc_pdev_remove, | 646 | .remove = tilcdc_pdev_remove, |
647 | .driver = { | 647 | .driver = { |
648 | .owner = THIS_MODULE, | ||
649 | .name = "tilcdc", | 648 | .name = "tilcdc", |
650 | .pm = &tilcdc_pm_ops, | 649 | .pm = &tilcdc_pm_ops, |
651 | .of_match_table = tilcdc_of_match, | 650 | .of_match_table = tilcdc_of_match, |
diff --git a/drivers/hsi/controllers/omap_ssi.c b/drivers/hsi/controllers/omap_ssi.c index bf0eace4cb67..8cd03e5c1db6 100644 --- a/drivers/hsi/controllers/omap_ssi.c +++ b/drivers/hsi/controllers/omap_ssi.c | |||
@@ -610,7 +610,6 @@ static struct platform_driver ssi_pdriver = { | |||
610 | .remove = __exit_p(ssi_remove), | 610 | .remove = __exit_p(ssi_remove), |
611 | .driver = { | 611 | .driver = { |
612 | .name = "omap_ssi", | 612 | .name = "omap_ssi", |
613 | .owner = THIS_MODULE, | ||
614 | .pm = DEV_PM_OPS, | 613 | .pm = DEV_PM_OPS, |
615 | .of_match_table = omap_ssi_of_match, | 614 | .of_match_table = omap_ssi_of_match, |
616 | }, | 615 | }, |
diff --git a/drivers/hsi/controllers/omap_ssi_port.c b/drivers/hsi/controllers/omap_ssi_port.c index 4c0b5820581e..c65455af050e 100644 --- a/drivers/hsi/controllers/omap_ssi_port.c +++ b/drivers/hsi/controllers/omap_ssi_port.c | |||
@@ -1385,7 +1385,6 @@ static struct platform_driver ssi_port_pdriver = { | |||
1385 | .remove = __exit_p(ssi_port_remove), | 1385 | .remove = __exit_p(ssi_port_remove), |
1386 | .driver = { | 1386 | .driver = { |
1387 | .name = "omap_ssi_port", | 1387 | .name = "omap_ssi_port", |
1388 | .owner = THIS_MODULE, | ||
1389 | .of_match_table = omap_ssi_port_of_match, | 1388 | .of_match_table = omap_ssi_port_of_match, |
1390 | .pm = DEV_PM_OPS, | 1389 | .pm = DEV_PM_OPS, |
1391 | }, | 1390 | }, |
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 | ||
1548 | static struct platform_driver abituguru_driver = { | 1548 | static 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 | ||
1168 | static struct platform_driver abituguru3_driver = { | 1168 | static 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 | ||
475 | static struct platform_driver abx500_temp_driver = { | 475 | static 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 | ||
597 | static struct platform_driver coretemp_driver = { | 597 | static 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 | ||
2733 | static struct platform_driver dme1737_isa_driver = { | 2733 | static 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 | ||
1504 | static struct platform_driver f71805f_driver = { | 1504 | static 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 | ||
370 | static struct platform_driver f71882fg_driver = { | 370 | static 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 | ||
582 | static struct platform_driver i5k_amb_driver = { | 582 | static 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 | ||
312 | static struct platform_driver ibmpowernv_driver = { | 312 | static 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); | |||
172 | static struct platform_driver __refdata iio_hwmon_driver = { | 172 | static 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 | ||
499 | static struct platform_driver it87_driver = { | 499 | static 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 | ||
837 | static struct platform_driver lm78_isa_driver = { | 837 | static 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); | |||
334 | static struct platform_driver max197_driver = { | 334 | static 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); | |||
267 | static struct platform_driver mc13783_adc_driver = { | 267 | static 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 afc6b58eaa62..c29a4c3c6b9e 100644 --- a/drivers/hwmon/menf21bmc_hwmon.c +++ b/drivers/hwmon/menf21bmc_hwmon.c | |||
@@ -219,7 +219,6 @@ static struct platform_driver menf21bmc_hwmon = { | |||
219 | .probe = menf21bmc_hwmon_probe, | 219 | .probe = menf21bmc_hwmon_probe, |
220 | .driver = { | 220 | .driver = { |
221 | .name = DRV_NAME, | 221 | .name = DRV_NAME, |
222 | .owner = THIS_MODULE, | ||
223 | }, | 222 | }, |
224 | }; | 223 | }; |
225 | 224 | ||
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 | ||
1283 | static struct platform_driver nct6683_driver = { | 1283 | static 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 | ||
4040 | static struct platform_driver nct6775_driver = { | 4040 | static 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) | |||
609 | static struct platform_driver ntc_thermistor_driver = { | 609 | static 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 | ||
245 | static struct platform_driver pc87360_driver = { | 245 | static 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 | ||
1154 | static struct platform_driver pc87427_driver = { | 1154 | static 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) | |||
378 | static struct platform_driver s3c_hwmon_driver = { | 378 | static 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 | ||
592 | static struct platform_driver sch5627_driver = { | 592 | static 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 | ||
522 | static struct platform_driver sch5636_driver = { | 522 | static 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); | |||
1087 | static struct platform_driver sht15_driver = { | 1087 | static 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 | ||
216 | static struct platform_driver sis5595_driver = { | 216 | static 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 | ||
220 | static struct platform_driver smsc47b397_driver = { | 220 | static 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 | ||
850 | static struct platform_driver smsc47m1_driver = { | 850 | static 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); | |||
314 | static struct platform_driver env_driver = { | 314 | static 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 | ||
206 | static struct platform_driver via_cputemp_driver = { | 206 | static 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 | ||
671 | static struct platform_driver via686a_driver = { | 671 | static 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 | ||
1234 | static struct platform_driver vt1211_driver = { | 1234 | static 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 | ||
760 | static struct platform_driver vt8231_driver = { | 760 | static 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 | ||
2706 | static struct platform_driver w83627ehf_driver = { | 2706 | static 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 | ||
475 | static struct platform_driver w83627hf_driver = { | 475 | static 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 | ||
1840 | static struct platform_driver w83781d_isa_driver = { | 1840 | static 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 | ||
diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c index c1e2cd4d85fe..47a275c6ece1 100644 --- a/drivers/hwspinlock/omap_hwspinlock.c +++ b/drivers/hwspinlock/omap_hwspinlock.c | |||
@@ -179,7 +179,6 @@ static struct platform_driver omap_hwspinlock_driver = { | |||
179 | .remove = omap_hwspinlock_remove, | 179 | .remove = omap_hwspinlock_remove, |
180 | .driver = { | 180 | .driver = { |
181 | .name = "omap_hwspinlock", | 181 | .name = "omap_hwspinlock", |
182 | .owner = THIS_MODULE, | ||
183 | }, | 182 | }, |
184 | }; | 183 | }; |
185 | 184 | ||
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c index 401c33bcdb45..e93eabbd660f 100644 --- a/drivers/hwspinlock/u8500_hsem.c +++ b/drivers/hwspinlock/u8500_hsem.c | |||
@@ -175,7 +175,6 @@ static struct platform_driver u8500_hsem_driver = { | |||
175 | .remove = u8500_hsem_remove, | 175 | .remove = u8500_hsem_remove, |
176 | .driver = { | 176 | .driver = { |
177 | .name = "u8500_hsem", | 177 | .name = "u8500_hsem", |
178 | .owner = THIS_MODULE, | ||
179 | }, | 178 | }, |
180 | }; | 179 | }; |
181 | 180 | ||
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 917d54588d95..b39e0e84ee50 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers/i2c/busses/i2c-at91.c | |||
@@ -851,7 +851,6 @@ static struct platform_driver at91_twi_driver = { | |||
851 | .id_table = at91_twi_devtypes, | 851 | .id_table = at91_twi_devtypes, |
852 | .driver = { | 852 | .driver = { |
853 | .name = "at91_i2c", | 853 | .name = "at91_i2c", |
854 | .owner = THIS_MODULE, | ||
855 | .of_match_table = of_match_ptr(atmel_twi_dt_ids), | 854 | .of_match_table = of_match_ptr(atmel_twi_dt_ids), |
856 | .pm = at91_twi_pm_ops, | 855 | .pm = at91_twi_pm_ops, |
857 | }, | 856 | }, |
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c index 8762458ca7da..74faf6317bce 100644 --- a/drivers/i2c/busses/i2c-au1550.c +++ b/drivers/i2c/busses/i2c-au1550.c | |||
@@ -417,7 +417,6 @@ static const struct dev_pm_ops i2c_au1550_pmops = { | |||
417 | static struct platform_driver au1xpsc_smbus_driver = { | 417 | static struct platform_driver au1xpsc_smbus_driver = { |
418 | .driver = { | 418 | .driver = { |
419 | .name = "au1xpsc_smbus", | 419 | .name = "au1xpsc_smbus", |
420 | .owner = THIS_MODULE, | ||
421 | .pm = AU1XPSC_SMBUS_PMOPS, | 420 | .pm = AU1XPSC_SMBUS_PMOPS, |
422 | }, | 421 | }, |
423 | .probe = i2c_au1550_probe, | 422 | .probe = i2c_au1550_probe, |
diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/drivers/i2c/busses/i2c-bcm-kona.c index 18a74a6751a9..2c9d9b1c8e64 100644 --- a/drivers/i2c/busses/i2c-bcm-kona.c +++ b/drivers/i2c/busses/i2c-bcm-kona.c | |||
@@ -895,7 +895,6 @@ MODULE_DEVICE_TABLE(of, bcm_kona_i2c_of_match); | |||
895 | static struct platform_driver bcm_kona_i2c_driver = { | 895 | static struct platform_driver bcm_kona_i2c_driver = { |
896 | .driver = { | 896 | .driver = { |
897 | .name = "bcm-kona-i2c", | 897 | .name = "bcm-kona-i2c", |
898 | .owner = THIS_MODULE, | ||
899 | .of_match_table = bcm_kona_i2c_of_match, | 898 | .of_match_table = bcm_kona_i2c_of_match, |
900 | }, | 899 | }, |
901 | .probe = bcm_kona_i2c_probe, | 900 | .probe = bcm_kona_i2c_probe, |
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index 4b8ecd0b3661..5d6feb937b9d 100644 --- a/drivers/i2c/busses/i2c-bcm2835.c +++ b/drivers/i2c/busses/i2c-bcm2835.c | |||
@@ -313,7 +313,6 @@ static struct platform_driver bcm2835_i2c_driver = { | |||
313 | .remove = bcm2835_i2c_remove, | 313 | .remove = bcm2835_i2c_remove, |
314 | .driver = { | 314 | .driver = { |
315 | .name = "i2c-bcm2835", | 315 | .name = "i2c-bcm2835", |
316 | .owner = THIS_MODULE, | ||
317 | .of_match_table = bcm2835_i2c_of_match, | 316 | .of_match_table = bcm2835_i2c_of_match, |
318 | }, | 317 | }, |
319 | }; | 318 | }; |
diff --git a/drivers/i2c/busses/i2c-bfin-twi.c b/drivers/i2c/busses/i2c-bfin-twi.c index 067c1615e968..af162b4c7a6d 100644 --- a/drivers/i2c/busses/i2c-bfin-twi.c +++ b/drivers/i2c/busses/i2c-bfin-twi.c | |||
@@ -717,7 +717,6 @@ static struct platform_driver i2c_bfin_twi_driver = { | |||
717 | .remove = i2c_bfin_twi_remove, | 717 | .remove = i2c_bfin_twi_remove, |
718 | .driver = { | 718 | .driver = { |
719 | .name = "i2c-bfin-twi", | 719 | .name = "i2c-bfin-twi", |
720 | .owner = THIS_MODULE, | ||
721 | .pm = I2C_BFIN_TWI_PM_OPS, | 720 | .pm = I2C_BFIN_TWI_PM_OPS, |
722 | }, | 721 | }, |
723 | }; | 722 | }; |
diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index 63f3f03ecc9b..04d0a7e449ef 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c | |||
@@ -890,7 +890,6 @@ MODULE_DEVICE_TABLE(of, cdns_i2c_of_match); | |||
890 | static struct platform_driver cdns_i2c_drv = { | 890 | static struct platform_driver cdns_i2c_drv = { |
891 | .driver = { | 891 | .driver = { |
892 | .name = DRIVER_NAME, | 892 | .name = DRIVER_NAME, |
893 | .owner = THIS_MODULE, | ||
894 | .of_match_table = cdns_i2c_of_match, | 893 | .of_match_table = cdns_i2c_of_match, |
895 | .pm = &cdns_i2c_dev_pm_ops, | 894 | .pm = &cdns_i2c_dev_pm_ops, |
896 | }, | 895 | }, |
diff --git a/drivers/i2c/busses/i2c-cbus-gpio.c b/drivers/i2c/busses/i2c-cbus-gpio.c index bdf040fd8675..b4f91e48948a 100644 --- a/drivers/i2c/busses/i2c-cbus-gpio.c +++ b/drivers/i2c/busses/i2c-cbus-gpio.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver cbus_i2c_driver = { | |||
287 | .probe = cbus_i2c_probe, | 287 | .probe = cbus_i2c_probe, |
288 | .remove = cbus_i2c_remove, | 288 | .remove = cbus_i2c_remove, |
289 | .driver = { | 289 | .driver = { |
290 | .owner = THIS_MODULE, | ||
291 | .name = "i2c-cbus-gpio", | 290 | .name = "i2c-cbus-gpio", |
292 | .of_match_table = of_match_ptr(i2c_cbus_dt_ids), | 291 | .of_match_table = of_match_ptr(i2c_cbus_dt_ids), |
293 | }, | 292 | }, |
diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index f3b89a4698b6..a08069c71555 100644 --- a/drivers/i2c/busses/i2c-cpm.c +++ b/drivers/i2c/busses/i2c-cpm.c | |||
@@ -720,7 +720,6 @@ static struct platform_driver cpm_i2c_driver = { | |||
720 | .remove = cpm_i2c_remove, | 720 | .remove = cpm_i2c_remove, |
721 | .driver = { | 721 | .driver = { |
722 | .name = "fsl-i2c-cpm", | 722 | .name = "fsl-i2c-cpm", |
723 | .owner = THIS_MODULE, | ||
724 | .of_match_table = cpm_i2c_match, | 723 | .of_match_table = cpm_i2c_match, |
725 | }, | 724 | }, |
726 | }; | 725 | }; |
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c index 4d9614719128..dcf671b736b7 100644 --- a/drivers/i2c/busses/i2c-davinci.c +++ b/drivers/i2c/busses/i2c-davinci.c | |||
@@ -793,7 +793,6 @@ static struct platform_driver davinci_i2c_driver = { | |||
793 | .remove = davinci_i2c_remove, | 793 | .remove = davinci_i2c_remove, |
794 | .driver = { | 794 | .driver = { |
795 | .name = "i2c_davinci", | 795 | .name = "i2c_davinci", |
796 | .owner = THIS_MODULE, | ||
797 | .pm = davinci_i2c_pm_ops, | 796 | .pm = davinci_i2c_pm_ops, |
798 | .of_match_table = davinci_i2c_of_match, | 797 | .of_match_table = davinci_i2c_of_match, |
799 | }, | 798 | }, |
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index a7431150acf7..cb0667ce1d40 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c | |||
@@ -331,7 +331,6 @@ static struct platform_driver dw_i2c_driver = { | |||
331 | .remove = dw_i2c_remove, | 331 | .remove = dw_i2c_remove, |
332 | .driver = { | 332 | .driver = { |
333 | .name = "i2c_designware", | 333 | .name = "i2c_designware", |
334 | .owner = THIS_MODULE, | ||
335 | .of_match_table = of_match_ptr(dw_i2c_of_match), | 334 | .of_match_table = of_match_ptr(dw_i2c_of_match), |
336 | .acpi_match_table = ACPI_PTR(dw_i2c_acpi_match), | 335 | .acpi_match_table = ACPI_PTR(dw_i2c_acpi_match), |
337 | .pm = &dw_i2c_dev_pm_ops, | 336 | .pm = &dw_i2c_dev_pm_ops, |
diff --git a/drivers/i2c/busses/i2c-efm32.c b/drivers/i2c/busses/i2c-efm32.c index 10b8323b08d4..8eff62738877 100644 --- a/drivers/i2c/busses/i2c-efm32.c +++ b/drivers/i2c/busses/i2c-efm32.c | |||
@@ -473,7 +473,6 @@ static struct platform_driver efm32_i2c_driver = { | |||
473 | 473 | ||
474 | .driver = { | 474 | .driver = { |
475 | .name = DRIVER_NAME, | 475 | .name = DRIVER_NAME, |
476 | .owner = THIS_MODULE, | ||
477 | .of_match_table = efm32_i2c_dt_ids, | 476 | .of_match_table = efm32_i2c_dt_ids, |
478 | }, | 477 | }, |
479 | }; | 478 | }; |
diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c index 81e6263cd7da..9306a5c3092e 100644 --- a/drivers/i2c/busses/i2c-exynos5.c +++ b/drivers/i2c/busses/i2c-exynos5.c | |||
@@ -861,7 +861,6 @@ static struct platform_driver exynos5_i2c_driver = { | |||
861 | .probe = exynos5_i2c_probe, | 861 | .probe = exynos5_i2c_probe, |
862 | .remove = exynos5_i2c_remove, | 862 | .remove = exynos5_i2c_remove, |
863 | .driver = { | 863 | .driver = { |
864 | .owner = THIS_MODULE, | ||
865 | .name = "exynos5-hsi2c", | 864 | .name = "exynos5-hsi2c", |
866 | .pm = &exynos5_i2c_dev_pm_ops, | 865 | .pm = &exynos5_i2c_dev_pm_ops, |
867 | .of_match_table = exynos5_i2c_match, | 866 | .of_match_table = exynos5_i2c_match, |
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c index 933f1e453e41..34cfc0ebdcb9 100644 --- a/drivers/i2c/busses/i2c-gpio.c +++ b/drivers/i2c/busses/i2c-gpio.c | |||
@@ -260,7 +260,6 @@ MODULE_DEVICE_TABLE(of, i2c_gpio_dt_ids); | |||
260 | static struct platform_driver i2c_gpio_driver = { | 260 | static struct platform_driver i2c_gpio_driver = { |
261 | .driver = { | 261 | .driver = { |
262 | .name = "i2c-gpio", | 262 | .name = "i2c-gpio", |
263 | .owner = THIS_MODULE, | ||
264 | .of_match_table = of_match_ptr(i2c_gpio_dt_ids), | 263 | .of_match_table = of_match_ptr(i2c_gpio_dt_ids), |
265 | }, | 264 | }, |
266 | .probe = i2c_gpio_probe, | 265 | .probe = i2c_gpio_probe, |
diff --git a/drivers/i2c/busses/i2c-highlander.c b/drivers/i2c/busses/i2c-highlander.c index 512fcfabc18e..56dc69e7349f 100644 --- a/drivers/i2c/busses/i2c-highlander.c +++ b/drivers/i2c/busses/i2c-highlander.c | |||
@@ -456,7 +456,6 @@ static int highlander_i2c_remove(struct platform_device *pdev) | |||
456 | static struct platform_driver highlander_i2c_driver = { | 456 | static struct platform_driver highlander_i2c_driver = { |
457 | .driver = { | 457 | .driver = { |
458 | .name = "i2c-highlander", | 458 | .name = "i2c-highlander", |
459 | .owner = THIS_MODULE, | ||
460 | }, | 459 | }, |
461 | 460 | ||
462 | .probe = highlander_i2c_probe, | 461 | .probe = highlander_i2c_probe, |
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 274312c96b12..722f839cfa3c 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -802,7 +802,6 @@ static const struct of_device_id ibm_iic_match[] = { | |||
802 | static struct platform_driver ibm_iic_driver = { | 802 | static struct platform_driver ibm_iic_driver = { |
803 | .driver = { | 803 | .driver = { |
804 | .name = "ibm-iic", | 804 | .name = "ibm-iic", |
805 | .owner = THIS_MODULE, | ||
806 | .of_match_table = ibm_iic_match, | 805 | .of_match_table = ibm_iic_match, |
807 | }, | 806 | }, |
808 | .probe = iic_probe, | 807 | .probe = iic_probe, |
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index c48e46af670a..3c881913784b 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c | |||
@@ -777,7 +777,6 @@ static struct platform_driver i2c_imx_driver = { | |||
777 | .remove = i2c_imx_remove, | 777 | .remove = i2c_imx_remove, |
778 | .driver = { | 778 | .driver = { |
779 | .name = DRIVER_NAME, | 779 | .name = DRIVER_NAME, |
780 | .owner = THIS_MODULE, | ||
781 | .of_match_table = i2c_imx_dt_ids, | 780 | .of_match_table = i2c_imx_dt_ids, |
782 | }, | 781 | }, |
783 | .id_table = imx_i2c_devtype, | 782 | .id_table = imx_i2c_devtype, |
diff --git a/drivers/i2c/busses/i2c-iop3xx.c b/drivers/i2c/busses/i2c-iop3xx.c index 3d16c2f60a5e..72d6161cf77c 100644 --- a/drivers/i2c/busses/i2c-iop3xx.c +++ b/drivers/i2c/busses/i2c-iop3xx.c | |||
@@ -516,7 +516,6 @@ static struct platform_driver iop3xx_i2c_driver = { | |||
516 | .probe = iop3xx_i2c_probe, | 516 | .probe = iop3xx_i2c_probe, |
517 | .remove = iop3xx_i2c_remove, | 517 | .remove = iop3xx_i2c_remove, |
518 | .driver = { | 518 | .driver = { |
519 | .owner = THIS_MODULE, | ||
520 | .name = "IOP3xx-I2C", | 519 | .name = "IOP3xx-I2C", |
521 | }, | 520 | }, |
522 | }; | 521 | }; |
diff --git a/drivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c index cf99dbf21fd1..efd8ed6f7f32 100644 --- a/drivers/i2c/busses/i2c-isch.c +++ b/drivers/i2c/busses/i2c-isch.c | |||
@@ -313,7 +313,6 @@ static int smbus_sch_remove(struct platform_device *pdev) | |||
313 | static struct platform_driver smbus_sch_driver = { | 313 | static struct platform_driver smbus_sch_driver = { |
314 | .driver = { | 314 | .driver = { |
315 | .name = "isch_smbus", | 315 | .name = "isch_smbus", |
316 | .owner = THIS_MODULE, | ||
317 | }, | 316 | }, |
318 | .probe = smbus_sch_probe, | 317 | .probe = smbus_sch_probe, |
319 | .remove = smbus_sch_remove, | 318 | .remove = smbus_sch_remove, |
diff --git a/drivers/i2c/busses/i2c-kempld.c b/drivers/i2c/busses/i2c-kempld.c index af8f65fb1c05..25993d2e64bf 100644 --- a/drivers/i2c/busses/i2c-kempld.c +++ b/drivers/i2c/busses/i2c-kempld.c | |||
@@ -394,7 +394,6 @@ static int kempld_i2c_resume(struct platform_device *pdev) | |||
394 | static struct platform_driver kempld_i2c_driver = { | 394 | static struct platform_driver kempld_i2c_driver = { |
395 | .driver = { | 395 | .driver = { |
396 | .name = "kempld-i2c", | 396 | .name = "kempld-i2c", |
397 | .owner = THIS_MODULE, | ||
398 | }, | 397 | }, |
399 | .probe = kempld_i2c_probe, | 398 | .probe = kempld_i2c_probe, |
400 | .remove = kempld_i2c_remove, | 399 | .remove = kempld_i2c_remove, |
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c index 0edf630b099a..795d25ed0f92 100644 --- a/drivers/i2c/busses/i2c-mpc.c +++ b/drivers/i2c/busses/i2c-mpc.c | |||
@@ -813,7 +813,6 @@ static struct platform_driver mpc_i2c_driver = { | |||
813 | .probe = fsl_i2c_probe, | 813 | .probe = fsl_i2c_probe, |
814 | .remove = fsl_i2c_remove, | 814 | .remove = fsl_i2c_remove, |
815 | .driver = { | 815 | .driver = { |
816 | .owner = THIS_MODULE, | ||
817 | .name = DRV_NAME, | 816 | .name = DRV_NAME, |
818 | .of_match_table = mpc_i2c_of_match, | 817 | .of_match_table = mpc_i2c_of_match, |
819 | .pm = MPC_I2C_PM_OPS, | 818 | .pm = MPC_I2C_PM_OPS, |
diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c index 2f64273d3f2b..373f6d4e4080 100644 --- a/drivers/i2c/busses/i2c-mv64xxx.c +++ b/drivers/i2c/busses/i2c-mv64xxx.c | |||
@@ -925,7 +925,6 @@ static struct platform_driver mv64xxx_i2c_driver = { | |||
925 | .probe = mv64xxx_i2c_probe, | 925 | .probe = mv64xxx_i2c_probe, |
926 | .remove = mv64xxx_i2c_remove, | 926 | .remove = mv64xxx_i2c_remove, |
927 | .driver = { | 927 | .driver = { |
928 | .owner = THIS_MODULE, | ||
929 | .name = MV64XXX_I2C_CTLR_NAME, | 928 | .name = MV64XXX_I2C_CTLR_NAME, |
930 | .of_match_table = mv64xxx_i2c_of_match_table, | 929 | .of_match_table = mv64xxx_i2c_of_match_table, |
931 | }, | 930 | }, |
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index 07e1be6f8992..a13aeade5d3c 100644 --- a/drivers/i2c/busses/i2c-mxs.c +++ b/drivers/i2c/busses/i2c-mxs.c | |||
@@ -893,7 +893,6 @@ static int mxs_i2c_remove(struct platform_device *pdev) | |||
893 | static struct platform_driver mxs_i2c_driver = { | 893 | static struct platform_driver mxs_i2c_driver = { |
894 | .driver = { | 894 | .driver = { |
895 | .name = DRIVER_NAME, | 895 | .name = DRIVER_NAME, |
896 | .owner = THIS_MODULE, | ||
897 | .of_match_table = mxs_i2c_dt_ids, | 896 | .of_match_table = mxs_i2c_dt_ids, |
898 | }, | 897 | }, |
899 | .probe = mxs_i2c_probe, | 898 | .probe = mxs_i2c_probe, |
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 2a4fe0b7cfb7..7249b5b1e5d0 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c | |||
@@ -480,7 +480,6 @@ static struct platform_driver ocores_i2c_driver = { | |||
480 | .probe = ocores_i2c_probe, | 480 | .probe = ocores_i2c_probe, |
481 | .remove = ocores_i2c_remove, | 481 | .remove = ocores_i2c_remove, |
482 | .driver = { | 482 | .driver = { |
483 | .owner = THIS_MODULE, | ||
484 | .name = "ocores-i2c", | 483 | .name = "ocores-i2c", |
485 | .of_match_table = ocores_i2c_match, | 484 | .of_match_table = ocores_i2c_match, |
486 | .pm = OCORES_I2C_PM, | 485 | .pm = OCORES_I2C_PM, |
diff --git a/drivers/i2c/busses/i2c-octeon.c b/drivers/i2c/busses/i2c-octeon.c index 81042b08a947..6e75e016bffc 100644 --- a/drivers/i2c/busses/i2c-octeon.c +++ b/drivers/i2c/busses/i2c-octeon.c | |||
@@ -623,7 +623,6 @@ static struct platform_driver octeon_i2c_driver = { | |||
623 | .probe = octeon_i2c_probe, | 623 | .probe = octeon_i2c_probe, |
624 | .remove = octeon_i2c_remove, | 624 | .remove = octeon_i2c_remove, |
625 | .driver = { | 625 | .driver = { |
626 | .owner = THIS_MODULE, | ||
627 | .name = DRV_NAME, | 626 | .name = DRV_NAME, |
628 | .of_match_table = octeon_i2c_match, | 627 | .of_match_table = octeon_i2c_match, |
629 | }, | 628 | }, |
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 0dffb0e62c3b..d20c6bc64c70 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c | |||
@@ -1338,7 +1338,6 @@ static struct platform_driver omap_i2c_driver = { | |||
1338 | .remove = omap_i2c_remove, | 1338 | .remove = omap_i2c_remove, |
1339 | .driver = { | 1339 | .driver = { |
1340 | .name = "omap_i2c", | 1340 | .name = "omap_i2c", |
1341 | .owner = THIS_MODULE, | ||
1342 | .pm = OMAP_I2C_PM_OPS, | 1341 | .pm = OMAP_I2C_PM_OPS, |
1343 | .of_match_table = of_match_ptr(omap_i2c_of_match), | 1342 | .of_match_table = of_match_ptr(omap_i2c_of_match), |
1344 | }, | 1343 | }, |
diff --git a/drivers/i2c/busses/i2c-parport-light.c b/drivers/i2c/busses/i2c-parport-light.c index 62f55fe624cb..96da36f69f06 100644 --- a/drivers/i2c/busses/i2c-parport-light.c +++ b/drivers/i2c/busses/i2c-parport-light.c | |||
@@ -187,7 +187,6 @@ static int i2c_parport_remove(struct platform_device *pdev) | |||
187 | 187 | ||
188 | static struct platform_driver i2c_parport_driver = { | 188 | static struct platform_driver i2c_parport_driver = { |
189 | .driver = { | 189 | .driver = { |
190 | .owner = THIS_MODULE, | ||
191 | .name = DRVNAME, | 190 | .name = DRVNAME, |
192 | }, | 191 | }, |
193 | .probe = i2c_parport_probe, | 192 | .probe = i2c_parport_probe, |
diff --git a/drivers/i2c/busses/i2c-pca-platform.c b/drivers/i2c/busses/i2c-pca-platform.c index 845f12598e79..6336f02ec566 100644 --- a/drivers/i2c/busses/i2c-pca-platform.c +++ b/drivers/i2c/busses/i2c-pca-platform.c | |||
@@ -280,7 +280,6 @@ static struct platform_driver i2c_pca_pf_driver = { | |||
280 | .remove = i2c_pca_pf_remove, | 280 | .remove = i2c_pca_pf_remove, |
281 | .driver = { | 281 | .driver = { |
282 | .name = "i2c-pca-platform", | 282 | .name = "i2c-pca-platform", |
283 | .owner = THIS_MODULE, | ||
284 | }, | 283 | }, |
285 | }; | 284 | }; |
286 | 285 | ||
diff --git a/drivers/i2c/busses/i2c-pmcmsp.c b/drivers/i2c/busses/i2c-pmcmsp.c index 8564768fee32..702d05b7daf3 100644 --- a/drivers/i2c/busses/i2c-pmcmsp.c +++ b/drivers/i2c/busses/i2c-pmcmsp.c | |||
@@ -628,7 +628,6 @@ static struct platform_driver pmcmsptwi_driver = { | |||
628 | .remove = pmcmsptwi_remove, | 628 | .remove = pmcmsptwi_remove, |
629 | .driver = { | 629 | .driver = { |
630 | .name = DRV_NAME, | 630 | .name = DRV_NAME, |
631 | .owner = THIS_MODULE, | ||
632 | }, | 631 | }, |
633 | }; | 632 | }; |
634 | 633 | ||
diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index dc7ff829ad78..e814a36d9b78 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c | |||
@@ -751,7 +751,6 @@ MODULE_DEVICE_TABLE(of, i2c_pnx_of_match); | |||
751 | static struct platform_driver i2c_pnx_driver = { | 751 | static struct platform_driver i2c_pnx_driver = { |
752 | .driver = { | 752 | .driver = { |
753 | .name = "pnx-i2c", | 753 | .name = "pnx-i2c", |
754 | .owner = THIS_MODULE, | ||
755 | .of_match_table = of_match_ptr(i2c_pnx_of_match), | 754 | .of_match_table = of_match_ptr(i2c_pnx_of_match), |
756 | .pm = PNX_I2C_PM, | 755 | .pm = PNX_I2C_PM, |
757 | }, | 756 | }, |
diff --git a/drivers/i2c/busses/i2c-puv3.c b/drivers/i2c/busses/i2c-puv3.c index c83fc3ccdd2b..82b6f02544da 100644 --- a/drivers/i2c/busses/i2c-puv3.c +++ b/drivers/i2c/busses/i2c-puv3.c | |||
@@ -270,7 +270,6 @@ static struct platform_driver puv3_i2c_driver = { | |||
270 | .remove = puv3_i2c_remove, | 270 | .remove = puv3_i2c_remove, |
271 | .driver = { | 271 | .driver = { |
272 | .name = "PKUnity-v3-I2C", | 272 | .name = "PKUnity-v3-I2C", |
273 | .owner = THIS_MODULE, | ||
274 | .pm = PUV3_I2C_PM, | 273 | .pm = PUV3_I2C_PM, |
275 | } | 274 | } |
276 | }; | 275 | }; |
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index be671f7a0e06..495589a78e6c 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c | |||
@@ -1328,7 +1328,6 @@ static struct platform_driver i2c_pxa_driver = { | |||
1328 | .remove = i2c_pxa_remove, | 1328 | .remove = i2c_pxa_remove, |
1329 | .driver = { | 1329 | .driver = { |
1330 | .name = "pxa2xx-i2c", | 1330 | .name = "pxa2xx-i2c", |
1331 | .owner = THIS_MODULE, | ||
1332 | .pm = I2C_PXA_DEV_PM_OPS, | 1331 | .pm = I2C_PXA_DEV_PM_OPS, |
1333 | .of_match_table = i2c_pxa_dt_ids, | 1332 | .of_match_table = i2c_pxa_dt_ids, |
1334 | }, | 1333 | }, |
diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 092d89bd3224..4dad23bdffbe 100644 --- a/drivers/i2c/busses/i2c-qup.c +++ b/drivers/i2c/busses/i2c-qup.c | |||
@@ -764,7 +764,6 @@ static struct platform_driver qup_i2c_driver = { | |||
764 | .remove = qup_i2c_remove, | 764 | .remove = qup_i2c_remove, |
765 | .driver = { | 765 | .driver = { |
766 | .name = "i2c_qup", | 766 | .name = "i2c_qup", |
767 | .owner = THIS_MODULE, | ||
768 | .pm = &qup_i2c_qup_pm_ops, | 767 | .pm = &qup_i2c_qup_pm_ops, |
769 | .of_match_table = qup_i2c_dt_match, | 768 | .of_match_table = qup_i2c_dt_match, |
770 | }, | 769 | }, |
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c index d826e82dd997..a9494eec1ee2 100644 --- a/drivers/i2c/busses/i2c-rcar.c +++ b/drivers/i2c/busses/i2c-rcar.c | |||
@@ -620,7 +620,6 @@ MODULE_DEVICE_TABLE(platform, rcar_i2c_id_table); | |||
620 | static struct platform_driver rcar_i2c_driver = { | 620 | static struct platform_driver rcar_i2c_driver = { |
621 | .driver = { | 621 | .driver = { |
622 | .name = "i2c-rcar", | 622 | .name = "i2c-rcar", |
623 | .owner = THIS_MODULE, | ||
624 | .of_match_table = rcar_i2c_dt_ids, | 623 | .of_match_table = rcar_i2c_dt_ids, |
625 | }, | 624 | }, |
626 | .probe = rcar_i2c_probe, | 625 | .probe = rcar_i2c_probe, |
diff --git a/drivers/i2c/busses/i2c-riic.c b/drivers/i2c/busses/i2c-riic.c index af3b3d032a9f..d7e3af671543 100644 --- a/drivers/i2c/busses/i2c-riic.c +++ b/drivers/i2c/busses/i2c-riic.c | |||
@@ -414,7 +414,6 @@ static struct platform_driver riic_i2c_driver = { | |||
414 | .remove = riic_i2c_remove, | 414 | .remove = riic_i2c_remove, |
415 | .driver = { | 415 | .driver = { |
416 | .name = "i2c-riic", | 416 | .name = "i2c-riic", |
417 | .owner = THIS_MODULE, | ||
418 | .of_match_table = riic_i2c_dt_ids, | 417 | .of_match_table = riic_i2c_dt_ids, |
419 | }, | 418 | }, |
420 | }; | 419 | }; |
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index f486d0eac4d0..045edd74394a 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c | |||
@@ -753,7 +753,6 @@ static struct platform_driver rk3x_i2c_driver = { | |||
753 | .probe = rk3x_i2c_probe, | 753 | .probe = rk3x_i2c_probe, |
754 | .remove = rk3x_i2c_remove, | 754 | .remove = rk3x_i2c_remove, |
755 | .driver = { | 755 | .driver = { |
756 | .owner = THIS_MODULE, | ||
757 | .name = "rk3x-i2c", | 756 | .name = "rk3x-i2c", |
758 | .of_match_table = rk3x_i2c_match, | 757 | .of_match_table = rk3x_i2c_match, |
759 | }, | 758 | }, |
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index e3b0337faeb7..fd4fd0c4ef21 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -1305,7 +1305,6 @@ static struct platform_driver s3c24xx_i2c_driver = { | |||
1305 | .remove = s3c24xx_i2c_remove, | 1305 | .remove = s3c24xx_i2c_remove, |
1306 | .id_table = s3c24xx_driver_ids, | 1306 | .id_table = s3c24xx_driver_ids, |
1307 | .driver = { | 1307 | .driver = { |
1308 | .owner = THIS_MODULE, | ||
1309 | .name = "s3c-i2c", | 1308 | .name = "s3c-i2c", |
1310 | .pm = S3C24XX_DEV_PM_OPS, | 1309 | .pm = S3C24XX_DEV_PM_OPS, |
1311 | .of_match_table = of_match_ptr(s3c24xx_i2c_match), | 1310 | .of_match_table = of_match_ptr(s3c24xx_i2c_match), |
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c index d76f3d9737ec..24968384b401 100644 --- a/drivers/i2c/busses/i2c-sh7760.c +++ b/drivers/i2c/busses/i2c-sh7760.c | |||
@@ -552,7 +552,6 @@ static int sh7760_i2c_remove(struct platform_device *pdev) | |||
552 | static struct platform_driver sh7760_i2c_drv = { | 552 | static struct platform_driver sh7760_i2c_drv = { |
553 | .driver = { | 553 | .driver = { |
554 | .name = SH7760_I2C_DEVNAME, | 554 | .name = SH7760_I2C_DEVNAME, |
555 | .owner = THIS_MODULE, | ||
556 | }, | 555 | }, |
557 | .probe = sh7760_i2c_probe, | 556 | .probe = sh7760_i2c_probe, |
558 | .remove = sh7760_i2c_remove, | 557 | .remove = sh7760_i2c_remove, |
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c index 8b5e79cb4468..12b9a69c0285 100644 --- a/drivers/i2c/busses/i2c-sh_mobile.c +++ b/drivers/i2c/busses/i2c-sh_mobile.c | |||
@@ -798,7 +798,6 @@ static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = { | |||
798 | static struct platform_driver sh_mobile_i2c_driver = { | 798 | static struct platform_driver sh_mobile_i2c_driver = { |
799 | .driver = { | 799 | .driver = { |
800 | .name = "i2c-sh_mobile", | 800 | .name = "i2c-sh_mobile", |
801 | .owner = THIS_MODULE, | ||
802 | .pm = &sh_mobile_i2c_dev_pm_ops, | 801 | .pm = &sh_mobile_i2c_dev_pm_ops, |
803 | .of_match_table = sh_mobile_i2c_dt_ids, | 802 | .of_match_table = sh_mobile_i2c_dt_ids, |
804 | }, | 803 | }, |
diff --git a/drivers/i2c/busses/i2c-simtec.c b/drivers/i2c/busses/i2c-simtec.c index 964e5c6f84ab..e766de8d34e3 100644 --- a/drivers/i2c/busses/i2c-simtec.c +++ b/drivers/i2c/busses/i2c-simtec.c | |||
@@ -158,7 +158,6 @@ static int simtec_i2c_remove(struct platform_device *dev) | |||
158 | static struct platform_driver simtec_i2c_driver = { | 158 | static struct platform_driver simtec_i2c_driver = { |
159 | .driver = { | 159 | .driver = { |
160 | .name = "simtec-i2c", | 160 | .name = "simtec-i2c", |
161 | .owner = THIS_MODULE, | ||
162 | }, | 161 | }, |
163 | .probe = simtec_i2c_probe, | 162 | .probe = simtec_i2c_probe, |
164 | .remove = simtec_i2c_remove, | 163 | .remove = simtec_i2c_remove, |
diff --git a/drivers/i2c/busses/i2c-sirf.c b/drivers/i2c/busses/i2c-sirf.c index b1336d5f0531..1092d4eeeb54 100644 --- a/drivers/i2c/busses/i2c-sirf.c +++ b/drivers/i2c/busses/i2c-sirf.c | |||
@@ -451,7 +451,6 @@ MODULE_DEVICE_TABLE(of, sirfsoc_i2c_of_match); | |||
451 | static struct platform_driver i2c_sirfsoc_driver = { | 451 | static struct platform_driver i2c_sirfsoc_driver = { |
452 | .driver = { | 452 | .driver = { |
453 | .name = "sirfsoc_i2c", | 453 | .name = "sirfsoc_i2c", |
454 | .owner = THIS_MODULE, | ||
455 | #ifdef CONFIG_PM | 454 | #ifdef CONFIG_PM |
456 | .pm = &i2c_sirfsoc_pm_ops, | 455 | .pm = &i2c_sirfsoc_pm_ops, |
457 | #endif | 456 | #endif |
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index 2e4eccd6599a..88057fad9dfe 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c | |||
@@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(of, st_i2c_match); | |||
863 | static struct platform_driver st_i2c_driver = { | 863 | static struct platform_driver st_i2c_driver = { |
864 | .driver = { | 864 | .driver = { |
865 | .name = "st-i2c", | 865 | .name = "st-i2c", |
866 | .owner = THIS_MODULE, | ||
867 | .of_match_table = st_i2c_match, | 866 | .of_match_table = st_i2c_match, |
868 | .pm = ST_I2C_PM, | 867 | .pm = ST_I2C_PM, |
869 | }, | 868 | }, |
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c index 6a44f37798c8..4885da9e9298 100644 --- a/drivers/i2c/busses/i2c-stu300.c +++ b/drivers/i2c/busses/i2c-stu300.c | |||
@@ -981,7 +981,6 @@ static const struct of_device_id stu300_dt_match[] = { | |||
981 | static struct platform_driver stu300_i2c_driver = { | 981 | static struct platform_driver stu300_i2c_driver = { |
982 | .driver = { | 982 | .driver = { |
983 | .name = NAME, | 983 | .name = NAME, |
984 | .owner = THIS_MODULE, | ||
985 | .pm = STU300_I2C_PM, | 984 | .pm = STU300_I2C_PM, |
986 | .of_match_table = stu300_dt_match, | 985 | .of_match_table = stu300_dt_match, |
987 | }, | 986 | }, |
diff --git a/drivers/i2c/busses/i2c-sun6i-p2wi.c b/drivers/i2c/busses/i2c-sun6i-p2wi.c index 4d75d4759709..7668e2e9b8fd 100644 --- a/drivers/i2c/busses/i2c-sun6i-p2wi.c +++ b/drivers/i2c/busses/i2c-sun6i-p2wi.c | |||
@@ -332,7 +332,6 @@ static struct platform_driver p2wi_driver = { | |||
332 | .probe = p2wi_probe, | 332 | .probe = p2wi_probe, |
333 | .remove = p2wi_remove, | 333 | .remove = p2wi_remove, |
334 | .driver = { | 334 | .driver = { |
335 | .owner = THIS_MODULE, | ||
336 | .name = "i2c-sunxi-p2wi", | 335 | .name = "i2c-sunxi-p2wi", |
337 | .of_match_table = p2wi_of_match_table, | 336 | .of_match_table = p2wi_of_match_table, |
338 | }, | 337 | }, |
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index efba1ebe16ba..28b87e683503 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c | |||
@@ -893,7 +893,6 @@ static struct platform_driver tegra_i2c_driver = { | |||
893 | .remove = tegra_i2c_remove, | 893 | .remove = tegra_i2c_remove, |
894 | .driver = { | 894 | .driver = { |
895 | .name = "tegra-i2c", | 895 | .name = "tegra-i2c", |
896 | .owner = THIS_MODULE, | ||
897 | .of_match_table = tegra_i2c_of_match, | 896 | .of_match_table = tegra_i2c_of_match, |
898 | .pm = TEGRA_I2C_PM, | 897 | .pm = TEGRA_I2C_PM, |
899 | }, | 898 | }, |
diff --git a/drivers/i2c/busses/i2c-versatile.c b/drivers/i2c/busses/i2c-versatile.c index 6bb3a89a440f..240637f01d11 100644 --- a/drivers/i2c/busses/i2c-versatile.c +++ b/drivers/i2c/busses/i2c-versatile.c | |||
@@ -138,7 +138,6 @@ static struct platform_driver i2c_versatile_driver = { | |||
138 | .remove = i2c_versatile_remove, | 138 | .remove = i2c_versatile_remove, |
139 | .driver = { | 139 | .driver = { |
140 | .name = "versatile-i2c", | 140 | .name = "versatile-i2c", |
141 | .owner = THIS_MODULE, | ||
142 | .of_match_table = i2c_versatile_match, | 141 | .of_match_table = i2c_versatile_match, |
143 | }, | 142 | }, |
144 | }; | 143 | }; |
diff --git a/drivers/i2c/busses/i2c-wmt.c b/drivers/i2c/busses/i2c-wmt.c index f80a38c2072c..82ea34925489 100644 --- a/drivers/i2c/busses/i2c-wmt.c +++ b/drivers/i2c/busses/i2c-wmt.c | |||
@@ -462,7 +462,6 @@ static struct platform_driver wmt_i2c_driver = { | |||
462 | .remove = wmt_i2c_remove, | 462 | .remove = wmt_i2c_remove, |
463 | .driver = { | 463 | .driver = { |
464 | .name = "wmt-i2c", | 464 | .name = "wmt-i2c", |
465 | .owner = THIS_MODULE, | ||
466 | .of_match_table = wmt_i2c_dt_ids, | 465 | .of_match_table = wmt_i2c_dt_ids, |
467 | }, | 466 | }, |
468 | }; | 467 | }; |
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index ade9223912d3..e60e67a5fac6 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c | |||
@@ -771,7 +771,6 @@ static struct platform_driver xiic_i2c_driver = { | |||
771 | .probe = xiic_i2c_probe, | 771 | .probe = xiic_i2c_probe, |
772 | .remove = xiic_i2c_remove, | 772 | .remove = xiic_i2c_remove, |
773 | .driver = { | 773 | .driver = { |
774 | .owner = THIS_MODULE, | ||
775 | .name = DRIVER_NAME, | 774 | .name = DRIVER_NAME, |
776 | .of_match_table = of_match_ptr(xiic_of_match), | 775 | .of_match_table = of_match_ptr(xiic_of_match), |
777 | }, | 776 | }, |
diff --git a/drivers/i2c/busses/i2c-xlr.c b/drivers/i2c/busses/i2c-xlr.c index 17f7352eca6b..8b36bcfd952d 100644 --- a/drivers/i2c/busses/i2c-xlr.c +++ b/drivers/i2c/busses/i2c-xlr.c | |||
@@ -263,7 +263,6 @@ static struct platform_driver xlr_i2c_driver = { | |||
263 | .remove = xlr_i2c_remove, | 263 | .remove = xlr_i2c_remove, |
264 | .driver = { | 264 | .driver = { |
265 | .name = "xlr-i2cbus", | 265 | .name = "xlr-i2cbus", |
266 | .owner = THIS_MODULE, | ||
267 | }, | 266 | }, |
268 | }; | 267 | }; |
269 | 268 | ||
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c index ff3f5747e43b..77dacfef072e 100644 --- a/drivers/i2c/busses/scx200_acb.c +++ b/drivers/i2c/busses/scx200_acb.c | |||
@@ -548,7 +548,6 @@ static int scx200_remove(struct platform_device *pdev) | |||
548 | static struct platform_driver scx200_pci_driver = { | 548 | static struct platform_driver scx200_pci_driver = { |
549 | .driver = { | 549 | .driver = { |
550 | .name = "cs5535-smb", | 550 | .name = "cs5535-smb", |
551 | .owner = THIS_MODULE, | ||
552 | }, | 551 | }, |
553 | .probe = scx200_probe, | 552 | .probe = scx200_probe, |
554 | .remove = scx200_remove, | 553 | .remove = scx200_remove, |
diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 69afffa8f427..5cf1b60b69e2 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c | |||
@@ -235,7 +235,6 @@ static struct platform_driver i2c_arbitrator_driver = { | |||
235 | .probe = i2c_arbitrator_probe, | 235 | .probe = i2c_arbitrator_probe, |
236 | .remove = i2c_arbitrator_remove, | 236 | .remove = i2c_arbitrator_remove, |
237 | .driver = { | 237 | .driver = { |
238 | .owner = THIS_MODULE, | ||
239 | .name = "i2c-arb-gpio-challenge", | 238 | .name = "i2c-arb-gpio-challenge", |
240 | .of_match_table = i2c_arbitrator_of_match, | 239 | .of_match_table = i2c_arbitrator_of_match, |
241 | }, | 240 | }, |
diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c index d8989c823f50..f5798eb4076b 100644 --- a/drivers/i2c/muxes/i2c-mux-gpio.c +++ b/drivers/i2c/muxes/i2c-mux-gpio.c | |||
@@ -280,7 +280,6 @@ static struct platform_driver i2c_mux_gpio_driver = { | |||
280 | .probe = i2c_mux_gpio_probe, | 280 | .probe = i2c_mux_gpio_probe, |
281 | .remove = i2c_mux_gpio_remove, | 281 | .remove = i2c_mux_gpio_remove, |
282 | .driver = { | 282 | .driver = { |
283 | .owner = THIS_MODULE, | ||
284 | .name = "i2c-mux-gpio", | 283 | .name = "i2c-mux-gpio", |
285 | .of_match_table = i2c_mux_gpio_of_match, | 284 | .of_match_table = i2c_mux_gpio_of_match, |
286 | }, | 285 | }, |
diff --git a/drivers/i2c/muxes/i2c-mux-pinctrl.c b/drivers/i2c/muxes/i2c-mux-pinctrl.c index 4ff0ef3e07a6..b48378c4b40d 100644 --- a/drivers/i2c/muxes/i2c-mux-pinctrl.c +++ b/drivers/i2c/muxes/i2c-mux-pinctrl.c | |||
@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, i2c_mux_pinctrl_of_match); | |||
264 | static struct platform_driver i2c_mux_pinctrl_driver = { | 264 | static struct platform_driver i2c_mux_pinctrl_driver = { |
265 | .driver = { | 265 | .driver = { |
266 | .name = "i2c-mux-pinctrl", | 266 | .name = "i2c-mux-pinctrl", |
267 | .owner = THIS_MODULE, | ||
268 | .of_match_table = of_match_ptr(i2c_mux_pinctrl_of_match), | 267 | .of_match_table = of_match_ptr(i2c_mux_pinctrl_of_match), |
269 | }, | 268 | }, |
270 | .probe = i2c_mux_pinctrl_probe, | 269 | .probe = i2c_mux_pinctrl_probe, |
diff --git a/drivers/ide/au1xxx-ide.c b/drivers/ide/au1xxx-ide.c index 07ea58084068..4d181a918d72 100644 --- a/drivers/ide/au1xxx-ide.c +++ b/drivers/ide/au1xxx-ide.c | |||
@@ -586,7 +586,6 @@ static int au_ide_remove(struct platform_device *dev) | |||
586 | static struct platform_driver au1200_ide_driver = { | 586 | static struct platform_driver au1200_ide_driver = { |
587 | .driver = { | 587 | .driver = { |
588 | .name = "au1200-ide", | 588 | .name = "au1200-ide", |
589 | .owner = THIS_MODULE, | ||
590 | }, | 589 | }, |
591 | .probe = au_ide_probe, | 590 | .probe = au_ide_probe, |
592 | .remove = au_ide_remove, | 591 | .remove = au_ide_remove, |
diff --git a/drivers/ide/gayle.c b/drivers/ide/gayle.c index 97a2f9dc75d8..901e6ebfeb96 100644 --- a/drivers/ide/gayle.c +++ b/drivers/ide/gayle.c | |||
@@ -179,7 +179,6 @@ static struct platform_driver amiga_gayle_ide_driver = { | |||
179 | .remove = __exit_p(amiga_gayle_ide_remove), | 179 | .remove = __exit_p(amiga_gayle_ide_remove), |
180 | .driver = { | 180 | .driver = { |
181 | .name = "amiga-gayle-ide", | 181 | .name = "amiga-gayle-ide", |
182 | .owner = THIS_MODULE, | ||
183 | }, | 182 | }, |
184 | }; | 183 | }; |
185 | 184 | ||
diff --git a/drivers/ide/ide_platform.c b/drivers/ide/ide_platform.c index d48de6de503e..2b43be3bca0a 100644 --- a/drivers/ide/ide_platform.c +++ b/drivers/ide/ide_platform.c | |||
@@ -125,7 +125,6 @@ static int plat_ide_remove(struct platform_device *pdev) | |||
125 | static struct platform_driver platform_ide_driver = { | 125 | static struct platform_driver platform_ide_driver = { |
126 | .driver = { | 126 | .driver = { |
127 | .name = "pata_platform", | 127 | .name = "pata_platform", |
128 | .owner = THIS_MODULE, | ||
129 | }, | 128 | }, |
130 | .probe = plat_ide_probe, | 129 | .probe = plat_ide_probe, |
131 | .remove = plat_ide_remove, | 130 | .remove = plat_ide_remove, |
diff --git a/drivers/ide/palm_bk3710.c b/drivers/ide/palm_bk3710.c index ba20d18c0373..8012e43bf8f6 100644 --- a/drivers/ide/palm_bk3710.c +++ b/drivers/ide/palm_bk3710.c | |||
@@ -386,7 +386,6 @@ MODULE_ALIAS("platform:palm_bk3710"); | |||
386 | static struct platform_driver platform_bk_driver = { | 386 | static struct platform_driver platform_bk_driver = { |
387 | .driver = { | 387 | .driver = { |
388 | .name = "palm_bk3710", | 388 | .name = "palm_bk3710", |
389 | .owner = THIS_MODULE, | ||
390 | }, | 389 | }, |
391 | }; | 390 | }; |
392 | 391 | ||
diff --git a/drivers/ide/tx4938ide.c b/drivers/ide/tx4938ide.c index 68edd4f58a28..40a3f55b08dd 100644 --- a/drivers/ide/tx4938ide.c +++ b/drivers/ide/tx4938ide.c | |||
@@ -198,7 +198,6 @@ static int __exit tx4938ide_remove(struct platform_device *pdev) | |||
198 | static struct platform_driver tx4938ide_driver = { | 198 | static struct platform_driver tx4938ide_driver = { |
199 | .driver = { | 199 | .driver = { |
200 | .name = "tx4938ide", | 200 | .name = "tx4938ide", |
201 | .owner = THIS_MODULE, | ||
202 | }, | 201 | }, |
203 | .remove = __exit_p(tx4938ide_remove), | 202 | .remove = __exit_p(tx4938ide_remove), |
204 | }; | 203 | }; |
diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c index 4ecdee5eca83..67d4a7d4acc8 100644 --- a/drivers/ide/tx4939ide.c +++ b/drivers/ide/tx4939ide.c | |||
@@ -618,7 +618,6 @@ static int tx4939ide_resume(struct platform_device *dev) | |||
618 | static struct platform_driver tx4939ide_driver = { | 618 | static struct platform_driver tx4939ide_driver = { |
619 | .driver = { | 619 | .driver = { |
620 | .name = MODNAME, | 620 | .name = MODNAME, |
621 | .owner = THIS_MODULE, | ||
622 | }, | 621 | }, |
623 | .remove = __exit_p(tx4939ide_remove), | 622 | .remove = __exit_p(tx4939ide_remove), |
624 | .resume = tx4939ide_resume, | 623 | .resume = tx4939ide_resume, |
diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c index e074a0b03f28..63a9797775cb 100644 --- a/drivers/iio/adc/rockchip_saradc.c +++ b/drivers/iio/adc/rockchip_saradc.c | |||
@@ -307,7 +307,6 @@ static struct platform_driver rockchip_saradc_driver = { | |||
307 | .remove = rockchip_saradc_remove, | 307 | .remove = rockchip_saradc_remove, |
308 | .driver = { | 308 | .driver = { |
309 | .name = "rockchip-saradc", | 309 | .name = "rockchip-saradc", |
310 | .owner = THIS_MODULE, | ||
311 | .of_match_table = rockchip_saradc_match, | 310 | .of_match_table = rockchip_saradc_match, |
312 | .pm = &rockchip_saradc_pm_ops, | 311 | .pm = &rockchip_saradc_pm_ops, |
313 | }, | 312 | }, |
diff --git a/drivers/input/keyboard/adp5520-keys.c b/drivers/input/keyboard/adp5520-keys.c index 7f4a8b58efc1..db1004dad108 100644 --- a/drivers/input/keyboard/adp5520-keys.c +++ b/drivers/input/keyboard/adp5520-keys.c | |||
@@ -184,7 +184,6 @@ static int adp5520_keys_remove(struct platform_device *pdev) | |||
184 | static struct platform_driver adp5520_keys_driver = { | 184 | static struct platform_driver adp5520_keys_driver = { |
185 | .driver = { | 185 | .driver = { |
186 | .name = "adp5520-keys", | 186 | .name = "adp5520-keys", |
187 | .owner = THIS_MODULE, | ||
188 | }, | 187 | }, |
189 | .probe = adp5520_keys_probe, | 188 | .probe = adp5520_keys_probe, |
190 | .remove = adp5520_keys_remove, | 189 | .remove = adp5520_keys_remove, |
diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c index 096d6067ae1f..d3b8c58fcfdb 100644 --- a/drivers/input/keyboard/amikbd.c +++ b/drivers/input/keyboard/amikbd.c | |||
@@ -255,7 +255,6 @@ static struct platform_driver amikbd_driver = { | |||
255 | .remove = __exit_p(amikbd_remove), | 255 | .remove = __exit_p(amikbd_remove), |
256 | .driver = { | 256 | .driver = { |
257 | .name = "amiga-keyboard", | 257 | .name = "amiga-keyboard", |
258 | .owner = THIS_MODULE, | ||
259 | }, | 258 | }, |
260 | }; | 259 | }; |
261 | 260 | ||
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c index e6d46c5994d7..81b07dddae86 100644 --- a/drivers/input/keyboard/bf54x-keys.c +++ b/drivers/input/keyboard/bf54x-keys.c | |||
@@ -385,7 +385,6 @@ static int bfin_kpad_resume(struct platform_device *pdev) | |||
385 | static struct platform_driver bfin_kpad_device_driver = { | 385 | static struct platform_driver bfin_kpad_device_driver = { |
386 | .driver = { | 386 | .driver = { |
387 | .name = DRV_NAME, | 387 | .name = DRV_NAME, |
388 | .owner = THIS_MODULE, | ||
389 | }, | 388 | }, |
390 | .probe = bfin_kpad_probe, | 389 | .probe = bfin_kpad_probe, |
391 | .remove = bfin_kpad_remove, | 390 | .remove = bfin_kpad_remove, |
diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-keypad.c index 552b65c6e6b0..27ef29f8fe6a 100644 --- a/drivers/input/keyboard/clps711x-keypad.c +++ b/drivers/input/keyboard/clps711x-keypad.c | |||
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, clps711x_keypad_of_match); | |||
194 | static struct platform_driver clps711x_keypad_driver = { | 194 | static struct platform_driver clps711x_keypad_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "clps711x-keypad", | 196 | .name = "clps711x-keypad", |
197 | .owner = THIS_MODULE, | ||
198 | .of_match_table = clps711x_keypad_of_match, | 197 | .of_match_table = clps711x_keypad_of_match, |
199 | }, | 198 | }, |
200 | .probe = clps711x_keypad_probe, | 199 | .probe = clps711x_keypad_probe, |
diff --git a/drivers/input/keyboard/davinci_keyscan.c b/drivers/input/keyboard/davinci_keyscan.c index 1559dc1cf951..f363d1d2907a 100644 --- a/drivers/input/keyboard/davinci_keyscan.c +++ b/drivers/input/keyboard/davinci_keyscan.c | |||
@@ -322,7 +322,6 @@ static int davinci_ks_remove(struct platform_device *pdev) | |||
322 | static struct platform_driver davinci_ks_driver = { | 322 | static struct platform_driver davinci_ks_driver = { |
323 | .driver = { | 323 | .driver = { |
324 | .name = "davinci_keyscan", | 324 | .name = "davinci_keyscan", |
325 | .owner = THIS_MODULE, | ||
326 | }, | 325 | }, |
327 | .remove = davinci_ks_remove, | 326 | .remove = davinci_ks_remove, |
328 | }; | 327 | }; |
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index e59876212b8c..f77b295e0123 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c | |||
@@ -373,7 +373,6 @@ static int ep93xx_keypad_remove(struct platform_device *pdev) | |||
373 | static struct platform_driver ep93xx_keypad_driver = { | 373 | static struct platform_driver ep93xx_keypad_driver = { |
374 | .driver = { | 374 | .driver = { |
375 | .name = "ep93xx-keypad", | 375 | .name = "ep93xx-keypad", |
376 | .owner = THIS_MODULE, | ||
377 | .pm = &ep93xx_keypad_pm_ops, | 376 | .pm = &ep93xx_keypad_pm_ops, |
378 | }, | 377 | }, |
379 | .probe = ep93xx_keypad_probe, | 378 | .probe = ep93xx_keypad_probe, |
diff --git a/drivers/input/keyboard/goldfish_events.c b/drivers/input/keyboard/goldfish_events.c index 69e854763370..907e4e278fce 100644 --- a/drivers/input/keyboard/goldfish_events.c +++ b/drivers/input/keyboard/goldfish_events.c | |||
@@ -181,7 +181,6 @@ static int events_probe(struct platform_device *pdev) | |||
181 | static struct platform_driver events_driver = { | 181 | static struct platform_driver events_driver = { |
182 | .probe = events_probe, | 182 | .probe = events_probe, |
183 | .driver = { | 183 | .driver = { |
184 | .owner = THIS_MODULE, | ||
185 | .name = "goldfish_events", | 184 | .name = "goldfish_events", |
186 | }, | 185 | }, |
187 | }; | 186 | }; |
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 8c98e97f8e41..8f3a24e15402 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -835,7 +835,6 @@ static struct platform_driver gpio_keys_device_driver = { | |||
835 | .remove = gpio_keys_remove, | 835 | .remove = gpio_keys_remove, |
836 | .driver = { | 836 | .driver = { |
837 | .name = "gpio-keys", | 837 | .name = "gpio-keys", |
838 | .owner = THIS_MODULE, | ||
839 | .pm = &gpio_keys_pm_ops, | 838 | .pm = &gpio_keys_pm_ops, |
840 | .of_match_table = of_match_ptr(gpio_keys_of_match), | 839 | .of_match_table = of_match_ptr(gpio_keys_of_match), |
841 | } | 840 | } |
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index 432d36395f35..10f0098f3c77 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c | |||
@@ -307,7 +307,6 @@ static struct platform_driver gpio_keys_polled_driver = { | |||
307 | .probe = gpio_keys_polled_probe, | 307 | .probe = gpio_keys_polled_probe, |
308 | .driver = { | 308 | .driver = { |
309 | .name = DRV_NAME, | 309 | .name = DRV_NAME, |
310 | .owner = THIS_MODULE, | ||
311 | .of_match_table = of_match_ptr(gpio_keys_polled_of_match), | 310 | .of_match_table = of_match_ptr(gpio_keys_polled_of_match), |
312 | }, | 311 | }, |
313 | }; | 312 | }; |
diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 20a99c368d16..e53f232eda0e 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c | |||
@@ -580,7 +580,6 @@ static SIMPLE_DEV_PM_OPS(imx_kbd_pm_ops, imx_kbd_suspend, imx_kbd_resume); | |||
580 | static struct platform_driver imx_keypad_driver = { | 580 | static struct platform_driver imx_keypad_driver = { |
581 | .driver = { | 581 | .driver = { |
582 | .name = "imx-keypad", | 582 | .name = "imx-keypad", |
583 | .owner = THIS_MODULE, | ||
584 | .pm = &imx_kbd_pm_ops, | 583 | .pm = &imx_kbd_pm_ops, |
585 | .of_match_table = of_match_ptr(imx_keypad_of_match), | 584 | .of_match_table = of_match_ptr(imx_keypad_of_match), |
586 | }, | 585 | }, |
diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyboard/jornada680_kbd.c index 0ba4428da24a..80c81278ad2c 100644 --- a/drivers/input/keyboard/jornada680_kbd.c +++ b/drivers/input/keyboard/jornada680_kbd.c | |||
@@ -237,7 +237,6 @@ static int jornada680kbd_probe(struct platform_device *pdev) | |||
237 | static struct platform_driver jornada680kbd_driver = { | 237 | static struct platform_driver jornada680kbd_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = "jornada680_kbd", | 239 | .name = "jornada680_kbd", |
240 | .owner = THIS_MODULE, | ||
241 | }, | 240 | }, |
242 | .probe = jornada680kbd_probe, | 241 | .probe = jornada680kbd_probe, |
243 | }; | 242 | }; |
diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c index cd729d485e98..421d9c55b0e8 100644 --- a/drivers/input/keyboard/jornada720_kbd.c +++ b/drivers/input/keyboard/jornada720_kbd.c | |||
@@ -167,7 +167,6 @@ MODULE_ALIAS("platform:jornada720_kbd"); | |||
167 | static struct platform_driver jornada720_kbd_driver = { | 167 | static struct platform_driver jornada720_kbd_driver = { |
168 | .driver = { | 168 | .driver = { |
169 | .name = "jornada720_kbd", | 169 | .name = "jornada720_kbd", |
170 | .owner = THIS_MODULE, | ||
171 | }, | 170 | }, |
172 | .probe = jornada720_kbd_probe, | 171 | .probe = jornada720_kbd_probe, |
173 | .remove = jornada720_kbd_remove, | 172 | .remove = jornada720_kbd_remove, |
diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c index 8b1b01361ec6..8c079371c2e7 100644 --- a/drivers/input/keyboard/lpc32xx-keys.c +++ b/drivers/input/keyboard/lpc32xx-keys.c | |||
@@ -381,7 +381,6 @@ static struct platform_driver lpc32xx_kscan_driver = { | |||
381 | .remove = lpc32xx_kscan_remove, | 381 | .remove = lpc32xx_kscan_remove, |
382 | .driver = { | 382 | .driver = { |
383 | .name = DRV_NAME, | 383 | .name = DRV_NAME, |
384 | .owner = THIS_MODULE, | ||
385 | .pm = &lpc32xx_kscan_pm_ops, | 384 | .pm = &lpc32xx_kscan_pm_ops, |
386 | .of_match_table = lpc32xx_kscan_match, | 385 | .of_match_table = lpc32xx_kscan_match, |
387 | } | 386 | } |
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index e651fa692afe..b370a59cb759 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c | |||
@@ -565,7 +565,6 @@ static struct platform_driver matrix_keypad_driver = { | |||
565 | .remove = matrix_keypad_remove, | 565 | .remove = matrix_keypad_remove, |
566 | .driver = { | 566 | .driver = { |
567 | .name = "matrix-keypad", | 567 | .name = "matrix-keypad", |
568 | .owner = THIS_MODULE, | ||
569 | .pm = &matrix_keypad_pm_ops, | 568 | .pm = &matrix_keypad_pm_ops, |
570 | .of_match_table = of_match_ptr(matrix_keypad_dt_match), | 569 | .of_match_table = of_match_ptr(matrix_keypad_dt_match), |
571 | }, | 570 | }, |
diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c index 63332e2f8628..c7d5b1666fc3 100644 --- a/drivers/input/keyboard/nomadik-ske-keypad.c +++ b/drivers/input/keyboard/nomadik-ske-keypad.c | |||
@@ -425,7 +425,6 @@ static SIMPLE_DEV_PM_OPS(ske_keypad_dev_pm_ops, | |||
425 | static struct platform_driver ske_keypad_driver = { | 425 | static struct platform_driver ske_keypad_driver = { |
426 | .driver = { | 426 | .driver = { |
427 | .name = "nmk-ske-keypad", | 427 | .name = "nmk-ske-keypad", |
428 | .owner = THIS_MODULE, | ||
429 | .pm = &ske_keypad_dev_pm_ops, | 428 | .pm = &ske_keypad_dev_pm_ops, |
430 | }, | 429 | }, |
431 | .remove = ske_keypad_remove, | 430 | .remove = ske_keypad_remove, |
diff --git a/drivers/input/keyboard/nspire-keypad.c b/drivers/input/keyboard/nspire-keypad.c index b31064981e96..7abfd34eb87e 100644 --- a/drivers/input/keyboard/nspire-keypad.c +++ b/drivers/input/keyboard/nspire-keypad.c | |||
@@ -268,7 +268,6 @@ MODULE_DEVICE_TABLE(of, nspire_keypad_dt_match); | |||
268 | static struct platform_driver nspire_keypad_driver = { | 268 | static struct platform_driver nspire_keypad_driver = { |
269 | .driver = { | 269 | .driver = { |
270 | .name = "nspire-keypad", | 270 | .name = "nspire-keypad", |
271 | .owner = THIS_MODULE, | ||
272 | .of_match_table = nspire_keypad_dt_match, | 271 | .of_match_table = nspire_keypad_dt_match, |
273 | }, | 272 | }, |
274 | .probe = nspire_keypad_probe, | 273 | .probe = nspire_keypad_probe, |
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index b1acc9852eb7..7502e46165fa 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c | |||
@@ -383,7 +383,6 @@ static struct platform_driver omap_kp_driver = { | |||
383 | .resume = omap_kp_resume, | 383 | .resume = omap_kp_resume, |
384 | .driver = { | 384 | .driver = { |
385 | .name = "omap-keypad", | 385 | .name = "omap-keypad", |
386 | .owner = THIS_MODULE, | ||
387 | }, | 386 | }, |
388 | }; | 387 | }; |
389 | module_platform_driver(omap_kp_driver); | 388 | module_platform_driver(omap_kp_driver); |
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index 024b7bdffe5b..b052afec9a11 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -460,7 +460,6 @@ static struct platform_driver omap4_keypad_driver = { | |||
460 | .remove = omap4_keypad_remove, | 460 | .remove = omap4_keypad_remove, |
461 | .driver = { | 461 | .driver = { |
462 | .name = "omap4-keypad", | 462 | .name = "omap4-keypad", |
463 | .owner = THIS_MODULE, | ||
464 | .pm = &omap4_keypad_pm_ops, | 463 | .pm = &omap4_keypad_pm_ops, |
465 | .of_match_table = omap_keypad_dt_match, | 464 | .of_match_table = omap_keypad_dt_match, |
466 | }, | 465 | }, |
diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index 80c6b0ef3fc8..32580afecc26 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c | |||
@@ -687,7 +687,6 @@ static struct platform_driver pmic8xxx_kp_driver = { | |||
687 | .probe = pmic8xxx_kp_probe, | 687 | .probe = pmic8xxx_kp_probe, |
688 | .driver = { | 688 | .driver = { |
689 | .name = "pm8xxx-keypad", | 689 | .name = "pm8xxx-keypad", |
690 | .owner = THIS_MODULE, | ||
691 | .pm = &pm8xxx_kp_pm_ops, | 690 | .pm = &pm8xxx_kp_pm_ops, |
692 | .of_match_table = pm8xxx_match_table, | 691 | .of_match_table = pm8xxx_match_table, |
693 | }, | 692 | }, |
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c index a15063bea700..6ab3e7c96329 100644 --- a/drivers/input/keyboard/pxa27x_keypad.c +++ b/drivers/input/keyboard/pxa27x_keypad.c | |||
@@ -881,7 +881,6 @@ static struct platform_driver pxa27x_keypad_driver = { | |||
881 | .driver = { | 881 | .driver = { |
882 | .name = "pxa27x-keypad", | 882 | .name = "pxa27x-keypad", |
883 | .of_match_table = of_match_ptr(pxa27x_keypad_dt_match), | 883 | .of_match_table = of_match_ptr(pxa27x_keypad_dt_match), |
884 | .owner = THIS_MODULE, | ||
885 | .pm = &pxa27x_keypad_pm_ops, | 884 | .pm = &pxa27x_keypad_pm_ops, |
886 | }, | 885 | }, |
887 | }; | 886 | }; |
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c index 374ca0246c8f..1cf5211fddaa 100644 --- a/drivers/input/keyboard/pxa930_rotary.c +++ b/drivers/input/keyboard/pxa930_rotary.c | |||
@@ -189,7 +189,6 @@ static int pxa930_rotary_remove(struct platform_device *pdev) | |||
189 | static struct platform_driver pxa930_rotary_driver = { | 189 | static struct platform_driver pxa930_rotary_driver = { |
190 | .driver = { | 190 | .driver = { |
191 | .name = "pxa930-rotary", | 191 | .name = "pxa930-rotary", |
192 | .owner = THIS_MODULE, | ||
193 | }, | 192 | }, |
194 | .probe = pxa930_rotary_probe, | 193 | .probe = pxa930_rotary_probe, |
195 | .remove = pxa930_rotary_remove, | 194 | .remove = pxa930_rotary_remove, |
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c index 5e80fbf7b5ed..43ebd9c174bc 100644 --- a/drivers/input/keyboard/samsung-keypad.c +++ b/drivers/input/keyboard/samsung-keypad.c | |||
@@ -602,7 +602,6 @@ static struct platform_driver samsung_keypad_driver = { | |||
602 | .remove = samsung_keypad_remove, | 602 | .remove = samsung_keypad_remove, |
603 | .driver = { | 603 | .driver = { |
604 | .name = "samsung-keypad", | 604 | .name = "samsung-keypad", |
605 | .owner = THIS_MODULE, | ||
606 | .of_match_table = of_match_ptr(samsung_keypad_dt_match), | 605 | .of_match_table = of_match_ptr(samsung_keypad_dt_match), |
607 | .pm = &samsung_keypad_pm_ops, | 606 | .pm = &samsung_keypad_pm_ops, |
608 | }, | 607 | }, |
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c index 258af10e5811..f42a543db043 100644 --- a/drivers/input/keyboard/spear-keyboard.c +++ b/drivers/input/keyboard/spear-keyboard.c | |||
@@ -385,7 +385,6 @@ static struct platform_driver spear_kbd_driver = { | |||
385 | .remove = spear_kbd_remove, | 385 | .remove = spear_kbd_remove, |
386 | .driver = { | 386 | .driver = { |
387 | .name = "keyboard", | 387 | .name = "keyboard", |
388 | .owner = THIS_MODULE, | ||
389 | .pm = &spear_kbd_pm_ops, | 388 | .pm = &spear_kbd_pm_ops, |
390 | .of_match_table = of_match_ptr(spear_kbd_id_table), | 389 | .of_match_table = of_match_ptr(spear_kbd_id_table), |
391 | }, | 390 | }, |
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c index ad7abae69078..8ff612d160b0 100644 --- a/drivers/input/keyboard/tc3589x-keypad.c +++ b/drivers/input/keyboard/tc3589x-keypad.c | |||
@@ -505,7 +505,6 @@ static SIMPLE_DEV_PM_OPS(tc3589x_keypad_dev_pm_ops, | |||
505 | static struct platform_driver tc3589x_keypad_driver = { | 505 | static struct platform_driver tc3589x_keypad_driver = { |
506 | .driver = { | 506 | .driver = { |
507 | .name = "tc3589x-keypad", | 507 | .name = "tc3589x-keypad", |
508 | .owner = THIS_MODULE, | ||
509 | .pm = &tc3589x_keypad_dev_pm_ops, | 508 | .pm = &tc3589x_keypad_dev_pm_ops, |
510 | }, | 509 | }, |
511 | .probe = tc3589x_keypad_probe, | 510 | .probe = tc3589x_keypad_probe, |
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 9757a58bc897..f97c73bd14f8 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c | |||
@@ -822,7 +822,6 @@ static struct platform_driver tegra_kbc_driver = { | |||
822 | .probe = tegra_kbc_probe, | 822 | .probe = tegra_kbc_probe, |
823 | .driver = { | 823 | .driver = { |
824 | .name = "tegra-kbc", | 824 | .name = "tegra-kbc", |
825 | .owner = THIS_MODULE, | ||
826 | .pm = &tegra_kbc_pm_ops, | 825 | .pm = &tegra_kbc_pm_ops, |
827 | .of_match_table = tegra_kbc_of_match, | 826 | .of_match_table = tegra_kbc_of_match, |
828 | }, | 827 | }, |
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c index c5a11700a1bf..bbcccd67247d 100644 --- a/drivers/input/keyboard/twl4030_keypad.c +++ b/drivers/input/keyboard/twl4030_keypad.c | |||
@@ -459,7 +459,6 @@ static struct platform_driver twl4030_kp_driver = { | |||
459 | .probe = twl4030_kp_probe, | 459 | .probe = twl4030_kp_probe, |
460 | .driver = { | 460 | .driver = { |
461 | .name = "twl4030_keypad", | 461 | .name = "twl4030_keypad", |
462 | .owner = THIS_MODULE, | ||
463 | .of_match_table = of_match_ptr(twl4030_keypad_dt_match_table), | 462 | .of_match_table = of_match_ptr(twl4030_keypad_dt_match_table), |
464 | }, | 463 | }, |
465 | }; | 464 | }; |
diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c index e8b9d94daae7..a1ff69c53102 100644 --- a/drivers/input/keyboard/w90p910_keypad.c +++ b/drivers/input/keyboard/w90p910_keypad.c | |||
@@ -258,7 +258,6 @@ static struct platform_driver w90p910_keypad_driver = { | |||
258 | .remove = w90p910_keypad_remove, | 258 | .remove = w90p910_keypad_remove, |
259 | .driver = { | 259 | .driver = { |
260 | .name = "nuc900-kpi", | 260 | .name = "nuc900-kpi", |
261 | .owner = THIS_MODULE, | ||
262 | }, | 261 | }, |
263 | }; | 262 | }; |
264 | module_platform_driver(w90p910_keypad_driver); | 263 | module_platform_driver(w90p910_keypad_driver); |
diff --git a/drivers/input/misc/88pm80x_onkey.c b/drivers/input/misc/88pm80x_onkey.c index ee43e5b7c881..cf9908f1e5d5 100644 --- a/drivers/input/misc/88pm80x_onkey.c +++ b/drivers/input/misc/88pm80x_onkey.c | |||
@@ -153,7 +153,6 @@ static int pm80x_onkey_remove(struct platform_device *pdev) | |||
153 | static struct platform_driver pm80x_onkey_driver = { | 153 | static struct platform_driver pm80x_onkey_driver = { |
154 | .driver = { | 154 | .driver = { |
155 | .name = "88pm80x-onkey", | 155 | .name = "88pm80x-onkey", |
156 | .owner = THIS_MODULE, | ||
157 | .pm = &pm80x_onkey_pm_ops, | 156 | .pm = &pm80x_onkey_pm_ops, |
158 | }, | 157 | }, |
159 | .probe = pm80x_onkey_probe, | 158 | .probe = pm80x_onkey_probe, |
diff --git a/drivers/input/misc/88pm860x_onkey.c b/drivers/input/misc/88pm860x_onkey.c index 220ce0fa15d9..cfdca6e99779 100644 --- a/drivers/input/misc/88pm860x_onkey.c +++ b/drivers/input/misc/88pm860x_onkey.c | |||
@@ -138,7 +138,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_onkey_pm_ops, pm860x_onkey_suspend, pm860x_onkey | |||
138 | static struct platform_driver pm860x_onkey_driver = { | 138 | static struct platform_driver pm860x_onkey_driver = { |
139 | .driver = { | 139 | .driver = { |
140 | .name = "88pm860x-onkey", | 140 | .name = "88pm860x-onkey", |
141 | .owner = THIS_MODULE, | ||
142 | .pm = &pm860x_onkey_pm_ops, | 141 | .pm = &pm860x_onkey_pm_ops, |
143 | }, | 142 | }, |
144 | .probe = pm860x_onkey_probe, | 143 | .probe = pm860x_onkey_probe, |
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c index 95ef7dd6442d..1f7e15ca5fbe 100644 --- a/drivers/input/misc/ab8500-ponkey.c +++ b/drivers/input/misc/ab8500-ponkey.c | |||
@@ -123,7 +123,6 @@ static const struct of_device_id ab8500_ponkey_match[] = { | |||
123 | static struct platform_driver ab8500_ponkey_driver = { | 123 | static struct platform_driver ab8500_ponkey_driver = { |
124 | .driver = { | 124 | .driver = { |
125 | .name = "ab8500-poweron-key", | 125 | .name = "ab8500-poweron-key", |
126 | .owner = THIS_MODULE, | ||
127 | .of_match_table = of_match_ptr(ab8500_ponkey_match), | 126 | .of_match_table = of_match_ptr(ab8500_ponkey_match), |
128 | }, | 127 | }, |
129 | .probe = ab8500_ponkey_probe, | 128 | .probe = ab8500_ponkey_probe, |
diff --git a/drivers/input/misc/arizona-haptics.c b/drivers/input/misc/arizona-haptics.c index ef2e281b0a43..4dbbed74c9e4 100644 --- a/drivers/input/misc/arizona-haptics.c +++ b/drivers/input/misc/arizona-haptics.c | |||
@@ -225,7 +225,6 @@ static struct platform_driver arizona_haptics_driver = { | |||
225 | .remove = arizona_haptics_remove, | 225 | .remove = arizona_haptics_remove, |
226 | .driver = { | 226 | .driver = { |
227 | .name = "arizona-haptics", | 227 | .name = "arizona-haptics", |
228 | .owner = THIS_MODULE, | ||
229 | }, | 228 | }, |
230 | }; | 229 | }; |
231 | module_platform_driver(arizona_haptics_driver); | 230 | module_platform_driver(arizona_haptics_driver); |
diff --git a/drivers/input/misc/bfin_rotary.c b/drivers/input/misc/bfin_rotary.c index e69d9bcb37e1..3f4351579372 100644 --- a/drivers/input/misc/bfin_rotary.c +++ b/drivers/input/misc/bfin_rotary.c | |||
@@ -256,7 +256,6 @@ static struct platform_driver bfin_rotary_device_driver = { | |||
256 | .remove = bfin_rotary_remove, | 256 | .remove = bfin_rotary_remove, |
257 | .driver = { | 257 | .driver = { |
258 | .name = "bfin-rotary", | 258 | .name = "bfin-rotary", |
259 | .owner = THIS_MODULE, | ||
260 | #ifdef CONFIG_PM | 259 | #ifdef CONFIG_PM |
261 | .pm = &bfin_rotary_pm_ops, | 260 | .pm = &bfin_rotary_pm_ops, |
262 | #endif | 261 | #endif |
diff --git a/drivers/input/misc/cobalt_btns.c b/drivers/input/misc/cobalt_btns.c index 3e11510ff82d..fbe72afc9347 100644 --- a/drivers/input/misc/cobalt_btns.c +++ b/drivers/input/misc/cobalt_btns.c | |||
@@ -157,7 +157,6 @@ static struct platform_driver cobalt_buttons_driver = { | |||
157 | .remove = cobalt_buttons_remove, | 157 | .remove = cobalt_buttons_remove, |
158 | .driver = { | 158 | .driver = { |
159 | .name = "Cobalt buttons", | 159 | .name = "Cobalt buttons", |
160 | .owner = THIS_MODULE, | ||
161 | }, | 160 | }, |
162 | }; | 161 | }; |
163 | module_platform_driver(cobalt_buttons_driver); | 162 | module_platform_driver(cobalt_buttons_driver); |
diff --git a/drivers/input/misc/da9052_onkey.c b/drivers/input/misc/da9052_onkey.c index 184c8f21ab59..266e07fdc182 100644 --- a/drivers/input/misc/da9052_onkey.c +++ b/drivers/input/misc/da9052_onkey.c | |||
@@ -149,7 +149,6 @@ static struct platform_driver da9052_onkey_driver = { | |||
149 | .remove = da9052_onkey_remove, | 149 | .remove = da9052_onkey_remove, |
150 | .driver = { | 150 | .driver = { |
151 | .name = "da9052-onkey", | 151 | .name = "da9052-onkey", |
152 | .owner = THIS_MODULE, | ||
153 | }, | 152 | }, |
154 | }; | 153 | }; |
155 | module_platform_driver(da9052_onkey_driver); | 154 | module_platform_driver(da9052_onkey_driver); |
diff --git a/drivers/input/misc/da9055_onkey.c b/drivers/input/misc/da9055_onkey.c index 4765799fef74..3251a9693f45 100644 --- a/drivers/input/misc/da9055_onkey.c +++ b/drivers/input/misc/da9055_onkey.c | |||
@@ -157,7 +157,6 @@ static struct platform_driver da9055_onkey_driver = { | |||
157 | .remove = da9055_onkey_remove, | 157 | .remove = da9055_onkey_remove, |
158 | .driver = { | 158 | .driver = { |
159 | .name = "da9055-onkey", | 159 | .name = "da9055-onkey", |
160 | .owner = THIS_MODULE, | ||
161 | }, | 160 | }, |
162 | }; | 161 | }; |
163 | 162 | ||
diff --git a/drivers/input/misc/dm355evm_keys.c b/drivers/input/misc/dm355evm_keys.c index 0eba94f581df..b6b7bd4e5462 100644 --- a/drivers/input/misc/dm355evm_keys.c +++ b/drivers/input/misc/dm355evm_keys.c | |||
@@ -263,7 +263,6 @@ static struct platform_driver dm355evm_keys_driver = { | |||
263 | .probe = dm355evm_keys_probe, | 263 | .probe = dm355evm_keys_probe, |
264 | .remove = dm355evm_keys_remove, | 264 | .remove = dm355evm_keys_remove, |
265 | .driver = { | 265 | .driver = { |
266 | .owner = THIS_MODULE, | ||
267 | .name = "dm355evm_keys", | 266 | .name = "dm355evm_keys", |
268 | }, | 267 | }, |
269 | }; | 268 | }; |
diff --git a/drivers/input/misc/gpio-beeper.c b/drivers/input/misc/gpio-beeper.c index 8886af63eae3..4817c5f0c3e4 100644 --- a/drivers/input/misc/gpio-beeper.c +++ b/drivers/input/misc/gpio-beeper.c | |||
@@ -112,7 +112,6 @@ MODULE_DEVICE_TABLE(of, gpio_beeper_of_match); | |||
112 | static struct platform_driver gpio_beeper_platform_driver = { | 112 | static struct platform_driver gpio_beeper_platform_driver = { |
113 | .driver = { | 113 | .driver = { |
114 | .name = BEEPER_MODNAME, | 114 | .name = BEEPER_MODNAME, |
115 | .owner = THIS_MODULE, | ||
116 | .of_match_table = of_match_ptr(gpio_beeper_of_match), | 115 | .of_match_table = of_match_ptr(gpio_beeper_of_match), |
117 | }, | 116 | }, |
118 | .probe = gpio_beeper_probe, | 117 | .probe = gpio_beeper_probe, |
diff --git a/drivers/input/misc/gpio_tilt_polled.c b/drivers/input/misc/gpio_tilt_polled.c index 1a81d9115226..f103b99d1852 100644 --- a/drivers/input/misc/gpio_tilt_polled.c +++ b/drivers/input/misc/gpio_tilt_polled.c | |||
@@ -199,7 +199,6 @@ static struct platform_driver gpio_tilt_polled_driver = { | |||
199 | .remove = gpio_tilt_polled_remove, | 199 | .remove = gpio_tilt_polled_remove, |
200 | .driver = { | 200 | .driver = { |
201 | .name = DRV_NAME, | 201 | .name = DRV_NAME, |
202 | .owner = THIS_MODULE, | ||
203 | }, | 202 | }, |
204 | }; | 203 | }; |
205 | 204 | ||
diff --git a/drivers/input/misc/ideapad_slidebar.c b/drivers/input/misc/ideapad_slidebar.c index edfd6239f131..b0acb878d1cf 100644 --- a/drivers/input/misc/ideapad_slidebar.c +++ b/drivers/input/misc/ideapad_slidebar.c | |||
@@ -272,7 +272,6 @@ static int ideapad_remove(struct platform_device *pdev) | |||
272 | static struct platform_driver slidebar_drv = { | 272 | static struct platform_driver slidebar_drv = { |
273 | .driver = { | 273 | .driver = { |
274 | .name = "ideapad_slidebar", | 274 | .name = "ideapad_slidebar", |
275 | .owner = THIS_MODULE, | ||
276 | }, | 275 | }, |
277 | .remove = ideapad_remove, | 276 | .remove = ideapad_remove, |
278 | }; | 277 | }; |
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c index ed8e5e8449d3..1fe149f3def2 100644 --- a/drivers/input/misc/ixp4xx-beeper.c +++ b/drivers/input/misc/ixp4xx-beeper.c | |||
@@ -168,7 +168,6 @@ static void ixp4xx_spkr_shutdown(struct platform_device *dev) | |||
168 | static struct platform_driver ixp4xx_spkr_platform_driver = { | 168 | static struct platform_driver ixp4xx_spkr_platform_driver = { |
169 | .driver = { | 169 | .driver = { |
170 | .name = "ixp4xx-beeper", | 170 | .name = "ixp4xx-beeper", |
171 | .owner = THIS_MODULE, | ||
172 | }, | 171 | }, |
173 | .probe = ixp4xx_spkr_probe, | 172 | .probe = ixp4xx_spkr_probe, |
174 | .remove = ixp4xx_spkr_remove, | 173 | .remove = ixp4xx_spkr_remove, |
diff --git a/drivers/input/misc/m68kspkr.c b/drivers/input/misc/m68kspkr.c index def21dc84522..312d63623038 100644 --- a/drivers/input/misc/m68kspkr.c +++ b/drivers/input/misc/m68kspkr.c | |||
@@ -100,7 +100,6 @@ static void m68kspkr_shutdown(struct platform_device *dev) | |||
100 | static struct platform_driver m68kspkr_platform_driver = { | 100 | static struct platform_driver m68kspkr_platform_driver = { |
101 | .driver = { | 101 | .driver = { |
102 | .name = "m68kspkr", | 102 | .name = "m68kspkr", |
103 | .owner = THIS_MODULE, | ||
104 | }, | 103 | }, |
105 | .probe = m68kspkr_probe, | 104 | .probe = m68kspkr_probe, |
106 | .remove = m68kspkr_remove, | 105 | .remove = m68kspkr_remove, |
diff --git a/drivers/input/misc/max77693-haptic.c b/drivers/input/misc/max77693-haptic.c index ef6a9d650d69..034093ee63bc 100644 --- a/drivers/input/misc/max77693-haptic.c +++ b/drivers/input/misc/max77693-haptic.c | |||
@@ -343,7 +343,6 @@ static SIMPLE_DEV_PM_OPS(max77693_haptic_pm_ops, | |||
343 | static struct platform_driver max77693_haptic_driver = { | 343 | static struct platform_driver max77693_haptic_driver = { |
344 | .driver = { | 344 | .driver = { |
345 | .name = "max77693-haptic", | 345 | .name = "max77693-haptic", |
346 | .owner = THIS_MODULE, | ||
347 | .pm = &max77693_haptic_pm_ops, | 346 | .pm = &max77693_haptic_pm_ops, |
348 | }, | 347 | }, |
349 | .probe = max77693_haptic_probe, | 348 | .probe = max77693_haptic_probe, |
diff --git a/drivers/input/misc/max8925_onkey.c b/drivers/input/misc/max8925_onkey.c index 3809618e6a5d..297e2a9169d5 100644 --- a/drivers/input/misc/max8925_onkey.c +++ b/drivers/input/misc/max8925_onkey.c | |||
@@ -168,7 +168,6 @@ static SIMPLE_DEV_PM_OPS(max8925_onkey_pm_ops, max8925_onkey_suspend, max8925_on | |||
168 | static struct platform_driver max8925_onkey_driver = { | 168 | static struct platform_driver max8925_onkey_driver = { |
169 | .driver = { | 169 | .driver = { |
170 | .name = "max8925-onkey", | 170 | .name = "max8925-onkey", |
171 | .owner = THIS_MODULE, | ||
172 | .pm = &max8925_onkey_pm_ops, | 171 | .pm = &max8925_onkey_pm_ops, |
173 | }, | 172 | }, |
174 | .probe = max8925_onkey_probe, | 173 | .probe = max8925_onkey_probe, |
diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c index a363ebbd9cc0..5b3154edf822 100644 --- a/drivers/input/misc/max8997_haptic.c +++ b/drivers/input/misc/max8997_haptic.c | |||
@@ -401,7 +401,6 @@ MODULE_DEVICE_TABLE(i2c, max8997_haptic_id); | |||
401 | static struct platform_driver max8997_haptic_driver = { | 401 | static struct platform_driver max8997_haptic_driver = { |
402 | .driver = { | 402 | .driver = { |
403 | .name = "max8997-haptic", | 403 | .name = "max8997-haptic", |
404 | .owner = THIS_MODULE, | ||
405 | .pm = &max8997_haptic_pm_ops, | 404 | .pm = &max8997_haptic_pm_ops, |
406 | }, | 405 | }, |
407 | .probe = max8997_haptic_probe, | 406 | .probe = max8997_haptic_probe, |
diff --git a/drivers/input/misc/mc13783-pwrbutton.c b/drivers/input/misc/mc13783-pwrbutton.c index 0df6e8d8bd03..afdf8ef25ee8 100644 --- a/drivers/input/misc/mc13783-pwrbutton.c +++ b/drivers/input/misc/mc13783-pwrbutton.c | |||
@@ -258,7 +258,6 @@ static struct platform_driver mc13783_pwrbutton_driver = { | |||
258 | .remove = mc13783_pwrbutton_remove, | 258 | .remove = mc13783_pwrbutton_remove, |
259 | .driver = { | 259 | .driver = { |
260 | .name = "mc13783-pwrbutton", | 260 | .name = "mc13783-pwrbutton", |
261 | .owner = THIS_MODULE, | ||
262 | }, | 261 | }, |
263 | }; | 262 | }; |
264 | 263 | ||
diff --git a/drivers/input/misc/palmas-pwrbutton.c b/drivers/input/misc/palmas-pwrbutton.c index f505ac3a8d87..066c5ab632c8 100644 --- a/drivers/input/misc/palmas-pwrbutton.c +++ b/drivers/input/misc/palmas-pwrbutton.c | |||
@@ -319,7 +319,6 @@ static struct platform_driver palmas_pwron_driver = { | |||
319 | .remove = palmas_pwron_remove, | 319 | .remove = palmas_pwron_remove, |
320 | .driver = { | 320 | .driver = { |
321 | .name = "palmas_pwrbutton", | 321 | .name = "palmas_pwrbutton", |
322 | .owner = THIS_MODULE, | ||
323 | .of_match_table = of_match_ptr(of_palmas_pwr_match), | 322 | .of_match_table = of_match_ptr(of_palmas_pwr_match), |
324 | .pm = &palmas_pwron_pm, | 323 | .pm = &palmas_pwron_pm, |
325 | }, | 324 | }, |
diff --git a/drivers/input/misc/pcap_keys.c b/drivers/input/misc/pcap_keys.c index cd230365166e..3b81daf67726 100644 --- a/drivers/input/misc/pcap_keys.c +++ b/drivers/input/misc/pcap_keys.c | |||
@@ -121,7 +121,6 @@ static struct platform_driver pcap_keys_device_driver = { | |||
121 | .remove = pcap_keys_remove, | 121 | .remove = pcap_keys_remove, |
122 | .driver = { | 122 | .driver = { |
123 | .name = "pcap-keys", | 123 | .name = "pcap-keys", |
124 | .owner = THIS_MODULE, | ||
125 | } | 124 | } |
126 | }; | 125 | }; |
127 | module_platform_driver(pcap_keys_device_driver); | 126 | module_platform_driver(pcap_keys_device_driver); |
diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c index 674a2cfc3c0e..72b1fc3ab910 100644 --- a/drivers/input/misc/pcspkr.c +++ b/drivers/input/misc/pcspkr.c | |||
@@ -125,7 +125,6 @@ static const struct dev_pm_ops pcspkr_pm_ops = { | |||
125 | static struct platform_driver pcspkr_platform_driver = { | 125 | static struct platform_driver pcspkr_platform_driver = { |
126 | .driver = { | 126 | .driver = { |
127 | .name = "pcspkr", | 127 | .name = "pcspkr", |
128 | .owner = THIS_MODULE, | ||
129 | .pm = &pcspkr_pm_ops, | 128 | .pm = &pcspkr_pm_ops, |
130 | }, | 129 | }, |
131 | .probe = pcspkr_probe, | 130 | .probe = pcspkr_probe, |
diff --git a/drivers/input/misc/pm8xxx-vibrator.c b/drivers/input/misc/pm8xxx-vibrator.c index 6a915ba31bba..e9c77a95717e 100644 --- a/drivers/input/misc/pm8xxx-vibrator.c +++ b/drivers/input/misc/pm8xxx-vibrator.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver pm8xxx_vib_driver = { | |||
224 | .probe = pm8xxx_vib_probe, | 224 | .probe = pm8xxx_vib_probe, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "pm8xxx-vib", | 226 | .name = "pm8xxx-vib", |
227 | .owner = THIS_MODULE, | ||
228 | .pm = &pm8xxx_vib_pm_ops, | 227 | .pm = &pm8xxx_vib_pm_ops, |
229 | .of_match_table = pm8xxx_vib_id_table, | 228 | .of_match_table = pm8xxx_vib_id_table, |
230 | }, | 229 | }, |
diff --git a/drivers/input/misc/pmic8xxx-pwrkey.c b/drivers/input/misc/pmic8xxx-pwrkey.c index c91e3d33aea9..cb799177cbd5 100644 --- a/drivers/input/misc/pmic8xxx-pwrkey.c +++ b/drivers/input/misc/pmic8xxx-pwrkey.c | |||
@@ -195,7 +195,6 @@ static struct platform_driver pmic8xxx_pwrkey_driver = { | |||
195 | .remove = pmic8xxx_pwrkey_remove, | 195 | .remove = pmic8xxx_pwrkey_remove, |
196 | .driver = { | 196 | .driver = { |
197 | .name = "pm8xxx-pwrkey", | 197 | .name = "pm8xxx-pwrkey", |
198 | .owner = THIS_MODULE, | ||
199 | .pm = &pm8xxx_pwr_key_pm_ops, | 198 | .pm = &pm8xxx_pwr_key_pm_ops, |
200 | .of_match_table = pm8xxx_pwr_key_id_table, | 199 | .of_match_table = pm8xxx_pwr_key_id_table, |
201 | }, | 200 | }, |
diff --git a/drivers/input/misc/pwm-beeper.c b/drivers/input/misc/pwm-beeper.c index 8ef288e7c971..294aa48bad50 100644 --- a/drivers/input/misc/pwm-beeper.c +++ b/drivers/input/misc/pwm-beeper.c | |||
@@ -187,7 +187,6 @@ static struct platform_driver pwm_beeper_driver = { | |||
187 | .remove = pwm_beeper_remove, | 187 | .remove = pwm_beeper_remove, |
188 | .driver = { | 188 | .driver = { |
189 | .name = "pwm-beeper", | 189 | .name = "pwm-beeper", |
190 | .owner = THIS_MODULE, | ||
191 | .pm = PWM_BEEPER_PM_OPS, | 190 | .pm = PWM_BEEPER_PM_OPS, |
192 | .of_match_table = of_match_ptr(pwm_beeper_match), | 191 | .of_match_table = of_match_ptr(pwm_beeper_match), |
193 | }, | 192 | }, |
diff --git a/drivers/input/misc/rb532_button.c b/drivers/input/misc/rb532_button.c index 83fff38b86b3..e956e81cd4e6 100644 --- a/drivers/input/misc/rb532_button.c +++ b/drivers/input/misc/rb532_button.c | |||
@@ -96,7 +96,6 @@ static struct platform_driver rb532_button_driver = { | |||
96 | .remove = rb532_button_remove, | 96 | .remove = rb532_button_remove, |
97 | .driver = { | 97 | .driver = { |
98 | .name = DRV_NAME, | 98 | .name = DRV_NAME, |
99 | .owner = THIS_MODULE, | ||
100 | }, | 99 | }, |
101 | }; | 100 | }; |
102 | module_platform_driver(rb532_button_driver); | 101 | module_platform_driver(rb532_button_driver); |
diff --git a/drivers/input/misc/retu-pwrbutton.c b/drivers/input/misc/retu-pwrbutton.c index 4bff1aa9b0db..0c8ac60e2639 100644 --- a/drivers/input/misc/retu-pwrbutton.c +++ b/drivers/input/misc/retu-pwrbutton.c | |||
@@ -85,7 +85,6 @@ static struct platform_driver retu_pwrbutton_driver = { | |||
85 | .remove = retu_pwrbutton_remove, | 85 | .remove = retu_pwrbutton_remove, |
86 | .driver = { | 86 | .driver = { |
87 | .name = "retu-pwrbutton", | 87 | .name = "retu-pwrbutton", |
88 | .owner = THIS_MODULE, | ||
89 | }, | 88 | }, |
90 | }; | 89 | }; |
91 | module_platform_driver(retu_pwrbutton_driver); | 90 | module_platform_driver(retu_pwrbutton_driver); |
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index 93558a1c7f70..f27f81ee84ed 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c | |||
@@ -325,7 +325,6 @@ static struct platform_driver rotary_encoder_driver = { | |||
325 | .remove = rotary_encoder_remove, | 325 | .remove = rotary_encoder_remove, |
326 | .driver = { | 326 | .driver = { |
327 | .name = DRV_NAME, | 327 | .name = DRV_NAME, |
328 | .owner = THIS_MODULE, | ||
329 | .of_match_table = of_match_ptr(rotary_encoder_of_match), | 328 | .of_match_table = of_match_ptr(rotary_encoder_of_match), |
330 | } | 329 | } |
331 | }; | 330 | }; |
diff --git a/drivers/input/misc/sgi_btns.c b/drivers/input/misc/sgi_btns.c index f10474937a64..7bbe79d89f5c 100644 --- a/drivers/input/misc/sgi_btns.c +++ b/drivers/input/misc/sgi_btns.c | |||
@@ -157,7 +157,6 @@ static struct platform_driver sgi_buttons_driver = { | |||
157 | .remove = sgi_buttons_remove, | 157 | .remove = sgi_buttons_remove, |
158 | .driver = { | 158 | .driver = { |
159 | .name = "sgibtns", | 159 | .name = "sgibtns", |
160 | .owner = THIS_MODULE, | ||
161 | }, | 160 | }, |
162 | }; | 161 | }; |
163 | module_platform_driver(sgi_buttons_driver); | 162 | module_platform_driver(sgi_buttons_driver); |
diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index fed5102e1802..4faf9f8d1240 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c | |||
@@ -205,7 +205,6 @@ static struct platform_driver sirfsoc_pwrc_driver = { | |||
205 | .remove = sirfsoc_pwrc_remove, | 205 | .remove = sirfsoc_pwrc_remove, |
206 | .driver = { | 206 | .driver = { |
207 | .name = "sirfsoc-pwrc", | 207 | .name = "sirfsoc-pwrc", |
208 | .owner = THIS_MODULE, | ||
209 | .pm = &sirfsoc_pwrc_pm_ops, | 208 | .pm = &sirfsoc_pwrc_pm_ops, |
210 | .of_match_table = sirfsoc_pwrc_of_match, | 209 | .of_match_table = sirfsoc_pwrc_of_match, |
211 | } | 210 | } |
diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c index e097f1ab427f..79cc0f79896f 100644 --- a/drivers/input/misc/soc_button_array.c +++ b/drivers/input/misc/soc_button_array.c | |||
@@ -214,7 +214,6 @@ static struct platform_driver soc_button_driver = { | |||
214 | .remove = soc_button_remove, | 214 | .remove = soc_button_remove, |
215 | .driver = { | 215 | .driver = { |
216 | .name = KBUILD_MODNAME, | 216 | .name = KBUILD_MODNAME, |
217 | .owner = THIS_MODULE, | ||
218 | .acpi_match_table = ACPI_PTR(soc_button_acpi_match), | 217 | .acpi_match_table = ACPI_PTR(soc_button_acpi_match), |
219 | }, | 218 | }, |
220 | }; | 219 | }; |
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index 179ff1cd6f6b..54116e544c96 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c | |||
@@ -257,7 +257,6 @@ static const struct of_device_id bbc_beep_match[] = { | |||
257 | static struct platform_driver bbc_beep_driver = { | 257 | static struct platform_driver bbc_beep_driver = { |
258 | .driver = { | 258 | .driver = { |
259 | .name = "bbcbeep", | 259 | .name = "bbcbeep", |
260 | .owner = THIS_MODULE, | ||
261 | .of_match_table = bbc_beep_match, | 260 | .of_match_table = bbc_beep_match, |
262 | }, | 261 | }, |
263 | .probe = bbc_beep_probe, | 262 | .probe = bbc_beep_probe, |
@@ -337,7 +336,6 @@ static const struct of_device_id grover_beep_match[] = { | |||
337 | static struct platform_driver grover_beep_driver = { | 336 | static struct platform_driver grover_beep_driver = { |
338 | .driver = { | 337 | .driver = { |
339 | .name = "groverbeep", | 338 | .name = "groverbeep", |
340 | .owner = THIS_MODULE, | ||
341 | .of_match_table = grover_beep_match, | 339 | .of_match_table = grover_beep_match, |
342 | }, | 340 | }, |
343 | .probe = grover_beep_probe, | 341 | .probe = grover_beep_probe, |
diff --git a/drivers/input/misc/twl4030-pwrbutton.c b/drivers/input/misc/twl4030-pwrbutton.c index fb3b63b2f85c..380580e77f9f 100644 --- a/drivers/input/misc/twl4030-pwrbutton.c +++ b/drivers/input/misc/twl4030-pwrbutton.c | |||
@@ -101,7 +101,6 @@ static struct platform_driver twl4030_pwrbutton_driver = { | |||
101 | .probe = twl4030_pwrbutton_probe, | 101 | .probe = twl4030_pwrbutton_probe, |
102 | .driver = { | 102 | .driver = { |
103 | .name = "twl4030_pwrbutton", | 103 | .name = "twl4030_pwrbutton", |
104 | .owner = THIS_MODULE, | ||
105 | .of_match_table = of_match_ptr(twl4030_pwrbutton_dt_match_table), | 104 | .of_match_table = of_match_ptr(twl4030_pwrbutton_dt_match_table), |
106 | }, | 105 | }, |
107 | }; | 106 | }; |
diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c index 960ef2a70910..ccd6dd18f8f6 100644 --- a/drivers/input/misc/twl4030-vibra.c +++ b/drivers/input/misc/twl4030-vibra.c | |||
@@ -253,7 +253,6 @@ static struct platform_driver twl4030_vibra_driver = { | |||
253 | .probe = twl4030_vibra_probe, | 253 | .probe = twl4030_vibra_probe, |
254 | .driver = { | 254 | .driver = { |
255 | .name = "twl4030-vibra", | 255 | .name = "twl4030-vibra", |
256 | .owner = THIS_MODULE, | ||
257 | .pm = &twl4030_vibra_pm_ops, | 256 | .pm = &twl4030_vibra_pm_ops, |
258 | }, | 257 | }, |
259 | }; | 258 | }; |
diff --git a/drivers/input/misc/twl6040-vibra.c b/drivers/input/misc/twl6040-vibra.c index 6d26eecc278c..96e0e0c0ccb1 100644 --- a/drivers/input/misc/twl6040-vibra.c +++ b/drivers/input/misc/twl6040-vibra.c | |||
@@ -388,7 +388,6 @@ static struct platform_driver twl6040_vibra_driver = { | |||
388 | .probe = twl6040_vibra_probe, | 388 | .probe = twl6040_vibra_probe, |
389 | .driver = { | 389 | .driver = { |
390 | .name = "twl6040-vibra", | 390 | .name = "twl6040-vibra", |
391 | .owner = THIS_MODULE, | ||
392 | .pm = &twl6040_vibra_pm_ops, | 391 | .pm = &twl6040_vibra_pm_ops, |
393 | }, | 392 | }, |
394 | }; | 393 | }; |
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index 7b7add5061a5..e25f87ba19f6 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c | |||
@@ -1347,7 +1347,6 @@ static const struct dev_pm_ops wistron_pm_ops = { | |||
1347 | static struct platform_driver wistron_driver = { | 1347 | static struct platform_driver wistron_driver = { |
1348 | .driver = { | 1348 | .driver = { |
1349 | .name = "wistron-bios", | 1349 | .name = "wistron-bios", |
1350 | .owner = THIS_MODULE, | ||
1351 | #ifdef CONFIG_PM | 1350 | #ifdef CONFIG_PM |
1352 | .pm = &wistron_pm_ops, | 1351 | .pm = &wistron_pm_ops, |
1353 | #endif | 1352 | #endif |
diff --git a/drivers/input/misc/wm831x-on.c b/drivers/input/misc/wm831x-on.c index 173b6dcca0da..59d4f7bcb4a3 100644 --- a/drivers/input/misc/wm831x-on.c +++ b/drivers/input/misc/wm831x-on.c | |||
@@ -138,7 +138,6 @@ static struct platform_driver wm831x_on_driver = { | |||
138 | .remove = wm831x_on_remove, | 138 | .remove = wm831x_on_remove, |
139 | .driver = { | 139 | .driver = { |
140 | .name = "wm831x-on", | 140 | .name = "wm831x-on", |
141 | .owner = THIS_MODULE, | ||
142 | }, | 141 | }, |
143 | }; | 142 | }; |
144 | module_platform_driver(wm831x_on_driver); | 143 | module_platform_driver(wm831x_on_driver); |
diff --git a/drivers/input/mouse/amimouse.c b/drivers/input/mouse/amimouse.c index 62ec52b2e347..a7fd8f22ba56 100644 --- a/drivers/input/mouse/amimouse.c +++ b/drivers/input/mouse/amimouse.c | |||
@@ -141,7 +141,6 @@ static struct platform_driver amimouse_driver = { | |||
141 | .remove = __exit_p(amimouse_remove), | 141 | .remove = __exit_p(amimouse_remove), |
142 | .driver = { | 142 | .driver = { |
143 | .name = "amiga-mouse", | 143 | .name = "amiga-mouse", |
144 | .owner = THIS_MODULE, | ||
145 | }, | 144 | }, |
146 | }; | 145 | }; |
147 | 146 | ||
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c index 8c7d94200bdb..ced07391304b 100644 --- a/drivers/input/mouse/gpio_mouse.c +++ b/drivers/input/mouse/gpio_mouse.c | |||
@@ -171,7 +171,6 @@ static struct platform_driver gpio_mouse_device_driver = { | |||
171 | .remove = gpio_mouse_remove, | 171 | .remove = gpio_mouse_remove, |
172 | .driver = { | 172 | .driver = { |
173 | .name = "gpio_mouse", | 173 | .name = "gpio_mouse", |
174 | .owner = THIS_MODULE, | ||
175 | } | 174 | } |
176 | }; | 175 | }; |
177 | module_platform_driver(gpio_mouse_device_driver); | 176 | module_platform_driver(gpio_mouse_device_driver); |
diff --git a/drivers/input/mouse/navpoint.c b/drivers/input/mouse/navpoint.c index 1ccc88af1f0b..2a0360f5b5f7 100644 --- a/drivers/input/mouse/navpoint.c +++ b/drivers/input/mouse/navpoint.c | |||
@@ -355,7 +355,6 @@ static struct platform_driver navpoint_driver = { | |||
355 | .remove = navpoint_remove, | 355 | .remove = navpoint_remove, |
356 | .driver = { | 356 | .driver = { |
357 | .name = "navpoint", | 357 | .name = "navpoint", |
358 | .owner = THIS_MODULE, | ||
359 | .pm = &navpoint_pm_ops, | 358 | .pm = &navpoint_pm_ops, |
360 | }, | 359 | }, |
361 | }; | 360 | }; |
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c index 58781c8a8aec..8921c96589be 100644 --- a/drivers/input/serio/altera_ps2.c +++ b/drivers/input/serio/altera_ps2.c | |||
@@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = { | |||
189 | .remove = altera_ps2_remove, | 189 | .remove = altera_ps2_remove, |
190 | .driver = { | 190 | .driver = { |
191 | .name = DRV_NAME, | 191 | .name = DRV_NAME, |
192 | .owner = THIS_MODULE, | ||
193 | .of_match_table = of_match_ptr(altera_ps2_match), | 192 | .of_match_table = of_match_ptr(altera_ps2_match), |
194 | }, | 193 | }, |
195 | }; | 194 | }; |
diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c index 98be824544a5..45d4e08ca4f8 100644 --- a/drivers/input/serio/apbps2.c +++ b/drivers/input/serio/apbps2.c | |||
@@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match); | |||
214 | static struct platform_driver apbps2_of_driver = { | 214 | static struct platform_driver apbps2_of_driver = { |
215 | .driver = { | 215 | .driver = { |
216 | .name = "grlib-apbps2", | 216 | .name = "grlib-apbps2", |
217 | .owner = THIS_MODULE, | ||
218 | .of_match_table = apbps2_of_match, | 217 | .of_match_table = apbps2_of_match, |
219 | }, | 218 | }, |
220 | .probe = apbps2_of_probe, | 219 | .probe = apbps2_of_probe, |
diff --git a/drivers/input/serio/arc_ps2.c b/drivers/input/serio/arc_ps2.c index 8024a6d7fccb..99e57a418753 100644 --- a/drivers/input/serio/arc_ps2.c +++ b/drivers/input/serio/arc_ps2.c | |||
@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match); | |||
266 | static struct platform_driver arc_ps2_driver = { | 266 | static struct platform_driver arc_ps2_driver = { |
267 | .driver = { | 267 | .driver = { |
268 | .name = "arc_ps2", | 268 | .name = "arc_ps2", |
269 | .owner = THIS_MODULE, | ||
270 | .of_match_table = of_match_ptr(arc_ps2_match), | 269 | .of_match_table = of_match_ptr(arc_ps2_match), |
271 | }, | 270 | }, |
272 | .probe = arc_ps2_probe, | 271 | .probe = arc_ps2_probe, |
diff --git a/drivers/input/serio/at32psif.c b/drivers/input/serio/at32psif.c index 3290b287ac4b..2e4ff5bac754 100644 --- a/drivers/input/serio/at32psif.c +++ b/drivers/input/serio/at32psif.c | |||
@@ -352,7 +352,6 @@ static struct platform_driver psif_driver = { | |||
352 | .remove = __exit_p(psif_remove), | 352 | .remove = __exit_p(psif_remove), |
353 | .driver = { | 353 | .driver = { |
354 | .name = "atmel_psif", | 354 | .name = "atmel_psif", |
355 | .owner = THIS_MODULE, | ||
356 | .pm = &psif_pm_ops, | 355 | .pm = &psif_pm_ops, |
357 | }, | 356 | }, |
358 | }; | 357 | }; |
diff --git a/drivers/input/serio/ct82c710.c b/drivers/input/serio/ct82c710.c index cfe549d4eaa5..9c54c43c9749 100644 --- a/drivers/input/serio/ct82c710.c +++ b/drivers/input/serio/ct82c710.c | |||
@@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev) | |||
209 | static struct platform_driver ct82c710_driver = { | 209 | static struct platform_driver ct82c710_driver = { |
210 | .driver = { | 210 | .driver = { |
211 | .name = "ct82c710", | 211 | .name = "ct82c710", |
212 | .owner = THIS_MODULE, | ||
213 | }, | 212 | }, |
214 | .probe = ct82c710_probe, | 213 | .probe = ct82c710_probe, |
215 | .remove = ct82c710_remove, | 214 | .remove = ct82c710_remove, |
diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h index 93cb7912703c..afcd1c1a05b2 100644 --- a/drivers/input/serio/i8042-sparcio.h +++ b/drivers/input/serio/i8042-sparcio.h | |||
@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match); | |||
99 | static struct platform_driver sparc_i8042_driver = { | 99 | static struct platform_driver sparc_i8042_driver = { |
100 | .driver = { | 100 | .driver = { |
101 | .name = "i8042", | 101 | .name = "i8042", |
102 | .owner = THIS_MODULE, | ||
103 | .of_match_table = sparc_i8042_match, | 102 | .of_match_table = sparc_i8042_match, |
104 | }, | 103 | }, |
105 | .probe = sparc_i8042_probe, | 104 | .probe = sparc_i8042_probe, |
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index f5a98af3b325..924e4bf357fb 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c | |||
@@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev) | |||
1463 | static struct platform_driver i8042_driver = { | 1463 | static struct platform_driver i8042_driver = { |
1464 | .driver = { | 1464 | .driver = { |
1465 | .name = "i8042", | 1465 | .name = "i8042", |
1466 | .owner = THIS_MODULE, | ||
1467 | #ifdef CONFIG_PM | 1466 | #ifdef CONFIG_PM |
1468 | .pm = &i8042_pm_ops, | 1467 | .pm = &i8042_pm_ops, |
1469 | #endif | 1468 | #endif |
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c index bc85e1cc66d8..e365c5f4cbc9 100644 --- a/drivers/input/serio/maceps2.c +++ b/drivers/input/serio/maceps2.c | |||
@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev) | |||
162 | static struct platform_driver maceps2_driver = { | 162 | static struct platform_driver maceps2_driver = { |
163 | .driver = { | 163 | .driver = { |
164 | .name = "maceps2", | 164 | .name = "maceps2", |
165 | .owner = THIS_MODULE, | ||
166 | }, | 165 | }, |
167 | .probe = maceps2_probe, | 166 | .probe = maceps2_probe, |
168 | .remove = maceps2_remove, | 167 | .remove = maceps2_remove, |
diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index d906f3ebc8c8..8e9a4209fcad 100644 --- a/drivers/input/serio/olpc_apsp.c +++ b/drivers/input/serio/olpc_apsp.c | |||
@@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = { | |||
273 | .remove = olpc_apsp_remove, | 273 | .remove = olpc_apsp_remove, |
274 | .driver = { | 274 | .driver = { |
275 | .name = "olpc-apsp", | 275 | .name = "olpc-apsp", |
276 | .owner = THIS_MODULE, | ||
277 | .of_match_table = olpc_apsp_dt_ids, | 276 | .of_match_table = olpc_apsp_dt_ids, |
278 | }, | 277 | }, |
279 | }; | 278 | }; |
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index 594256c38554..5a9d521510bf 100644 --- a/drivers/input/serio/q40kbd.c +++ b/drivers/input/serio/q40kbd.c | |||
@@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev) | |||
186 | static struct platform_driver q40kbd_driver = { | 186 | static struct platform_driver q40kbd_driver = { |
187 | .driver = { | 187 | .driver = { |
188 | .name = "q40kbd", | 188 | .name = "q40kbd", |
189 | .owner = THIS_MODULE, | ||
190 | }, | 189 | }, |
191 | .remove = q40kbd_remove, | 190 | .remove = q40kbd_remove, |
192 | }; | 191 | }; |
diff --git a/drivers/input/serio/rpckbd.c b/drivers/input/serio/rpckbd.c index e462e7791bb8..8cf964736902 100644 --- a/drivers/input/serio/rpckbd.c +++ b/drivers/input/serio/rpckbd.c | |||
@@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = { | |||
168 | .remove = rpckbd_remove, | 168 | .remove = rpckbd_remove, |
169 | .driver = { | 169 | .driver = { |
170 | .name = "kart", | 170 | .name = "kart", |
171 | .owner = THIS_MODULE, | ||
172 | }, | 171 | }, |
173 | }; | 172 | }; |
174 | module_platform_driver(rpckbd_driver); | 173 | module_platform_driver(rpckbd_driver); |
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c index e6cf52ebad87..5223cbf94262 100644 --- a/drivers/input/serio/xilinx_ps2.c +++ b/drivers/input/serio/xilinx_ps2.c | |||
@@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match); | |||
363 | static struct platform_driver xps2_of_driver = { | 363 | static struct platform_driver xps2_of_driver = { |
364 | .driver = { | 364 | .driver = { |
365 | .name = DRIVER_NAME, | 365 | .name = DRIVER_NAME, |
366 | .owner = THIS_MODULE, | ||
367 | .of_match_table = xps2_of_match, | 366 | .of_match_table = xps2_of_match, |
368 | }, | 367 | }, |
369 | .probe = xps2_of_probe, | 368 | .probe = xps2_of_probe, |
diff --git a/drivers/input/touchscreen/88pm860x-ts.c b/drivers/input/touchscreen/88pm860x-ts.c index 0d4a9fad4a78..251ff2aa0633 100644 --- a/drivers/input/touchscreen/88pm860x-ts.c +++ b/drivers/input/touchscreen/88pm860x-ts.c | |||
@@ -292,7 +292,6 @@ static int pm860x_touch_probe(struct platform_device *pdev) | |||
292 | static struct platform_driver pm860x_touch_driver = { | 292 | static struct platform_driver pm860x_touch_driver = { |
293 | .driver = { | 293 | .driver = { |
294 | .name = "88pm860x-touch", | 294 | .name = "88pm860x-touch", |
295 | .owner = THIS_MODULE, | ||
296 | }, | 295 | }, |
297 | .probe = pm860x_touch_probe, | 296 | .probe = pm860x_touch_probe, |
298 | }; | 297 | }; |
diff --git a/drivers/input/touchscreen/atmel-wm97xx.c b/drivers/input/touchscreen/atmel-wm97xx.c index 279c0e42b8a7..7ec0421c0dd8 100644 --- a/drivers/input/touchscreen/atmel-wm97xx.c +++ b/drivers/input/touchscreen/atmel-wm97xx.c | |||
@@ -425,7 +425,6 @@ static struct platform_driver atmel_wm97xx_driver = { | |||
425 | .remove = __exit_p(atmel_wm97xx_remove), | 425 | .remove = __exit_p(atmel_wm97xx_remove), |
426 | .driver = { | 426 | .driver = { |
427 | .name = "wm97xx-touch", | 427 | .name = "wm97xx-touch", |
428 | .owner = THIS_MODULE, | ||
429 | .pm = &atmel_wm97xx_pm_ops, | 428 | .pm = &atmel_wm97xx_pm_ops, |
430 | }, | 429 | }, |
431 | }; | 430 | }; |
diff --git a/drivers/input/touchscreen/da9034-ts.c b/drivers/input/touchscreen/da9034-ts.c index cf6f4b31db4d..8264822dc4b9 100644 --- a/drivers/input/touchscreen/da9034-ts.c +++ b/drivers/input/touchscreen/da9034-ts.c | |||
@@ -357,7 +357,6 @@ static int da9034_touch_probe(struct platform_device *pdev) | |||
357 | static struct platform_driver da9034_touch_driver = { | 357 | static struct platform_driver da9034_touch_driver = { |
358 | .driver = { | 358 | .driver = { |
359 | .name = "da9034-touch", | 359 | .name = "da9034-touch", |
360 | .owner = THIS_MODULE, | ||
361 | }, | 360 | }, |
362 | .probe = da9034_touch_probe, | 361 | .probe = da9034_touch_probe, |
363 | }; | 362 | }; |
diff --git a/drivers/input/touchscreen/da9052_tsi.c b/drivers/input/touchscreen/da9052_tsi.c index ab64d58c3ac0..5a013bb7bcad 100644 --- a/drivers/input/touchscreen/da9052_tsi.c +++ b/drivers/input/touchscreen/da9052_tsi.c | |||
@@ -337,7 +337,6 @@ static struct platform_driver da9052_tsi_driver = { | |||
337 | .remove = da9052_ts_remove, | 337 | .remove = da9052_ts_remove, |
338 | .driver = { | 338 | .driver = { |
339 | .name = "da9052-tsi", | 339 | .name = "da9052-tsi", |
340 | .owner = THIS_MODULE, | ||
341 | }, | 340 | }, |
342 | }; | 341 | }; |
343 | 342 | ||
diff --git a/drivers/input/touchscreen/intel-mid-touch.c b/drivers/input/touchscreen/intel-mid-touch.c index c38ca4a7e386..b4f0725a1c3d 100644 --- a/drivers/input/touchscreen/intel-mid-touch.c +++ b/drivers/input/touchscreen/intel-mid-touch.c | |||
@@ -644,7 +644,6 @@ static int mrstouch_probe(struct platform_device *pdev) | |||
644 | static struct platform_driver mrstouch_driver = { | 644 | static struct platform_driver mrstouch_driver = { |
645 | .driver = { | 645 | .driver = { |
646 | .name = "pmic_touch", | 646 | .name = "pmic_touch", |
647 | .owner = THIS_MODULE, | ||
648 | }, | 647 | }, |
649 | .probe = mrstouch_probe, | 648 | .probe = mrstouch_probe, |
650 | }; | 649 | }; |
diff --git a/drivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c index 651ec71a5c68..ea3b6a5b83e6 100644 --- a/drivers/input/touchscreen/jornada720_ts.c +++ b/drivers/input/touchscreen/jornada720_ts.c | |||
@@ -148,7 +148,6 @@ static struct platform_driver jornada720_ts_driver = { | |||
148 | .probe = jornada720_ts_probe, | 148 | .probe = jornada720_ts_probe, |
149 | .driver = { | 149 | .driver = { |
150 | .name = "jornada_ts", | 150 | .name = "jornada_ts", |
151 | .owner = THIS_MODULE, | ||
152 | }, | 151 | }, |
153 | }; | 152 | }; |
154 | module_platform_driver(jornada720_ts_driver); | 153 | module_platform_driver(jornada720_ts_driver); |
diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c index bb47d3442a35..24d704cd9f88 100644 --- a/drivers/input/touchscreen/lpc32xx_ts.c +++ b/drivers/input/touchscreen/lpc32xx_ts.c | |||
@@ -396,7 +396,6 @@ static struct platform_driver lpc32xx_ts_driver = { | |||
396 | .remove = lpc32xx_ts_remove, | 396 | .remove = lpc32xx_ts_remove, |
397 | .driver = { | 397 | .driver = { |
398 | .name = MOD_NAME, | 398 | .name = MOD_NAME, |
399 | .owner = THIS_MODULE, | ||
400 | .pm = LPC32XX_TS_PM_OPS, | 399 | .pm = LPC32XX_TS_PM_OPS, |
401 | .of_match_table = of_match_ptr(lpc32xx_tsc_of_match), | 400 | .of_match_table = of_match_ptr(lpc32xx_tsc_of_match), |
402 | }, | 401 | }, |
diff --git a/drivers/input/touchscreen/mc13783_ts.c b/drivers/input/touchscreen/mc13783_ts.c index d6f099c47f84..913e25a994b4 100644 --- a/drivers/input/touchscreen/mc13783_ts.c +++ b/drivers/input/touchscreen/mc13783_ts.c | |||
@@ -243,7 +243,6 @@ static int mc13783_ts_remove(struct platform_device *pdev) | |||
243 | static struct platform_driver mc13783_ts_driver = { | 243 | static struct platform_driver mc13783_ts_driver = { |
244 | .remove = mc13783_ts_remove, | 244 | .remove = mc13783_ts_remove, |
245 | .driver = { | 245 | .driver = { |
246 | .owner = THIS_MODULE, | ||
247 | .name = MC13783_TS_NAME, | 246 | .name = MC13783_TS_NAME, |
248 | }, | 247 | }, |
249 | }; | 248 | }; |
diff --git a/drivers/input/touchscreen/pcap_ts.c b/drivers/input/touchscreen/pcap_ts.c index cff2376817e5..23a354a392ae 100644 --- a/drivers/input/touchscreen/pcap_ts.c +++ b/drivers/input/touchscreen/pcap_ts.c | |||
@@ -247,7 +247,6 @@ static struct platform_driver pcap_ts_driver = { | |||
247 | .remove = pcap_ts_remove, | 247 | .remove = pcap_ts_remove, |
248 | .driver = { | 248 | .driver = { |
249 | .name = "pcap-ts", | 249 | .name = "pcap-ts", |
250 | .owner = THIS_MODULE, | ||
251 | .pm = PCAP_TS_PM_OPS, | 250 | .pm = PCAP_TS_PM_OPS, |
252 | }, | 251 | }, |
253 | }; | 252 | }; |
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index 5a69ded9b53c..bdfa27dc097b 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c | |||
@@ -422,7 +422,6 @@ MODULE_DEVICE_TABLE(platform, s3cts_driver_ids); | |||
422 | static struct platform_driver s3c_ts_driver = { | 422 | static struct platform_driver s3c_ts_driver = { |
423 | .driver = { | 423 | .driver = { |
424 | .name = "samsung-ts", | 424 | .name = "samsung-ts", |
425 | .owner = THIS_MODULE, | ||
426 | #ifdef CONFIG_PM | 425 | #ifdef CONFIG_PM |
427 | .pm = &s3c_ts_pmops, | 426 | .pm = &s3c_ts_pmops, |
428 | #endif | 427 | #endif |
diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 42ce31afa259..2d5ff86b343f 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c | |||
@@ -384,7 +384,6 @@ static int stmpe_ts_remove(struct platform_device *pdev) | |||
384 | static struct platform_driver stmpe_ts_driver = { | 384 | static struct platform_driver stmpe_ts_driver = { |
385 | .driver = { | 385 | .driver = { |
386 | .name = STMPE_TS_NAME, | 386 | .name = STMPE_TS_NAME, |
387 | .owner = THIS_MODULE, | ||
388 | }, | 387 | }, |
389 | .probe = stmpe_input_probe, | 388 | .probe = stmpe_input_probe, |
390 | .remove = stmpe_ts_remove, | 389 | .remove = stmpe_ts_remove, |
diff --git a/drivers/input/touchscreen/sun4i-ts.c b/drivers/input/touchscreen/sun4i-ts.c index 2ba826024954..28a06749ae42 100644 --- a/drivers/input/touchscreen/sun4i-ts.c +++ b/drivers/input/touchscreen/sun4i-ts.c | |||
@@ -324,7 +324,6 @@ MODULE_DEVICE_TABLE(of, sun4i_ts_of_match); | |||
324 | 324 | ||
325 | static struct platform_driver sun4i_ts_driver = { | 325 | static struct platform_driver sun4i_ts_driver = { |
326 | .driver = { | 326 | .driver = { |
327 | .owner = THIS_MODULE, | ||
328 | .name = "sun4i-ts", | 327 | .name = "sun4i-ts", |
329 | .of_match_table = of_match_ptr(sun4i_ts_of_match), | 328 | .of_match_table = of_match_ptr(sun4i_ts_of_match), |
330 | }, | 329 | }, |
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 2ce649520fe0..004f1346a957 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c | |||
@@ -518,7 +518,6 @@ static struct platform_driver ti_tsc_driver = { | |||
518 | .remove = titsc_remove, | 518 | .remove = titsc_remove, |
519 | .driver = { | 519 | .driver = { |
520 | .name = "TI-am335x-tsc", | 520 | .name = "TI-am335x-tsc", |
521 | .owner = THIS_MODULE, | ||
522 | .pm = TITSC_PM_OPS, | 521 | .pm = TITSC_PM_OPS, |
523 | .of_match_table = ti_tsc_dt_ids, | 522 | .of_match_table = ti_tsc_dt_ids, |
524 | }, | 523 | }, |
diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c index 94cde2cb1491..4ffd829d1990 100644 --- a/drivers/input/touchscreen/tps6507x-ts.c +++ b/drivers/input/touchscreen/tps6507x-ts.c | |||
@@ -314,7 +314,6 @@ static int tps6507x_ts_remove(struct platform_device *pdev) | |||
314 | static struct platform_driver tps6507x_ts_driver = { | 314 | static struct platform_driver tps6507x_ts_driver = { |
315 | .driver = { | 315 | .driver = { |
316 | .name = "tps6507x-ts", | 316 | .name = "tps6507x-ts", |
317 | .owner = THIS_MODULE, | ||
318 | }, | 317 | }, |
319 | .probe = tps6507x_ts_probe, | 318 | .probe = tps6507x_ts_probe, |
320 | .remove = tps6507x_ts_remove, | 319 | .remove = tps6507x_ts_remove, |
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index b46c55cd1bbb..0eca00da584b 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c | |||
@@ -444,7 +444,6 @@ static struct platform_driver ucb1400_ts_driver = { | |||
444 | .remove = ucb1400_ts_remove, | 444 | .remove = ucb1400_ts_remove, |
445 | .driver = { | 445 | .driver = { |
446 | .name = "ucb1400_ts", | 446 | .name = "ucb1400_ts", |
447 | .owner = THIS_MODULE, | ||
448 | .pm = &ucb1400_ts_pm_ops, | 447 | .pm = &ucb1400_ts_pm_ops, |
449 | }, | 448 | }, |
450 | }; | 449 | }; |
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c index 003d0c3b5d08..da6004e97753 100644 --- a/drivers/input/touchscreen/w90p910_ts.c +++ b/drivers/input/touchscreen/w90p910_ts.c | |||
@@ -326,7 +326,6 @@ static struct platform_driver w90x900ts_driver = { | |||
326 | .remove = w90x900ts_remove, | 326 | .remove = w90x900ts_remove, |
327 | .driver = { | 327 | .driver = { |
328 | .name = "nuc900-ts", | 328 | .name = "nuc900-ts", |
329 | .owner = THIS_MODULE, | ||
330 | }, | 329 | }, |
331 | }; | 330 | }; |
332 | module_platform_driver(w90x900ts_driver); | 331 | module_platform_driver(w90x900ts_driver); |
diff --git a/drivers/input/touchscreen/wm831x-ts.c b/drivers/input/touchscreen/wm831x-ts.c index 1b953a066b2c..1db0a1410929 100644 --- a/drivers/input/touchscreen/wm831x-ts.c +++ b/drivers/input/touchscreen/wm831x-ts.c | |||
@@ -392,7 +392,6 @@ static int wm831x_ts_remove(struct platform_device *pdev) | |||
392 | static struct platform_driver wm831x_ts_driver = { | 392 | static struct platform_driver wm831x_ts_driver = { |
393 | .driver = { | 393 | .driver = { |
394 | .name = "wm831x-touch", | 394 | .name = "wm831x-touch", |
395 | .owner = THIS_MODULE, | ||
396 | }, | 395 | }, |
397 | .probe = wm831x_ts_probe, | 396 | .probe = wm831x_ts_probe, |
398 | .remove = wm831x_ts_remove, | 397 | .remove = wm831x_ts_remove, |
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index 60558f794922..480951484376 100644 --- a/drivers/iommu/arm-smmu.c +++ b/drivers/iommu/arm-smmu.c | |||
@@ -2062,7 +2062,6 @@ static int arm_smmu_device_remove(struct platform_device *pdev) | |||
2062 | 2062 | ||
2063 | static struct platform_driver arm_smmu_driver = { | 2063 | static struct platform_driver arm_smmu_driver = { |
2064 | .driver = { | 2064 | .driver = { |
2065 | .owner = THIS_MODULE, | ||
2066 | .name = "arm-smmu", | 2065 | .name = "arm-smmu", |
2067 | .of_match_table = of_match_ptr(arm_smmu_of_match), | 2066 | .of_match_table = of_match_ptr(arm_smmu_of_match), |
2068 | }, | 2067 | }, |
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 74233186f6f7..e940f5077126 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c | |||
@@ -684,7 +684,6 @@ static const struct of_device_id sysmmu_of_match[] __initconst = { | |||
684 | static struct platform_driver exynos_sysmmu_driver __refdata = { | 684 | static struct platform_driver exynos_sysmmu_driver __refdata = { |
685 | .probe = exynos_sysmmu_probe, | 685 | .probe = exynos_sysmmu_probe, |
686 | .driver = { | 686 | .driver = { |
687 | .owner = THIS_MODULE, | ||
688 | .name = "exynos-sysmmu", | 687 | .name = "exynos-sysmmu", |
689 | .of_match_table = sysmmu_of_match, | 688 | .of_match_table = sysmmu_of_match, |
690 | } | 689 | } |
diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c index 2b6ce9387af1..80ac68d884c5 100644 --- a/drivers/iommu/fsl_pamu.c +++ b/drivers/iommu/fsl_pamu.c | |||
@@ -1227,7 +1227,6 @@ static const struct of_device_id fsl_of_pamu_ids[] = { | |||
1227 | static struct platform_driver fsl_of_pamu_driver = { | 1227 | static struct platform_driver fsl_of_pamu_driver = { |
1228 | .driver = { | 1228 | .driver = { |
1229 | .name = "fsl-of-pamu", | 1229 | .name = "fsl-of-pamu", |
1230 | .owner = THIS_MODULE, | ||
1231 | }, | 1230 | }, |
1232 | .probe = fsl_pamu_probe, | 1231 | .probe = fsl_pamu_probe, |
1233 | }; | 1232 | }; |
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 7dab5cbcc775..33c9d5327e70 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c | |||
@@ -1221,7 +1221,6 @@ static int ipmmu_remove(struct platform_device *pdev) | |||
1221 | 1221 | ||
1222 | static struct platform_driver ipmmu_driver = { | 1222 | static struct platform_driver ipmmu_driver = { |
1223 | .driver = { | 1223 | .driver = { |
1224 | .owner = THIS_MODULE, | ||
1225 | .name = "ipmmu-vmsa", | 1224 | .name = "ipmmu-vmsa", |
1226 | }, | 1225 | }, |
1227 | .probe = ipmmu_probe, | 1226 | .probe = ipmmu_probe, |
diff --git a/drivers/iommu/shmobile-ipmmu.c b/drivers/iommu/shmobile-ipmmu.c index bd97adecb1fd..951651a9746b 100644 --- a/drivers/iommu/shmobile-ipmmu.c +++ b/drivers/iommu/shmobile-ipmmu.c | |||
@@ -118,7 +118,6 @@ static int ipmmu_probe(struct platform_device *pdev) | |||
118 | static struct platform_driver ipmmu_driver = { | 118 | static struct platform_driver ipmmu_driver = { |
119 | .probe = ipmmu_probe, | 119 | .probe = ipmmu_probe, |
120 | .driver = { | 120 | .driver = { |
121 | .owner = THIS_MODULE, | ||
122 | .name = "ipmmu", | 121 | .name = "ipmmu", |
123 | }, | 122 | }, |
124 | }; | 123 | }; |
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c index a6d76abf2c06..f722a0c466cf 100644 --- a/drivers/iommu/tegra-gart.c +++ b/drivers/iommu/tegra-gart.c | |||
@@ -425,7 +425,6 @@ static struct platform_driver tegra_gart_driver = { | |||
425 | .probe = tegra_gart_probe, | 425 | .probe = tegra_gart_probe, |
426 | .remove = tegra_gart_remove, | 426 | .remove = tegra_gart_remove, |
427 | .driver = { | 427 | .driver = { |
428 | .owner = THIS_MODULE, | ||
429 | .name = "tegra-gart", | 428 | .name = "tegra-gart", |
430 | .pm = &tegra_gart_pm_ops, | 429 | .pm = &tegra_gart_pm_ops, |
431 | .of_match_table = tegra_gart_of_match, | 430 | .of_match_table = tegra_gart_of_match, |
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 3afdf43f732a..6157946ae73d 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c | |||
@@ -1269,7 +1269,6 @@ static struct platform_driver tegra_smmu_driver = { | |||
1269 | .probe = tegra_smmu_probe, | 1269 | .probe = tegra_smmu_probe, |
1270 | .remove = tegra_smmu_remove, | 1270 | .remove = tegra_smmu_remove, |
1271 | .driver = { | 1271 | .driver = { |
1272 | .owner = THIS_MODULE, | ||
1273 | .name = "tegra-smmu", | 1272 | .name = "tegra-smmu", |
1274 | .pm = &tegra_smmu_pm_ops, | 1273 | .pm = &tegra_smmu_pm_ops, |
1275 | .of_match_table = tegra_smmu_of_match, | 1274 | .of_match_table = tegra_smmu_of_match, |
diff --git a/drivers/irqchip/irq-keystone.c b/drivers/irqchip/irq-keystone.c index 608abf9c9283..78e8b3ce5252 100644 --- a/drivers/irqchip/irq-keystone.c +++ b/drivers/irqchip/irq-keystone.c | |||
@@ -218,7 +218,6 @@ static struct platform_driver keystone_irq_device_driver = { | |||
218 | .remove = keystone_irq_remove, | 218 | .remove = keystone_irq_remove, |
219 | .driver = { | 219 | .driver = { |
220 | .name = "keystone_irq", | 220 | .name = "keystone_irq", |
221 | .owner = THIS_MODULE, | ||
222 | .of_match_table = of_match_ptr(keystone_irq_dt_ids), | 221 | .of_match_table = of_match_ptr(keystone_irq_dt_ids), |
223 | } | 222 | } |
224 | }; | 223 | }; |
diff --git a/drivers/irqchip/irq-renesas-intc-irqpin.c b/drivers/irqchip/irq-renesas-intc-irqpin.c index 542e850f4946..078cac5e2d08 100644 --- a/drivers/irqchip/irq-renesas-intc-irqpin.c +++ b/drivers/irqchip/irq-renesas-intc-irqpin.c | |||
@@ -562,7 +562,6 @@ static struct platform_driver intc_irqpin_device_driver = { | |||
562 | .driver = { | 562 | .driver = { |
563 | .name = "renesas_intc_irqpin", | 563 | .name = "renesas_intc_irqpin", |
564 | .of_match_table = intc_irqpin_dt_ids, | 564 | .of_match_table = intc_irqpin_dt_ids, |
565 | .owner = THIS_MODULE, | ||
566 | } | 565 | } |
567 | }; | 566 | }; |
568 | 567 | ||
diff --git a/drivers/irqchip/irq-renesas-irqc.c b/drivers/irqchip/irq-renesas-irqc.c index 8777065012a5..384e6ed61d7c 100644 --- a/drivers/irqchip/irq-renesas-irqc.c +++ b/drivers/irqchip/irq-renesas-irqc.c | |||
@@ -281,7 +281,6 @@ static struct platform_driver irqc_device_driver = { | |||
281 | .driver = { | 281 | .driver = { |
282 | .name = "renesas_irqc", | 282 | .name = "renesas_irqc", |
283 | .of_match_table = irqc_dt_ids, | 283 | .of_match_table = irqc_dt_ids, |
284 | .owner = THIS_MODULE, | ||
285 | } | 284 | } |
286 | }; | 285 | }; |
287 | 286 | ||
diff --git a/drivers/leds/leds-88pm860x.c b/drivers/leds/leds-88pm860x.c index c2def5551ce1..1497a09166d6 100644 --- a/drivers/leds/leds-88pm860x.c +++ b/drivers/leds/leds-88pm860x.c | |||
@@ -237,7 +237,6 @@ static int pm860x_led_remove(struct platform_device *pdev) | |||
237 | static struct platform_driver pm860x_led_driver = { | 237 | static struct platform_driver pm860x_led_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = "88pm860x-led", | 239 | .name = "88pm860x-led", |
240 | .owner = THIS_MODULE, | ||
241 | }, | 240 | }, |
242 | .probe = pm860x_led_probe, | 241 | .probe = pm860x_led_probe, |
243 | .remove = pm860x_led_remove, | 242 | .remove = pm860x_led_remove, |
diff --git a/drivers/leds/leds-adp5520.c b/drivers/leds/leds-adp5520.c index 5036d7b4f82e..07e66cae32d3 100644 --- a/drivers/leds/leds-adp5520.c +++ b/drivers/leds/leds-adp5520.c | |||
@@ -201,7 +201,6 @@ static int adp5520_led_remove(struct platform_device *pdev) | |||
201 | static struct platform_driver adp5520_led_driver = { | 201 | static struct platform_driver adp5520_led_driver = { |
202 | .driver = { | 202 | .driver = { |
203 | .name = "adp5520-led", | 203 | .name = "adp5520-led", |
204 | .owner = THIS_MODULE, | ||
205 | }, | 204 | }, |
206 | .probe = adp5520_led_probe, | 205 | .probe = adp5520_led_probe, |
207 | .remove = adp5520_led_remove, | 206 | .remove = adp5520_led_remove, |
diff --git a/drivers/leds/leds-asic3.c b/drivers/leds/leds-asic3.c index 70c74a7f0dfe..1b71eac639f0 100644 --- a/drivers/leds/leds-asic3.c +++ b/drivers/leds/leds-asic3.c | |||
@@ -168,7 +168,6 @@ static struct platform_driver asic3_led_driver = { | |||
168 | .remove = asic3_led_remove, | 168 | .remove = asic3_led_remove, |
169 | .driver = { | 169 | .driver = { |
170 | .name = "leds-asic3", | 170 | .name = "leds-asic3", |
171 | .owner = THIS_MODULE, | ||
172 | .pm = &asic3_led_pm_ops, | 171 | .pm = &asic3_led_pm_ops, |
173 | }, | 172 | }, |
174 | }; | 173 | }; |
diff --git a/drivers/leds/leds-clevo-mail.c b/drivers/leds/leds-clevo-mail.c index f58a354428e3..0f9ed1ea0e89 100644 --- a/drivers/leds/leds-clevo-mail.c +++ b/drivers/leds/leds-clevo-mail.c | |||
@@ -168,7 +168,6 @@ static struct platform_driver clevo_mail_led_driver = { | |||
168 | .remove = clevo_mail_led_remove, | 168 | .remove = clevo_mail_led_remove, |
169 | .driver = { | 169 | .driver = { |
170 | .name = KBUILD_MODNAME, | 170 | .name = KBUILD_MODNAME, |
171 | .owner = THIS_MODULE, | ||
172 | }, | 171 | }, |
173 | }; | 172 | }; |
174 | 173 | ||
diff --git a/drivers/leds/leds-cobalt-qube.c b/drivers/leds/leds-cobalt-qube.c index 910339d86edf..d97522080491 100644 --- a/drivers/leds/leds-cobalt-qube.c +++ b/drivers/leds/leds-cobalt-qube.c | |||
@@ -76,7 +76,6 @@ static struct platform_driver cobalt_qube_led_driver = { | |||
76 | .remove = cobalt_qube_led_remove, | 76 | .remove = cobalt_qube_led_remove, |
77 | .driver = { | 77 | .driver = { |
78 | .name = "cobalt-qube-leds", | 78 | .name = "cobalt-qube-leds", |
79 | .owner = THIS_MODULE, | ||
80 | }, | 79 | }, |
81 | }; | 80 | }; |
82 | 81 | ||
diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c index 001088b31373..06dbe18a2065 100644 --- a/drivers/leds/leds-cobalt-raq.c +++ b/drivers/leds/leds-cobalt-raq.c | |||
@@ -124,7 +124,6 @@ static struct platform_driver cobalt_raq_led_driver = { | |||
124 | .remove = cobalt_raq_led_remove, | 124 | .remove = cobalt_raq_led_remove, |
125 | .driver = { | 125 | .driver = { |
126 | .name = "cobalt-raq-leds", | 126 | .name = "cobalt-raq-leds", |
127 | .owner = THIS_MODULE, | ||
128 | }, | 127 | }, |
129 | }; | 128 | }; |
130 | 129 | ||
diff --git a/drivers/leds/leds-da903x.c b/drivers/leds/leds-da903x.c index 54b8b5216b8b..952ba96e5b38 100644 --- a/drivers/leds/leds-da903x.c +++ b/drivers/leds/leds-da903x.c | |||
@@ -144,7 +144,6 @@ static int da903x_led_remove(struct platform_device *pdev) | |||
144 | static struct platform_driver da903x_led_driver = { | 144 | static struct platform_driver da903x_led_driver = { |
145 | .driver = { | 145 | .driver = { |
146 | .name = "da903x-led", | 146 | .name = "da903x-led", |
147 | .owner = THIS_MODULE, | ||
148 | }, | 147 | }, |
149 | .probe = da903x_led_probe, | 148 | .probe = da903x_led_probe, |
150 | .remove = da903x_led_remove, | 149 | .remove = da903x_led_remove, |
diff --git a/drivers/leds/leds-da9052.c b/drivers/leds/leds-da9052.c index e4da1f460ac5..28291b6acc8e 100644 --- a/drivers/leds/leds-da9052.c +++ b/drivers/leds/leds-da9052.c | |||
@@ -199,7 +199,6 @@ static int da9052_led_remove(struct platform_device *pdev) | |||
199 | static struct platform_driver da9052_led_driver = { | 199 | static struct platform_driver da9052_led_driver = { |
200 | .driver = { | 200 | .driver = { |
201 | .name = "da9052-leds", | 201 | .name = "da9052-leds", |
202 | .owner = THIS_MODULE, | ||
203 | }, | 202 | }, |
204 | .probe = da9052_led_probe, | 203 | .probe = da9052_led_probe, |
205 | .remove = da9052_led_remove, | 204 | .remove = da9052_led_remove, |
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index b4518c8751c8..ac4768f2b2b4 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver gpio_led_driver = { | |||
287 | .remove = gpio_led_remove, | 287 | .remove = gpio_led_remove, |
288 | .driver = { | 288 | .driver = { |
289 | .name = "leds-gpio", | 289 | .name = "leds-gpio", |
290 | .owner = THIS_MODULE, | ||
291 | .of_match_table = of_match_ptr(of_gpio_leds_match), | 290 | .of_match_table = of_match_ptr(of_gpio_leds_match), |
292 | }, | 291 | }, |
293 | }; | 292 | }; |
diff --git a/drivers/leds/leds-hp6xx.c b/drivers/leds/leds-hp6xx.c index d61a98896c71..0b84c0113126 100644 --- a/drivers/leds/leds-hp6xx.c +++ b/drivers/leds/leds-hp6xx.c | |||
@@ -83,7 +83,6 @@ static struct platform_driver hp6xxled_driver = { | |||
83 | .remove = hp6xxled_remove, | 83 | .remove = hp6xxled_remove, |
84 | .driver = { | 84 | .driver = { |
85 | .name = "hp6xx-led", | 85 | .name = "hp6xx-led", |
86 | .owner = THIS_MODULE, | ||
87 | }, | 86 | }, |
88 | }; | 87 | }; |
89 | 88 | ||
diff --git a/drivers/leds/leds-lm3533.c b/drivers/leds/leds-lm3533.c index cbf61a40137d..6e2e02035dd7 100644 --- a/drivers/leds/leds-lm3533.c +++ b/drivers/leds/leds-lm3533.c | |||
@@ -766,7 +766,6 @@ static void lm3533_led_shutdown(struct platform_device *pdev) | |||
766 | static struct platform_driver lm3533_led_driver = { | 766 | static struct platform_driver lm3533_led_driver = { |
767 | .driver = { | 767 | .driver = { |
768 | .name = "lm3533-leds", | 768 | .name = "lm3533-leds", |
769 | .owner = THIS_MODULE, | ||
770 | }, | 769 | }, |
771 | .probe = lm3533_led_probe, | 770 | .probe = lm3533_led_probe, |
772 | .remove = lm3533_led_remove, | 771 | .remove = lm3533_led_remove, |
diff --git a/drivers/leds/leds-lp8788.c b/drivers/leds/leds-lp8788.c index 7c2cb384e7ae..3409f03c1fa8 100644 --- a/drivers/leds/leds-lp8788.c +++ b/drivers/leds/leds-lp8788.c | |||
@@ -183,7 +183,6 @@ static struct platform_driver lp8788_led_driver = { | |||
183 | .remove = lp8788_led_remove, | 183 | .remove = lp8788_led_remove, |
184 | .driver = { | 184 | .driver = { |
185 | .name = LP8788_DEV_KEYLED, | 185 | .name = LP8788_DEV_KEYLED, |
186 | .owner = THIS_MODULE, | ||
187 | }, | 186 | }, |
188 | }; | 187 | }; |
189 | module_platform_driver(lp8788_led_driver); | 188 | module_platform_driver(lp8788_led_driver); |
diff --git a/drivers/leds/leds-lt3593.c b/drivers/leds/leds-lt3593.c index 059f5b1f3553..9f41124765cc 100644 --- a/drivers/leds/leds-lt3593.c +++ b/drivers/leds/leds-lt3593.c | |||
@@ -184,7 +184,6 @@ static struct platform_driver lt3593_led_driver = { | |||
184 | .remove = lt3593_led_remove, | 184 | .remove = lt3593_led_remove, |
185 | .driver = { | 185 | .driver = { |
186 | .name = "leds-lt3593", | 186 | .name = "leds-lt3593", |
187 | .owner = THIS_MODULE, | ||
188 | }, | 187 | }, |
189 | }; | 188 | }; |
190 | 189 | ||
diff --git a/drivers/leds/leds-max8997.c b/drivers/leds/leds-max8997.c index 607bc2755aba..c592aa5662bb 100644 --- a/drivers/leds/leds-max8997.c +++ b/drivers/leds/leds-max8997.c | |||
@@ -303,7 +303,6 @@ static int max8997_led_remove(struct platform_device *pdev) | |||
303 | static struct platform_driver max8997_led_driver = { | 303 | static struct platform_driver max8997_led_driver = { |
304 | .driver = { | 304 | .driver = { |
305 | .name = "max8997-led", | 305 | .name = "max8997-led", |
306 | .owner = THIS_MODULE, | ||
307 | }, | 306 | }, |
308 | .probe = max8997_led_probe, | 307 | .probe = max8997_led_probe, |
309 | .remove = max8997_led_remove, | 308 | .remove = max8997_led_remove, |
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index f1db88e25138..85c3714e1b5a 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c | |||
@@ -325,7 +325,6 @@ MODULE_DEVICE_TABLE(platform, mc13xxx_led_id_table); | |||
325 | static struct platform_driver mc13xxx_led_driver = { | 325 | static struct platform_driver mc13xxx_led_driver = { |
326 | .driver = { | 326 | .driver = { |
327 | .name = "mc13xxx-led", | 327 | .name = "mc13xxx-led", |
328 | .owner = THIS_MODULE, | ||
329 | }, | 328 | }, |
330 | .remove = mc13xxx_led_remove, | 329 | .remove = mc13xxx_led_remove, |
331 | .id_table = mc13xxx_led_id_table, | 330 | .id_table = mc13xxx_led_id_table, |
diff --git a/drivers/leds/leds-menf21bmc.c b/drivers/leds/leds-menf21bmc.c index 89dd57769e3b..4b9eea815b1a 100644 --- a/drivers/leds/leds-menf21bmc.c +++ b/drivers/leds/leds-menf21bmc.c | |||
@@ -119,7 +119,6 @@ static struct platform_driver menf21bmc_led = { | |||
119 | .remove = menf21bmc_led_remove, | 119 | .remove = menf21bmc_led_remove, |
120 | .driver = { | 120 | .driver = { |
121 | .name = "menf21bmc_led", | 121 | .name = "menf21bmc_led", |
122 | .owner = THIS_MODULE, | ||
123 | }, | 122 | }, |
124 | }; | 123 | }; |
125 | 124 | ||
diff --git a/drivers/leds/leds-net48xx.c b/drivers/leds/leds-net48xx.c index 27d06c528246..ec3a2e8adcae 100644 --- a/drivers/leds/leds-net48xx.c +++ b/drivers/leds/leds-net48xx.c | |||
@@ -53,7 +53,6 @@ static struct platform_driver net48xx_led_driver = { | |||
53 | .remove = net48xx_led_remove, | 53 | .remove = net48xx_led_remove, |
54 | .driver = { | 54 | .driver = { |
55 | .name = DRVNAME, | 55 | .name = DRVNAME, |
56 | .owner = THIS_MODULE, | ||
57 | }, | 56 | }, |
58 | }; | 57 | }; |
59 | 58 | ||
diff --git a/drivers/leds/leds-netxbig.c b/drivers/leds/leds-netxbig.c index 64fde485dcaa..26515c27ea8c 100644 --- a/drivers/leds/leds-netxbig.c +++ b/drivers/leds/leds-netxbig.c | |||
@@ -404,7 +404,6 @@ static struct platform_driver netxbig_led_driver = { | |||
404 | .remove = netxbig_led_remove, | 404 | .remove = netxbig_led_remove, |
405 | .driver = { | 405 | .driver = { |
406 | .name = "leds-netxbig", | 406 | .name = "leds-netxbig", |
407 | .owner = THIS_MODULE, | ||
408 | }, | 407 | }, |
409 | }; | 408 | }; |
410 | 409 | ||
diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c index 231993d1fe21..1fd6adbb43b7 100644 --- a/drivers/leds/leds-ns2.c +++ b/drivers/leds/leds-ns2.c | |||
@@ -380,7 +380,6 @@ static struct platform_driver ns2_led_driver = { | |||
380 | .remove = ns2_led_remove, | 380 | .remove = ns2_led_remove, |
381 | .driver = { | 381 | .driver = { |
382 | .name = "leds-ns2", | 382 | .name = "leds-ns2", |
383 | .owner = THIS_MODULE, | ||
384 | .of_match_table = of_match_ptr(of_ns2_leds_match), | 383 | .of_match_table = of_match_ptr(of_ns2_leds_match), |
385 | }, | 384 | }, |
386 | }; | 385 | }; |
diff --git a/drivers/leds/leds-ot200.c b/drivers/leds/leds-ot200.c index c9d906098466..39870de20a26 100644 --- a/drivers/leds/leds-ot200.c +++ b/drivers/leds/leds-ot200.c | |||
@@ -158,7 +158,6 @@ static struct platform_driver ot200_led_driver = { | |||
158 | .remove = ot200_led_remove, | 158 | .remove = ot200_led_remove, |
159 | .driver = { | 159 | .driver = { |
160 | .name = "leds-ot200", | 160 | .name = "leds-ot200", |
161 | .owner = THIS_MODULE, | ||
162 | }, | 161 | }, |
163 | }; | 162 | }; |
164 | 163 | ||
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index d672bb4480f6..f668500a2157 100644 --- a/drivers/leds/leds-pwm.c +++ b/drivers/leds/leds-pwm.c | |||
@@ -232,7 +232,6 @@ static struct platform_driver led_pwm_driver = { | |||
232 | .remove = led_pwm_remove, | 232 | .remove = led_pwm_remove, |
233 | .driver = { | 233 | .driver = { |
234 | .name = "leds_pwm", | 234 | .name = "leds_pwm", |
235 | .owner = THIS_MODULE, | ||
236 | .of_match_table = of_pwm_leds_match, | 235 | .of_match_table = of_pwm_leds_match, |
237 | }, | 236 | }, |
238 | }; | 237 | }; |
diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c index 2e746d257b02..fcd1215b64a2 100644 --- a/drivers/leds/leds-rb532.c +++ b/drivers/leds/leds-rb532.c | |||
@@ -53,7 +53,6 @@ static struct platform_driver rb532_led_driver = { | |||
53 | .remove = rb532_led_remove, | 53 | .remove = rb532_led_remove, |
54 | .driver = { | 54 | .driver = { |
55 | .name = "rb532-led", | 55 | .name = "rb532-led", |
56 | .owner = THIS_MODULE, | ||
57 | }, | 56 | }, |
58 | }; | 57 | }; |
59 | 58 | ||
diff --git a/drivers/leds/leds-regulator.c b/drivers/leds/leds-regulator.c index 358430db6e66..fa1126f12063 100644 --- a/drivers/leds/leds-regulator.c +++ b/drivers/leds/leds-regulator.c | |||
@@ -221,7 +221,6 @@ static int regulator_led_remove(struct platform_device *pdev) | |||
221 | static struct platform_driver regulator_led_driver = { | 221 | static struct platform_driver regulator_led_driver = { |
222 | .driver = { | 222 | .driver = { |
223 | .name = "leds-regulator", | 223 | .name = "leds-regulator", |
224 | .owner = THIS_MODULE, | ||
225 | }, | 224 | }, |
226 | .probe = regulator_led_probe, | 225 | .probe = regulator_led_probe, |
227 | .remove = regulator_led_remove, | 226 | .remove = regulator_led_remove, |
diff --git a/drivers/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c index 785eb53a87fc..83641a7b299a 100644 --- a/drivers/leds/leds-s3c24xx.c +++ b/drivers/leds/leds-s3c24xx.c | |||
@@ -116,7 +116,6 @@ static struct platform_driver s3c24xx_led_driver = { | |||
116 | .remove = s3c24xx_led_remove, | 116 | .remove = s3c24xx_led_remove, |
117 | .driver = { | 117 | .driver = { |
118 | .name = "s3c24xx_led", | 118 | .name = "s3c24xx_led", |
119 | .owner = THIS_MODULE, | ||
120 | }, | 119 | }, |
121 | }; | 120 | }; |
122 | 121 | ||
diff --git a/drivers/leds/leds-sunfire.c b/drivers/leds/leds-sunfire.c index 0b8cc4a021a6..c2553c54f2cf 100644 --- a/drivers/leds/leds-sunfire.c +++ b/drivers/leds/leds-sunfire.c | |||
@@ -223,7 +223,6 @@ static struct platform_driver sunfire_clockboard_led_driver = { | |||
223 | .remove = sunfire_led_generic_remove, | 223 | .remove = sunfire_led_generic_remove, |
224 | .driver = { | 224 | .driver = { |
225 | .name = "sunfire-clockboard-leds", | 225 | .name = "sunfire-clockboard-leds", |
226 | .owner = THIS_MODULE, | ||
227 | }, | 226 | }, |
228 | }; | 227 | }; |
229 | 228 | ||
@@ -232,7 +231,6 @@ static struct platform_driver sunfire_fhc_led_driver = { | |||
232 | .remove = sunfire_led_generic_remove, | 231 | .remove = sunfire_led_generic_remove, |
233 | .driver = { | 232 | .driver = { |
234 | .name = "sunfire-fhc-leds", | 233 | .name = "sunfire-fhc-leds", |
235 | .owner = THIS_MODULE, | ||
236 | }, | 234 | }, |
237 | }; | 235 | }; |
238 | 236 | ||
diff --git a/drivers/leds/leds-wm831x-status.c b/drivers/leds/leds-wm831x-status.c index 1b71e0701002..56027ef7c7e8 100644 --- a/drivers/leds/leds-wm831x-status.c +++ b/drivers/leds/leds-wm831x-status.c | |||
@@ -312,7 +312,6 @@ static int wm831x_status_remove(struct platform_device *pdev) | |||
312 | static struct platform_driver wm831x_status_driver = { | 312 | static struct platform_driver wm831x_status_driver = { |
313 | .driver = { | 313 | .driver = { |
314 | .name = "wm831x-status", | 314 | .name = "wm831x-status", |
315 | .owner = THIS_MODULE, | ||
316 | }, | 315 | }, |
317 | .probe = wm831x_status_probe, | 316 | .probe = wm831x_status_probe, |
318 | .remove = wm831x_status_remove, | 317 | .remove = wm831x_status_remove, |
diff --git a/drivers/leds/leds-wm8350.c b/drivers/leds/leds-wm8350.c index 4133ffe29015..0d121835673f 100644 --- a/drivers/leds/leds-wm8350.c +++ b/drivers/leds/leds-wm8350.c | |||
@@ -272,7 +272,6 @@ static int wm8350_led_remove(struct platform_device *pdev) | |||
272 | static struct platform_driver wm8350_led_driver = { | 272 | static struct platform_driver wm8350_led_driver = { |
273 | .driver = { | 273 | .driver = { |
274 | .name = "wm8350-led", | 274 | .name = "wm8350-led", |
275 | .owner = THIS_MODULE, | ||
276 | }, | 275 | }, |
277 | .probe = wm8350_led_probe, | 276 | .probe = wm8350_led_probe, |
278 | .remove = wm8350_led_remove, | 277 | .remove = wm8350_led_remove, |
diff --git a/drivers/leds/leds-wrap.c b/drivers/leds/leds-wrap.c index b358cc05eff5..1ba3defdd460 100644 --- a/drivers/leds/leds-wrap.c +++ b/drivers/leds/leds-wrap.c | |||
@@ -111,7 +111,6 @@ static struct platform_driver wrap_led_driver = { | |||
111 | .remove = wrap_led_remove, | 111 | .remove = wrap_led_remove, |
112 | .driver = { | 112 | .driver = { |
113 | .name = DRVNAME, | 113 | .name = DRVNAME, |
114 | .owner = THIS_MODULE, | ||
115 | }, | 114 | }, |
116 | }; | 115 | }; |
117 | 116 | ||
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 4eab93aa570b..10ae69bcbbd2 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver = | |||
667 | { | 667 | { |
668 | .driver = { | 668 | .driver = { |
669 | .name = "smu", | 669 | .name = "smu", |
670 | .owner = THIS_MODULE, | ||
671 | .of_match_table = smu_platform_match, | 670 | .of_match_table = smu_platform_match, |
672 | }, | 671 | }, |
673 | .probe = smu_platform_probe, | 672 | .probe = smu_platform_probe, |
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index 97cfc5ac9fd0..7ed92582d2cf 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c | |||
@@ -2243,7 +2243,6 @@ static struct platform_driver fcu_of_platform_driver = | |||
2243 | { | 2243 | { |
2244 | .driver = { | 2244 | .driver = { |
2245 | .name = "temperature", | 2245 | .name = "temperature", |
2246 | .owner = THIS_MODULE, | ||
2247 | .of_match_table = fcu_match, | 2246 | .of_match_table = fcu_match, |
2248 | }, | 2247 | }, |
2249 | .probe = fcu_of_probe, | 2248 | .probe = fcu_of_probe, |
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index 3b4a157714b1..109dcaa15934 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -463,7 +463,6 @@ static const struct of_device_id therm_of_match[] = {{ | |||
463 | static struct platform_driver therm_of_driver = { | 463 | static struct platform_driver therm_of_driver = { |
464 | .driver = { | 464 | .driver = { |
465 | .name = "temperature", | 465 | .name = "temperature", |
466 | .owner = THIS_MODULE, | ||
467 | .of_match_table = therm_of_match, | 466 | .of_match_table = therm_of_match, |
468 | }, | 467 | }, |
469 | .probe = therm_of_probe, | 468 | .probe = therm_of_probe, |
diff --git a/drivers/macintosh/windfarm_pm81.c b/drivers/macintosh/windfarm_pm81.c index 2a5e1b15b1d2..93faf298a3c5 100644 --- a/drivers/macintosh/windfarm_pm81.c +++ b/drivers/macintosh/windfarm_pm81.c | |||
@@ -770,7 +770,6 @@ static struct platform_driver wf_smu_driver = { | |||
770 | .remove = wf_smu_remove, | 770 | .remove = wf_smu_remove, |
771 | .driver = { | 771 | .driver = { |
772 | .name = "windfarm", | 772 | .name = "windfarm", |
773 | .owner = THIS_MODULE, | ||
774 | }, | 773 | }, |
775 | }; | 774 | }; |
776 | 775 | ||
diff --git a/drivers/macintosh/windfarm_pm91.c b/drivers/macintosh/windfarm_pm91.c index a8ac66cd3b13..81fdf40c5b82 100644 --- a/drivers/macintosh/windfarm_pm91.c +++ b/drivers/macintosh/windfarm_pm91.c | |||
@@ -699,7 +699,6 @@ static struct platform_driver wf_smu_driver = { | |||
699 | .remove = wf_smu_remove, | 699 | .remove = wf_smu_remove, |
700 | .driver = { | 700 | .driver = { |
701 | .name = "windfarm", | 701 | .name = "windfarm", |
702 | .owner = THIS_MODULE, | ||
703 | }, | 702 | }, |
704 | }; | 703 | }; |
705 | 704 | ||
diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c index bcc7ee129276..42978c4b63fc 100644 --- a/drivers/mailbox/omap-mailbox.c +++ b/drivers/mailbox/omap-mailbox.c | |||
@@ -814,7 +814,6 @@ static struct platform_driver omap_mbox_driver = { | |||
814 | .remove = omap_mbox_remove, | 814 | .remove = omap_mbox_remove, |
815 | .driver = { | 815 | .driver = { |
816 | .name = "omap-mailbox", | 816 | .name = "omap-mailbox", |
817 | .owner = THIS_MODULE, | ||
818 | .of_match_table = of_match_ptr(omap_mailbox_of_match), | 817 | .of_match_table = of_match_ptr(omap_mailbox_of_match), |
819 | }, | 818 | }, |
820 | }; | 819 | }; |
diff --git a/drivers/media/platform/blackfin/bfin_capture.c b/drivers/media/platform/blackfin/bfin_capture.c index 9b5daa65841c..8c1dca2f7728 100644 --- a/drivers/media/platform/blackfin/bfin_capture.c +++ b/drivers/media/platform/blackfin/bfin_capture.c | |||
@@ -1130,7 +1130,6 @@ static int bcap_remove(struct platform_device *pdev) | |||
1130 | static struct platform_driver bcap_driver = { | 1130 | static struct platform_driver bcap_driver = { |
1131 | .driver = { | 1131 | .driver = { |
1132 | .name = CAPTURE_DRV_NAME, | 1132 | .name = CAPTURE_DRV_NAME, |
1133 | .owner = THIS_MODULE, | ||
1134 | }, | 1133 | }, |
1135 | .probe = bcap_probe, | 1134 | .probe = bcap_probe, |
1136 | .remove = bcap_remove, | 1135 | .remove = bcap_remove, |
diff --git a/drivers/media/platform/coda/coda-common.c b/drivers/media/platform/coda/coda-common.c index ced47609f5ef..5faf7b6b502a 100644 --- a/drivers/media/platform/coda/coda-common.c +++ b/drivers/media/platform/coda/coda-common.c | |||
@@ -2038,7 +2038,6 @@ static struct platform_driver coda_driver = { | |||
2038 | .remove = coda_remove, | 2038 | .remove = coda_remove, |
2039 | .driver = { | 2039 | .driver = { |
2040 | .name = CODA_NAME, | 2040 | .name = CODA_NAME, |
2041 | .owner = THIS_MODULE, | ||
2042 | .of_match_table = of_match_ptr(coda_dt_ids), | 2041 | .of_match_table = of_match_ptr(coda_dt_ids), |
2043 | .pm = &coda_pm_ops, | 2042 | .pm = &coda_pm_ops, |
2044 | }, | 2043 | }, |
diff --git a/drivers/media/platform/davinci/dm355_ccdc.c b/drivers/media/platform/davinci/dm355_ccdc.c index 3f44deb5b7a7..c90b9a4f0c24 100644 --- a/drivers/media/platform/davinci/dm355_ccdc.c +++ b/drivers/media/platform/davinci/dm355_ccdc.c | |||
@@ -1030,7 +1030,6 @@ static int dm355_ccdc_remove(struct platform_device *pdev) | |||
1030 | static struct platform_driver dm355_ccdc_driver = { | 1030 | static struct platform_driver dm355_ccdc_driver = { |
1031 | .driver = { | 1031 | .driver = { |
1032 | .name = "dm355_ccdc", | 1032 | .name = "dm355_ccdc", |
1033 | .owner = THIS_MODULE, | ||
1034 | }, | 1033 | }, |
1035 | .remove = dm355_ccdc_remove, | 1034 | .remove = dm355_ccdc_remove, |
1036 | .probe = dm355_ccdc_probe, | 1035 | .probe = dm355_ccdc_probe, |
diff --git a/drivers/media/platform/davinci/dm644x_ccdc.c b/drivers/media/platform/davinci/dm644x_ccdc.c index 62a0ebb01056..ffbefdff6b5e 100644 --- a/drivers/media/platform/davinci/dm644x_ccdc.c +++ b/drivers/media/platform/davinci/dm644x_ccdc.c | |||
@@ -1029,7 +1029,6 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = { | |||
1029 | static struct platform_driver dm644x_ccdc_driver = { | 1029 | static struct platform_driver dm644x_ccdc_driver = { |
1030 | .driver = { | 1030 | .driver = { |
1031 | .name = "dm644x_ccdc", | 1031 | .name = "dm644x_ccdc", |
1032 | .owner = THIS_MODULE, | ||
1033 | .pm = &dm644x_ccdc_pm_ops, | 1032 | .pm = &dm644x_ccdc_pm_ops, |
1034 | }, | 1033 | }, |
1035 | .remove = dm644x_ccdc_remove, | 1034 | .remove = dm644x_ccdc_remove, |
diff --git a/drivers/media/platform/davinci/isif.c b/drivers/media/platform/davinci/isif.c index 3332cca632e5..99faea2e84c6 100644 --- a/drivers/media/platform/davinci/isif.c +++ b/drivers/media/platform/davinci/isif.c | |||
@@ -1134,7 +1134,6 @@ static int isif_remove(struct platform_device *pdev) | |||
1134 | static struct platform_driver isif_driver = { | 1134 | static struct platform_driver isif_driver = { |
1135 | .driver = { | 1135 | .driver = { |
1136 | .name = "isif", | 1136 | .name = "isif", |
1137 | .owner = THIS_MODULE, | ||
1138 | }, | 1137 | }, |
1139 | .remove = isif_remove, | 1138 | .remove = isif_remove, |
1140 | .probe = isif_probe, | 1139 | .probe = isif_probe, |
diff --git a/drivers/media/platform/davinci/vpbe.c b/drivers/media/platform/davinci/vpbe.c index 33b9660b7f77..338cf6ba76dc 100644 --- a/drivers/media/platform/davinci/vpbe.c +++ b/drivers/media/platform/davinci/vpbe.c | |||
@@ -863,7 +863,6 @@ static int vpbe_remove(struct platform_device *device) | |||
863 | static struct platform_driver vpbe_driver = { | 863 | static struct platform_driver vpbe_driver = { |
864 | .driver = { | 864 | .driver = { |
865 | .name = "vpbe_controller", | 865 | .name = "vpbe_controller", |
866 | .owner = THIS_MODULE, | ||
867 | }, | 866 | }, |
868 | .probe = vpbe_probe, | 867 | .probe = vpbe_probe, |
869 | .remove = vpbe_remove, | 868 | .remove = vpbe_remove, |
diff --git a/drivers/media/platform/davinci/vpbe_display.c b/drivers/media/platform/davinci/vpbe_display.c index 73496d953ba0..c39b83c2475f 100644 --- a/drivers/media/platform/davinci/vpbe_display.c +++ b/drivers/media/platform/davinci/vpbe_display.c | |||
@@ -1843,7 +1843,6 @@ static int vpbe_display_remove(struct platform_device *pdev) | |||
1843 | static struct platform_driver vpbe_display_driver = { | 1843 | static struct platform_driver vpbe_display_driver = { |
1844 | .driver = { | 1844 | .driver = { |
1845 | .name = VPBE_DISPLAY_DRIVER, | 1845 | .name = VPBE_DISPLAY_DRIVER, |
1846 | .owner = THIS_MODULE, | ||
1847 | .bus = &platform_bus_type, | 1846 | .bus = &platform_bus_type, |
1848 | }, | 1847 | }, |
1849 | .probe = vpbe_display_probe, | 1848 | .probe = vpbe_display_probe, |
diff --git a/drivers/media/platform/davinci/vpbe_osd.c b/drivers/media/platform/davinci/vpbe_osd.c index d053c2669c1f..7d96a4b13b32 100644 --- a/drivers/media/platform/davinci/vpbe_osd.c +++ b/drivers/media/platform/davinci/vpbe_osd.c | |||
@@ -1585,7 +1585,6 @@ static struct platform_driver osd_driver = { | |||
1585 | .remove = osd_remove, | 1585 | .remove = osd_remove, |
1586 | .driver = { | 1586 | .driver = { |
1587 | .name = MODULE_NAME, | 1587 | .name = MODULE_NAME, |
1588 | .owner = THIS_MODULE, | ||
1589 | }, | 1588 | }, |
1590 | .id_table = vpbe_osd_devtype | 1589 | .id_table = vpbe_osd_devtype |
1591 | }; | 1590 | }; |
diff --git a/drivers/media/platform/davinci/vpbe_venc.c b/drivers/media/platform/davinci/vpbe_venc.c index 14a023a75d2d..36ed1466b290 100644 --- a/drivers/media/platform/davinci/vpbe_venc.c +++ b/drivers/media/platform/davinci/vpbe_venc.c | |||
@@ -687,7 +687,6 @@ static struct platform_driver venc_driver = { | |||
687 | .remove = venc_remove, | 687 | .remove = venc_remove, |
688 | .driver = { | 688 | .driver = { |
689 | .name = MODULE_NAME, | 689 | .name = MODULE_NAME, |
690 | .owner = THIS_MODULE, | ||
691 | }, | 690 | }, |
692 | .id_table = vpbe_venc_devtype | 691 | .id_table = vpbe_venc_devtype |
693 | }; | 692 | }; |
diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c index de55f47a77db..953b5c23c897 100644 --- a/drivers/media/platform/davinci/vpfe_capture.c +++ b/drivers/media/platform/davinci/vpfe_capture.c | |||
@@ -2031,7 +2031,6 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = { | |||
2031 | static struct platform_driver vpfe_driver = { | 2031 | static struct platform_driver vpfe_driver = { |
2032 | .driver = { | 2032 | .driver = { |
2033 | .name = CAPTURE_DRV_NAME, | 2033 | .name = CAPTURE_DRV_NAME, |
2034 | .owner = THIS_MODULE, | ||
2035 | .pm = &vpfe_dev_pm_ops, | 2034 | .pm = &vpfe_dev_pm_ops, |
2036 | }, | 2035 | }, |
2037 | .probe = vpfe_probe, | 2036 | .probe = vpfe_probe, |
diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform/davinci/vpif.c index 3dad5bd7fe0a..0380cf2e5775 100644 --- a/drivers/media/platform/davinci/vpif.c +++ b/drivers/media/platform/davinci/vpif.c | |||
@@ -467,7 +467,6 @@ static const struct dev_pm_ops vpif_pm = { | |||
467 | static struct platform_driver vpif_driver = { | 467 | static struct platform_driver vpif_driver = { |
468 | .driver = { | 468 | .driver = { |
469 | .name = "vpif", | 469 | .name = "vpif", |
470 | .owner = THIS_MODULE, | ||
471 | .pm = vpif_pm_ops, | 470 | .pm = vpif_pm_ops, |
472 | }, | 471 | }, |
473 | .remove = vpif_remove, | 472 | .remove = vpif_remove, |
diff --git a/drivers/media/platform/davinci/vpif_capture.c b/drivers/media/platform/davinci/vpif_capture.c index 3ccb26ff43c8..07f7452b5b72 100644 --- a/drivers/media/platform/davinci/vpif_capture.c +++ b/drivers/media/platform/davinci/vpif_capture.c | |||
@@ -1656,7 +1656,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume); | |||
1656 | static __refdata struct platform_driver vpif_driver = { | 1656 | static __refdata struct platform_driver vpif_driver = { |
1657 | .driver = { | 1657 | .driver = { |
1658 | .name = VPIF_DRIVER_NAME, | 1658 | .name = VPIF_DRIVER_NAME, |
1659 | .owner = THIS_MODULE, | ||
1660 | .pm = &vpif_pm_ops, | 1659 | .pm = &vpif_pm_ops, |
1661 | }, | 1660 | }, |
1662 | .probe = vpif_probe, | 1661 | .probe = vpif_probe, |
diff --git a/drivers/media/platform/davinci/vpif_display.c b/drivers/media/platform/davinci/vpif_display.c index 8d6ced56253c..839c24de1fd8 100644 --- a/drivers/media/platform/davinci/vpif_display.c +++ b/drivers/media/platform/davinci/vpif_display.c | |||
@@ -1459,7 +1459,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume); | |||
1459 | static __refdata struct platform_driver vpif_driver = { | 1459 | static __refdata struct platform_driver vpif_driver = { |
1460 | .driver = { | 1460 | .driver = { |
1461 | .name = VPIF_DRIVER_NAME, | 1461 | .name = VPIF_DRIVER_NAME, |
1462 | .owner = THIS_MODULE, | ||
1463 | .pm = &vpif_pm_ops, | 1462 | .pm = &vpif_pm_ops, |
1464 | }, | 1463 | }, |
1465 | .probe = vpif_probe, | 1464 | .probe = vpif_probe, |
diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c index 31120b4a4a33..fce86f17dffc 100644 --- a/drivers/media/platform/davinci/vpss.c +++ b/drivers/media/platform/davinci/vpss.c | |||
@@ -504,7 +504,6 @@ static const struct dev_pm_ops vpss_pm_ops = { | |||
504 | static struct platform_driver vpss_driver = { | 504 | static struct platform_driver vpss_driver = { |
505 | .driver = { | 505 | .driver = { |
506 | .name = "vpss", | 506 | .name = "vpss", |
507 | .owner = THIS_MODULE, | ||
508 | .pm = &vpss_pm_ops, | 507 | .pm = &vpss_pm_ops, |
509 | }, | 508 | }, |
510 | .remove = vpss_remove, | 509 | .remove = vpss_remove, |
diff --git a/drivers/media/platform/exynos-gsc/gsc-core.c b/drivers/media/platform/exynos-gsc/gsc-core.c index b4c9f1d08968..2640e9412998 100644 --- a/drivers/media/platform/exynos-gsc/gsc-core.c +++ b/drivers/media/platform/exynos-gsc/gsc-core.c | |||
@@ -1253,7 +1253,6 @@ static struct platform_driver gsc_driver = { | |||
1253 | .id_table = gsc_driver_ids, | 1253 | .id_table = gsc_driver_ids, |
1254 | .driver = { | 1254 | .driver = { |
1255 | .name = GSC_MODULE_NAME, | 1255 | .name = GSC_MODULE_NAME, |
1256 | .owner = THIS_MODULE, | ||
1257 | .pm = &gsc_pm_ops, | 1256 | .pm = &gsc_pm_ops, |
1258 | .of_match_table = exynos_gsc_match, | 1257 | .of_match_table = exynos_gsc_match, |
1259 | } | 1258 | } |
diff --git a/drivers/media/platform/exynos4-is/fimc-core.c b/drivers/media/platform/exynos4-is/fimc-core.c index aee92d908e49..fe4fd90735f5 100644 --- a/drivers/media/platform/exynos4-is/fimc-core.c +++ b/drivers/media/platform/exynos4-is/fimc-core.c | |||
@@ -1294,7 +1294,6 @@ static struct platform_driver fimc_driver = { | |||
1294 | .driver = { | 1294 | .driver = { |
1295 | .of_match_table = fimc_of_match, | 1295 | .of_match_table = fimc_of_match, |
1296 | .name = FIMC_DRIVER_NAME, | 1296 | .name = FIMC_DRIVER_NAME, |
1297 | .owner = THIS_MODULE, | ||
1298 | .pm = &fimc_pm_ops, | 1297 | .pm = &fimc_pm_ops, |
1299 | } | 1298 | } |
1300 | }; | 1299 | }; |
diff --git a/drivers/media/platform/exynos4-is/fimc-is-i2c.c b/drivers/media/platform/exynos4-is/fimc-is-i2c.c index 371cad4fcce9..25e635c9a0f4 100644 --- a/drivers/media/platform/exynos4-is/fimc-is-i2c.c +++ b/drivers/media/platform/exynos4-is/fimc-is-i2c.c | |||
@@ -133,7 +133,6 @@ static struct platform_driver fimc_is_i2c_driver = { | |||
133 | .driver = { | 133 | .driver = { |
134 | .of_match_table = fimc_is_i2c_of_match, | 134 | .of_match_table = fimc_is_i2c_of_match, |
135 | .name = "fimc-isp-i2c", | 135 | .name = "fimc-isp-i2c", |
136 | .owner = THIS_MODULE, | ||
137 | .pm = &fimc_is_i2c_pm_ops, | 136 | .pm = &fimc_is_i2c_pm_ops, |
138 | } | 137 | } |
139 | }; | 138 | }; |
diff --git a/drivers/media/platform/exynos4-is/fimc-is.c b/drivers/media/platform/exynos4-is/fimc-is.c index 22162b2567da..94c6b47d9717 100644 --- a/drivers/media/platform/exynos4-is/fimc-is.c +++ b/drivers/media/platform/exynos4-is/fimc-is.c | |||
@@ -962,7 +962,6 @@ static struct platform_driver fimc_is_driver = { | |||
962 | .driver = { | 962 | .driver = { |
963 | .of_match_table = fimc_is_of_match, | 963 | .of_match_table = fimc_is_of_match, |
964 | .name = FIMC_IS_DRV_NAME, | 964 | .name = FIMC_IS_DRV_NAME, |
965 | .owner = THIS_MODULE, | ||
966 | .pm = &fimc_is_pm_ops, | 965 | .pm = &fimc_is_pm_ops, |
967 | } | 966 | } |
968 | }; | 967 | }; |
diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c b/drivers/media/platform/exynos4-is/fimc-lite.c index a97d2352f1d7..65a58cd432a3 100644 --- a/drivers/media/platform/exynos4-is/fimc-lite.c +++ b/drivers/media/platform/exynos4-is/fimc-lite.c | |||
@@ -1720,7 +1720,6 @@ static struct platform_driver fimc_lite_driver = { | |||
1720 | .driver = { | 1720 | .driver = { |
1721 | .of_match_table = flite_of_match, | 1721 | .of_match_table = flite_of_match, |
1722 | .name = FIMC_LITE_DRV_NAME, | 1722 | .name = FIMC_LITE_DRV_NAME, |
1723 | .owner = THIS_MODULE, | ||
1724 | .pm = &fimc_lite_pm_ops, | 1723 | .pm = &fimc_lite_pm_ops, |
1725 | } | 1724 | } |
1726 | }; | 1725 | }; |
diff --git a/drivers/media/platform/exynos4-is/media-dev.c b/drivers/media/platform/exynos4-is/media-dev.c index 54c49d5e7690..f315ef946cd4 100644 --- a/drivers/media/platform/exynos4-is/media-dev.c +++ b/drivers/media/platform/exynos4-is/media-dev.c | |||
@@ -1469,7 +1469,6 @@ static struct platform_driver fimc_md_driver = { | |||
1469 | .driver = { | 1469 | .driver = { |
1470 | .of_match_table = of_match_ptr(fimc_md_of_match), | 1470 | .of_match_table = of_match_ptr(fimc_md_of_match), |
1471 | .name = "s5p-fimc-md", | 1471 | .name = "s5p-fimc-md", |
1472 | .owner = THIS_MODULE, | ||
1473 | } | 1472 | } |
1474 | }; | 1473 | }; |
1475 | 1474 | ||
diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c b/drivers/media/platform/exynos4-is/mipi-csis.c index db6fd14d1936..53a7415f17fb 100644 --- a/drivers/media/platform/exynos4-is/mipi-csis.c +++ b/drivers/media/platform/exynos4-is/mipi-csis.c | |||
@@ -1041,7 +1041,6 @@ static struct platform_driver s5pcsis_driver = { | |||
1041 | .driver = { | 1041 | .driver = { |
1042 | .of_match_table = s5pcsis_of_match, | 1042 | .of_match_table = s5pcsis_of_match, |
1043 | .name = CSIS_DRIVER_NAME, | 1043 | .name = CSIS_DRIVER_NAME, |
1044 | .owner = THIS_MODULE, | ||
1045 | .pm = &s5pcsis_pm_ops, | 1044 | .pm = &s5pcsis_pm_ops, |
1046 | }, | 1045 | }, |
1047 | }; | 1046 | }; |
diff --git a/drivers/media/platform/fsl-viu.c b/drivers/media/platform/fsl-viu.c index d5dc198502ef..e3e6024d62c3 100644 --- a/drivers/media/platform/fsl-viu.c +++ b/drivers/media/platform/fsl-viu.c | |||
@@ -1680,7 +1680,6 @@ static struct platform_driver viu_of_platform_driver = { | |||
1680 | #endif | 1680 | #endif |
1681 | .driver = { | 1681 | .driver = { |
1682 | .name = DRV_NAME, | 1682 | .name = DRV_NAME, |
1683 | .owner = THIS_MODULE, | ||
1684 | .of_match_table = mpc512x_viu_of_match, | 1683 | .of_match_table = mpc512x_viu_of_match, |
1685 | }, | 1684 | }, |
1686 | }; | 1685 | }; |
diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media/platform/m2m-deinterlace.c index d36c507a0ba2..b70c1aecca37 100644 --- a/drivers/media/platform/m2m-deinterlace.c +++ b/drivers/media/platform/m2m-deinterlace.c | |||
@@ -1101,7 +1101,6 @@ static struct platform_driver deinterlace_pdrv = { | |||
1101 | .remove = deinterlace_remove, | 1101 | .remove = deinterlace_remove, |
1102 | .driver = { | 1102 | .driver = { |
1103 | .name = MEM2MEM_NAME, | 1103 | .name = MEM2MEM_NAME, |
1104 | .owner = THIS_MODULE, | ||
1105 | }, | 1104 | }, |
1106 | }; | 1105 | }; |
1107 | module_platform_driver(deinterlace_pdrv); | 1106 | module_platform_driver(deinterlace_pdrv); |
diff --git a/drivers/media/platform/marvell-ccic/mmp-driver.c b/drivers/media/platform/marvell-ccic/mmp-driver.c index 054507f16734..0ed9b3adfcdf 100644 --- a/drivers/media/platform/marvell-ccic/mmp-driver.c +++ b/drivers/media/platform/marvell-ccic/mmp-driver.c | |||
@@ -512,7 +512,6 @@ static struct platform_driver mmpcam_driver = { | |||
512 | #endif | 512 | #endif |
513 | .driver = { | 513 | .driver = { |
514 | .name = "mmp-camera", | 514 | .name = "mmp-camera", |
515 | .owner = THIS_MODULE | ||
516 | } | 515 | } |
517 | }; | 516 | }; |
518 | 517 | ||
diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c index c1b03cfd6ded..b8c9677a7c70 100644 --- a/drivers/media/platform/mem2mem_testdev.c +++ b/drivers/media/platform/mem2mem_testdev.c | |||
@@ -1060,7 +1060,6 @@ static struct platform_driver m2mtest_pdrv = { | |||
1060 | .remove = m2mtest_remove, | 1060 | .remove = m2mtest_remove, |
1061 | .driver = { | 1061 | .driver = { |
1062 | .name = MEM2MEM_NAME, | 1062 | .name = MEM2MEM_NAME, |
1063 | .owner = THIS_MODULE, | ||
1064 | }, | 1063 | }, |
1065 | }; | 1064 | }; |
1066 | 1065 | ||
diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c index 4971ff21f82b..b4791f9f44ed 100644 --- a/drivers/media/platform/mx2_emmaprp.c +++ b/drivers/media/platform/mx2_emmaprp.c | |||
@@ -1010,7 +1010,6 @@ static struct platform_driver emmaprp_pdrv = { | |||
1010 | .remove = emmaprp_remove, | 1010 | .remove = emmaprp_remove, |
1011 | .driver = { | 1011 | .driver = { |
1012 | .name = MEM2MEM_NAME, | 1012 | .name = MEM2MEM_NAME, |
1013 | .owner = THIS_MODULE, | ||
1014 | }, | 1013 | }, |
1015 | }; | 1014 | }; |
1016 | module_platform_driver(emmaprp_pdrv); | 1015 | module_platform_driver(emmaprp_pdrv); |
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c index 72265e58ca60..51c2129bdcc6 100644 --- a/drivers/media/platform/omap3isp/isp.c +++ b/drivers/media/platform/omap3isp/isp.c | |||
@@ -2380,7 +2380,6 @@ static struct platform_driver omap3isp_driver = { | |||
2380 | .remove = isp_remove, | 2380 | .remove = isp_remove, |
2381 | .id_table = omap3isp_id_table, | 2381 | .id_table = omap3isp_id_table, |
2382 | .driver = { | 2382 | .driver = { |
2383 | .owner = THIS_MODULE, | ||
2384 | .name = "omap3isp", | 2383 | .name = "omap3isp", |
2385 | .pm = &omap3isp_pm_ops, | 2384 | .pm = &omap3isp_pm_ops, |
2386 | }, | 2385 | }, |
diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media/platform/s3c-camif/camif-core.c index b38574702fe9..e7163cad81cb 100644 --- a/drivers/media/platform/s3c-camif/camif-core.c +++ b/drivers/media/platform/s3c-camif/camif-core.c | |||
@@ -652,7 +652,6 @@ static struct platform_driver s3c_camif_driver = { | |||
652 | .id_table = s3c_camif_driver_ids, | 652 | .id_table = s3c_camif_driver_ids, |
653 | .driver = { | 653 | .driver = { |
654 | .name = S3C_CAMIF_DRIVER_NAME, | 654 | .name = S3C_CAMIF_DRIVER_NAME, |
655 | .owner = THIS_MODULE, | ||
656 | .pm = &s3c_camif_pm_ops, | 655 | .pm = &s3c_camif_pm_ops, |
657 | } | 656 | } |
658 | }; | 657 | }; |
diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c index d79e214ce8ce..ac98821082a2 100644 --- a/drivers/media/platform/s5p-g2d/g2d.c +++ b/drivers/media/platform/s5p-g2d/g2d.c | |||
@@ -812,7 +812,6 @@ static struct platform_driver g2d_pdrv = { | |||
812 | .id_table = g2d_driver_ids, | 812 | .id_table = g2d_driver_ids, |
813 | .driver = { | 813 | .driver = { |
814 | .name = G2D_NAME, | 814 | .name = G2D_NAME, |
815 | .owner = THIS_MODULE, | ||
816 | .of_match_table = exynos_g2d_match, | 815 | .of_match_table = exynos_g2d_match, |
817 | }, | 816 | }, |
818 | }; | 817 | }; |
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 6fcc7f072ace..d7571cd5abe8 100644 --- a/drivers/media/platform/s5p-jpeg/jpeg-core.c +++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c | |||
@@ -2768,7 +2768,6 @@ static struct platform_driver s5p_jpeg_driver = { | |||
2768 | .remove = s5p_jpeg_remove, | 2768 | .remove = s5p_jpeg_remove, |
2769 | .driver = { | 2769 | .driver = { |
2770 | .of_match_table = of_match_ptr(samsung_jpeg_match), | 2770 | .of_match_table = of_match_ptr(samsung_jpeg_match), |
2771 | .owner = THIS_MODULE, | ||
2772 | .name = S5P_JPEG_M2M_NAME, | 2771 | .name = S5P_JPEG_M2M_NAME, |
2773 | .pm = &s5p_jpeg_pm_ops, | 2772 | .pm = &s5p_jpeg_pm_ops, |
2774 | }, | 2773 | }, |
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c b/drivers/media/platform/s5p-mfc/s5p_mfc.c index 165bc86c5962..96fe33f0a045 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc.c | |||
@@ -1505,7 +1505,6 @@ static struct platform_driver s5p_mfc_driver = { | |||
1505 | .id_table = mfc_driver_ids, | 1505 | .id_table = mfc_driver_ids, |
1506 | .driver = { | 1506 | .driver = { |
1507 | .name = S5P_MFC_NAME, | 1507 | .name = S5P_MFC_NAME, |
1508 | .owner = THIS_MODULE, | ||
1509 | .pm = &s5p_mfc_pm_ops, | 1508 | .pm = &s5p_mfc_pm_ops, |
1510 | .of_match_table = exynos_mfc_match, | 1509 | .of_match_table = exynos_mfc_match, |
1511 | }, | 1510 | }, |
diff --git a/drivers/media/platform/s5p-tv/hdmi_drv.c b/drivers/media/platform/s5p-tv/hdmi_drv.c index 37c8bd694c5f..2b959ae4e62f 100644 --- a/drivers/media/platform/s5p-tv/hdmi_drv.c +++ b/drivers/media/platform/s5p-tv/hdmi_drv.c | |||
@@ -1046,7 +1046,6 @@ static struct platform_driver hdmi_driver __refdata = { | |||
1046 | .id_table = hdmi_driver_types, | 1046 | .id_table = hdmi_driver_types, |
1047 | .driver = { | 1047 | .driver = { |
1048 | .name = "s5p-hdmi", | 1048 | .name = "s5p-hdmi", |
1049 | .owner = THIS_MODULE, | ||
1050 | .pm = &hdmi_pm_ops, | 1049 | .pm = &hdmi_pm_ops, |
1051 | } | 1050 | } |
1052 | }; | 1051 | }; |
diff --git a/drivers/media/platform/s5p-tv/mixer_drv.c b/drivers/media/platform/s5p-tv/mixer_drv.c index bc08b5f28e44..2a9501d7e7c8 100644 --- a/drivers/media/platform/s5p-tv/mixer_drv.c +++ b/drivers/media/platform/s5p-tv/mixer_drv.c | |||
@@ -487,7 +487,6 @@ static struct platform_driver mxr_driver __refdata = { | |||
487 | .remove = mxr_remove, | 487 | .remove = mxr_remove, |
488 | .driver = { | 488 | .driver = { |
489 | .name = MXR_DRIVER_NAME, | 489 | .name = MXR_DRIVER_NAME, |
490 | .owner = THIS_MODULE, | ||
491 | .pm = &mxr_pm_ops, | 490 | .pm = &mxr_pm_ops, |
492 | } | 491 | } |
493 | }; | 492 | }; |
diff --git a/drivers/media/platform/s5p-tv/sdo_drv.c b/drivers/media/platform/s5p-tv/sdo_drv.c index 72cf892dd008..0dfe51a9ca06 100644 --- a/drivers/media/platform/s5p-tv/sdo_drv.c +++ b/drivers/media/platform/s5p-tv/sdo_drv.c | |||
@@ -482,7 +482,6 @@ static struct platform_driver sdo_driver __refdata = { | |||
482 | .remove = sdo_remove, | 482 | .remove = sdo_remove, |
483 | .driver = { | 483 | .driver = { |
484 | .name = "s5p-sdo", | 484 | .name = "s5p-sdo", |
485 | .owner = THIS_MODULE, | ||
486 | .pm = &sdo_pm_ops, | 485 | .pm = &sdo_pm_ops, |
487 | } | 486 | } |
488 | }; | 487 | }; |
diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index be3b3bc71a0f..aaa1f6f25a29 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c | |||
@@ -1235,7 +1235,6 @@ static struct platform_driver __refdata sh_veu_pdrv = { | |||
1235 | .remove = sh_veu_remove, | 1235 | .remove = sh_veu_remove, |
1236 | .driver = { | 1236 | .driver = { |
1237 | .name = "sh_veu", | 1237 | .name = "sh_veu", |
1238 | .owner = THIS_MODULE, | ||
1239 | }, | 1238 | }, |
1240 | }; | 1239 | }; |
1241 | 1240 | ||
diff --git a/drivers/media/platform/sh_vou.c b/drivers/media/platform/sh_vou.c index e5f1d4c14f2c..b36da10e3f6d 100644 --- a/drivers/media/platform/sh_vou.c +++ b/drivers/media/platform/sh_vou.c | |||
@@ -1449,7 +1449,6 @@ static struct platform_driver __refdata sh_vou = { | |||
1449 | .remove = sh_vou_remove, | 1449 | .remove = sh_vou_remove, |
1450 | .driver = { | 1450 | .driver = { |
1451 | .name = "sh-vou", | 1451 | .name = "sh-vou", |
1452 | .owner = THIS_MODULE, | ||
1453 | }, | 1452 | }, |
1454 | }; | 1453 | }; |
1455 | 1454 | ||
diff --git a/drivers/media/platform/soc_camera/atmel-isi.c b/drivers/media/platform/soc_camera/atmel-isi.c index c5291b001057..19b27d88caeb 100644 --- a/drivers/media/platform/soc_camera/atmel-isi.c +++ b/drivers/media/platform/soc_camera/atmel-isi.c | |||
@@ -1068,7 +1068,6 @@ static struct platform_driver atmel_isi_driver = { | |||
1068 | .remove = atmel_isi_remove, | 1068 | .remove = atmel_isi_remove, |
1069 | .driver = { | 1069 | .driver = { |
1070 | .name = "atmel_isi", | 1070 | .name = "atmel_isi", |
1071 | .owner = THIS_MODULE, | ||
1072 | .of_match_table = of_match_ptr(atmel_isi_of_match), | 1071 | .of_match_table = of_match_ptr(atmel_isi_of_match), |
1073 | }, | 1072 | }, |
1074 | }; | 1073 | }; |
diff --git a/drivers/media/platform/soc_camera/mx3_camera.c b/drivers/media/platform/soc_camera/mx3_camera.c index 7696a873510d..db65e5778094 100644 --- a/drivers/media/platform/soc_camera/mx3_camera.c +++ b/drivers/media/platform/soc_camera/mx3_camera.c | |||
@@ -1253,7 +1253,6 @@ static int mx3_camera_remove(struct platform_device *pdev) | |||
1253 | static struct platform_driver mx3_camera_driver = { | 1253 | static struct platform_driver mx3_camera_driver = { |
1254 | .driver = { | 1254 | .driver = { |
1255 | .name = MX3_CAM_DRV_NAME, | 1255 | .name = MX3_CAM_DRV_NAME, |
1256 | .owner = THIS_MODULE, | ||
1257 | }, | 1256 | }, |
1258 | .probe = mx3_camera_probe, | 1257 | .probe = mx3_camera_probe, |
1259 | .remove = mx3_camera_remove, | 1258 | .remove = mx3_camera_remove, |
diff --git a/drivers/media/platform/soc_camera/rcar_vin.c b/drivers/media/platform/soc_camera/rcar_vin.c index 20defcb8b31b..fa592a69a878 100644 --- a/drivers/media/platform/soc_camera/rcar_vin.c +++ b/drivers/media/platform/soc_camera/rcar_vin.c | |||
@@ -1543,7 +1543,6 @@ static struct platform_driver rcar_vin_driver = { | |||
1543 | .remove = rcar_vin_remove, | 1543 | .remove = rcar_vin_remove, |
1544 | .driver = { | 1544 | .driver = { |
1545 | .name = DRV_NAME, | 1545 | .name = DRV_NAME, |
1546 | .owner = THIS_MODULE, | ||
1547 | .of_match_table = of_match_ptr(rcar_vin_of_table), | 1546 | .of_match_table = of_match_ptr(rcar_vin_of_table), |
1548 | }, | 1547 | }, |
1549 | .id_table = rcar_vin_id_table, | 1548 | .id_table = rcar_vin_id_table, |
diff --git a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c index 20ad4a571d37..412b74dd2cdd 100644 --- a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +++ b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c | |||
@@ -2009,7 +2009,6 @@ MODULE_DEVICE_TABLE(of, sh_mobile_ceu_of_match); | |||
2009 | static struct platform_driver sh_mobile_ceu_driver = { | 2009 | static struct platform_driver sh_mobile_ceu_driver = { |
2010 | .driver = { | 2010 | .driver = { |
2011 | .name = "sh_mobile_ceu", | 2011 | .name = "sh_mobile_ceu", |
2012 | .owner = THIS_MODULE, | ||
2013 | .pm = &sh_mobile_ceu_dev_pm_ops, | 2012 | .pm = &sh_mobile_ceu_dev_pm_ops, |
2014 | .of_match_table = sh_mobile_ceu_of_match, | 2013 | .of_match_table = sh_mobile_ceu_of_match, |
2015 | }, | 2014 | }, |
diff --git a/drivers/media/platform/soc_camera/sh_mobile_csi2.c b/drivers/media/platform/soc_camera/sh_mobile_csi2.c index 05dd21a35d63..f4a81ba09081 100644 --- a/drivers/media/platform/soc_camera/sh_mobile_csi2.c +++ b/drivers/media/platform/soc_camera/sh_mobile_csi2.c | |||
@@ -391,7 +391,6 @@ static struct platform_driver __refdata sh_csi2_pdrv = { | |||
391 | .probe = sh_csi2_probe, | 391 | .probe = sh_csi2_probe, |
392 | .driver = { | 392 | .driver = { |
393 | .name = "sh-mobile-csi2", | 393 | .name = "sh-mobile-csi2", |
394 | .owner = THIS_MODULE, | ||
395 | }, | 394 | }, |
396 | }; | 395 | }; |
397 | 396 | ||
diff --git a/drivers/media/platform/soc_camera/soc_camera.c b/drivers/media/platform/soc_camera/soc_camera.c index 8e61b976da19..4843df0095a9 100644 --- a/drivers/media/platform/soc_camera/soc_camera.c +++ b/drivers/media/platform/soc_camera/soc_camera.c | |||
@@ -2236,7 +2236,6 @@ static struct platform_driver __refdata soc_camera_pdrv = { | |||
2236 | .remove = soc_camera_pdrv_remove, | 2236 | .remove = soc_camera_pdrv_remove, |
2237 | .driver = { | 2237 | .driver = { |
2238 | .name = "soc-camera-pdrv", | 2238 | .name = "soc-camera-pdrv", |
2239 | .owner = THIS_MODULE, | ||
2240 | }, | 2239 | }, |
2241 | }; | 2240 | }; |
2242 | 2241 | ||
diff --git a/drivers/media/platform/soc_camera/soc_camera_platform.c b/drivers/media/platform/soc_camera/soc_camera_platform.c index ceaddfb85e49..22bd8290c097 100644 --- a/drivers/media/platform/soc_camera/soc_camera_platform.c +++ b/drivers/media/platform/soc_camera/soc_camera_platform.c | |||
@@ -180,7 +180,6 @@ static int soc_camera_platform_remove(struct platform_device *pdev) | |||
180 | static struct platform_driver soc_camera_platform_driver = { | 180 | static struct platform_driver soc_camera_platform_driver = { |
181 | .driver = { | 181 | .driver = { |
182 | .name = "soc_camera_platform", | 182 | .name = "soc_camera_platform", |
183 | .owner = THIS_MODULE, | ||
184 | }, | 183 | }, |
185 | .probe = soc_camera_platform_probe, | 184 | .probe = soc_camera_platform_probe, |
186 | .remove = soc_camera_platform_remove, | 185 | .remove = soc_camera_platform_remove, |
diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c index 9a081c291159..d628d1a7cf9e 100644 --- a/drivers/media/platform/ti-vpe/vpe.c +++ b/drivers/media/platform/ti-vpe/vpe.c | |||
@@ -2376,7 +2376,6 @@ static struct platform_driver vpe_pdrv = { | |||
2376 | .remove = vpe_remove, | 2376 | .remove = vpe_remove, |
2377 | .driver = { | 2377 | .driver = { |
2378 | .name = VPE_MODULE_NAME, | 2378 | .name = VPE_MODULE_NAME, |
2379 | .owner = THIS_MODULE, | ||
2380 | .of_match_table = vpe_of_match, | 2379 | .of_match_table = vpe_of_match, |
2381 | }, | 2380 | }, |
2382 | }; | 2381 | }; |
diff --git a/drivers/media/platform/timblogiw.c b/drivers/media/platform/timblogiw.c index 3cb2f3564873..5820e45b3a9f 100644 --- a/drivers/media/platform/timblogiw.c +++ b/drivers/media/platform/timblogiw.c | |||
@@ -857,7 +857,6 @@ static int timblogiw_remove(struct platform_device *pdev) | |||
857 | static struct platform_driver timblogiw_platform_driver = { | 857 | static struct platform_driver timblogiw_platform_driver = { |
858 | .driver = { | 858 | .driver = { |
859 | .name = DRIVER_NAME, | 859 | .name = DRIVER_NAME, |
860 | .owner = THIS_MODULE, | ||
861 | }, | 860 | }, |
862 | .probe = timblogiw_probe, | 861 | .probe = timblogiw_probe, |
863 | .remove = timblogiw_remove, | 862 | .remove = timblogiw_remove, |
diff --git a/drivers/media/platform/vsp1/vsp1_drv.c b/drivers/media/platform/vsp1/vsp1_drv.c index 3e6601b5b4de..5eb16e87d53f 100644 --- a/drivers/media/platform/vsp1/vsp1_drv.c +++ b/drivers/media/platform/vsp1/vsp1_drv.c | |||
@@ -562,7 +562,6 @@ static struct platform_driver vsp1_platform_driver = { | |||
562 | .probe = vsp1_probe, | 562 | .probe = vsp1_probe, |
563 | .remove = vsp1_remove, | 563 | .remove = vsp1_remove, |
564 | .driver = { | 564 | .driver = { |
565 | .owner = THIS_MODULE, | ||
566 | .name = "vsp1", | 565 | .name = "vsp1", |
567 | .pm = &vsp1_pm_ops, | 566 | .pm = &vsp1_pm_ops, |
568 | .of_match_table = vsp1_of_match, | 567 | .of_match_table = vsp1_of_match, |
diff --git a/drivers/media/radio/radio-si476x.c b/drivers/media/radio/radio-si476x.c index 633022b45f33..dccf58691650 100644 --- a/drivers/media/radio/radio-si476x.c +++ b/drivers/media/radio/radio-si476x.c | |||
@@ -1575,7 +1575,6 @@ MODULE_ALIAS("platform:si476x-radio"); | |||
1575 | static struct platform_driver si476x_radio_driver = { | 1575 | static struct platform_driver si476x_radio_driver = { |
1576 | .driver = { | 1576 | .driver = { |
1577 | .name = DRIVER_NAME, | 1577 | .name = DRIVER_NAME, |
1578 | .owner = THIS_MODULE, | ||
1579 | }, | 1578 | }, |
1580 | .probe = si476x_radio_probe, | 1579 | .probe = si476x_radio_probe, |
1581 | .remove = si476x_radio_remove, | 1580 | .remove = si476x_radio_remove, |
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c index b9285e6584af..e6b55edc8f8d 100644 --- a/drivers/media/radio/radio-timb.c +++ b/drivers/media/radio/radio-timb.c | |||
@@ -174,7 +174,6 @@ static int timbradio_remove(struct platform_device *pdev) | |||
174 | static struct platform_driver timbradio_platform_driver = { | 174 | static struct platform_driver timbradio_platform_driver = { |
175 | .driver = { | 175 | .driver = { |
176 | .name = DRIVER_NAME, | 176 | .name = DRIVER_NAME, |
177 | .owner = THIS_MODULE, | ||
178 | }, | 177 | }, |
179 | .probe = timbradio_probe, | 178 | .probe = timbradio_probe, |
180 | .remove = timbradio_remove, | 179 | .remove = timbradio_remove, |
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 9cf6731fb816..fd2281c4a784 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c | |||
@@ -2148,7 +2148,6 @@ static struct platform_driver wl1273_fm_radio_driver = { | |||
2148 | .remove = wl1273_fm_radio_remove, | 2148 | .remove = wl1273_fm_radio_remove, |
2149 | .driver = { | 2149 | .driver = { |
2150 | .name = "wl1273_fm_radio", | 2150 | .name = "wl1273_fm_radio", |
2151 | .owner = THIS_MODULE, | ||
2152 | }, | 2151 | }, |
2153 | }; | 2152 | }; |
2154 | 2153 | ||
diff --git a/drivers/media/radio/si4713/radio-platform-si4713.c b/drivers/media/radio/si4713/radio-platform-si4713.c index a47502a330f0..71881a22d664 100644 --- a/drivers/media/radio/si4713/radio-platform-si4713.c +++ b/drivers/media/radio/si4713/radio-platform-si4713.c | |||
@@ -236,7 +236,6 @@ static int radio_si4713_pdriver_remove(struct platform_device *pdev) | |||
236 | static struct platform_driver radio_si4713_pdriver = { | 236 | static struct platform_driver radio_si4713_pdriver = { |
237 | .driver = { | 237 | .driver = { |
238 | .name = "radio-si4713", | 238 | .name = "radio-si4713", |
239 | .owner = THIS_MODULE, | ||
240 | }, | 239 | }, |
241 | .probe = radio_si4713_pdriver_probe, | 240 | .probe = radio_si4713_pdriver_probe, |
242 | .remove = radio_si4713_pdriver_remove, | 241 | .remove = radio_si4713_pdriver_remove, |
diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc/gpio-ir-recv.c index 59853085bc88..229853d68451 100644 --- a/drivers/media/rc/gpio-ir-recv.c +++ b/drivers/media/rc/gpio-ir-recv.c | |||
@@ -240,7 +240,6 @@ static struct platform_driver gpio_ir_recv_driver = { | |||
240 | .remove = gpio_ir_recv_remove, | 240 | .remove = gpio_ir_recv_remove, |
241 | .driver = { | 241 | .driver = { |
242 | .name = GPIO_IR_DRIVER_NAME, | 242 | .name = GPIO_IR_DRIVER_NAME, |
243 | .owner = THIS_MODULE, | ||
244 | .of_match_table = of_match_ptr(gpio_ir_recv_of_match), | 243 | .of_match_table = of_match_ptr(gpio_ir_recv_of_match), |
245 | #ifdef CONFIG_PM | 244 | #ifdef CONFIG_PM |
246 | .pm = &gpio_ir_recv_pm_ops, | 245 | .pm = &gpio_ir_recv_pm_ops, |
diff --git a/drivers/media/rc/img-ir/img-ir-core.c b/drivers/media/rc/img-ir/img-ir-core.c index a0cac2f09109..77c78de4f5bf 100644 --- a/drivers/media/rc/img-ir/img-ir-core.c +++ b/drivers/media/rc/img-ir/img-ir-core.c | |||
@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, img_ir_match); | |||
166 | static struct platform_driver img_ir_driver = { | 166 | static struct platform_driver img_ir_driver = { |
167 | .driver = { | 167 | .driver = { |
168 | .name = "img-ir", | 168 | .name = "img-ir", |
169 | .owner = THIS_MODULE, | ||
170 | .of_match_table = img_ir_match, | 169 | .of_match_table = img_ir_match, |
171 | .pm = &img_ir_pmops, | 170 | .pm = &img_ir_pmops, |
172 | }, | 171 | }, |
diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index bcee8e1a4e9e..340f7f51eed4 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c | |||
@@ -306,7 +306,6 @@ static struct platform_driver sunxi_ir_driver = { | |||
306 | .remove = sunxi_ir_remove, | 306 | .remove = sunxi_ir_remove, |
307 | .driver = { | 307 | .driver = { |
308 | .name = SUNXI_IR_DEV, | 308 | .name = SUNXI_IR_DEV, |
309 | .owner = THIS_MODULE, | ||
310 | .of_match_table = sunxi_ir_match, | 309 | .of_match_table = sunxi_ir_match, |
311 | }, | 310 | }, |
312 | }; | 311 | }; |
diff --git a/drivers/memory/atmel-sdramc.c b/drivers/memory/atmel-sdramc.c index fed04e8efe75..a3ebc8a87479 100644 --- a/drivers/memory/atmel-sdramc.c +++ b/drivers/memory/atmel-sdramc.c | |||
@@ -82,7 +82,6 @@ static struct platform_driver atmel_ramc_driver = { | |||
82 | .probe = atmel_ramc_probe, | 82 | .probe = atmel_ramc_probe, |
83 | .driver = { | 83 | .driver = { |
84 | .name = "atmel-ramc", | 84 | .name = "atmel-ramc", |
85 | .owner = THIS_MODULE, | ||
86 | .of_match_table = atmel_ramc_of_match, | 85 | .of_match_table = atmel_ramc_of_match, |
87 | }, | 86 | }, |
88 | }; | 87 | }; |
diff --git a/drivers/memory/fsl-corenet-cf.c b/drivers/memory/fsl-corenet-cf.c index c9443fc136db..fc7ab5a3561e 100644 --- a/drivers/memory/fsl-corenet-cf.c +++ b/drivers/memory/fsl-corenet-cf.c | |||
@@ -237,7 +237,6 @@ static int ccf_remove(struct platform_device *pdev) | |||
237 | static struct platform_driver ccf_driver = { | 237 | static struct platform_driver ccf_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = KBUILD_MODNAME, | 239 | .name = KBUILD_MODNAME, |
240 | .owner = THIS_MODULE, | ||
241 | .of_match_table = ccf_matches, | 240 | .of_match_table = ccf_matches, |
242 | }, | 241 | }, |
243 | .probe = ccf_probe, | 242 | .probe = ccf_probe, |
diff --git a/drivers/memory/mvebu-devbus.c b/drivers/memory/mvebu-devbus.c index ff7138fd66d1..24852812fd44 100644 --- a/drivers/memory/mvebu-devbus.c +++ b/drivers/memory/mvebu-devbus.c | |||
@@ -346,7 +346,6 @@ static struct platform_driver mvebu_devbus_driver = { | |||
346 | .probe = mvebu_devbus_probe, | 346 | .probe = mvebu_devbus_probe, |
347 | .driver = { | 347 | .driver = { |
348 | .name = "mvebu-devbus", | 348 | .name = "mvebu-devbus", |
349 | .owner = THIS_MODULE, | ||
350 | .of_match_table = mvebu_devbus_of_match, | 349 | .of_match_table = mvebu_devbus_of_match, |
351 | }, | 350 | }, |
352 | }; | 351 | }; |
diff --git a/drivers/memory/tegra20-mc.c b/drivers/memory/tegra20-mc.c index 7cd82b874abd..cc309a05289a 100644 --- a/drivers/memory/tegra20-mc.c +++ b/drivers/memory/tegra20-mc.c | |||
@@ -243,7 +243,6 @@ static struct platform_driver tegra20_mc_driver = { | |||
243 | .probe = tegra20_mc_probe, | 243 | .probe = tegra20_mc_probe, |
244 | .driver = { | 244 | .driver = { |
245 | .name = DRV_NAME, | 245 | .name = DRV_NAME, |
246 | .owner = THIS_MODULE, | ||
247 | .of_match_table = tegra20_mc_of_match, | 246 | .of_match_table = tegra20_mc_of_match, |
248 | }, | 247 | }, |
249 | }; | 248 | }; |
diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c index ef7934535fd1..b3d59f88c278 100644 --- a/drivers/memory/tegra30-mc.c +++ b/drivers/memory/tegra30-mc.c | |||
@@ -365,7 +365,6 @@ static struct platform_driver tegra30_mc_driver = { | |||
365 | .probe = tegra30_mc_probe, | 365 | .probe = tegra30_mc_probe, |
366 | .driver = { | 366 | .driver = { |
367 | .name = DRV_NAME, | 367 | .name = DRV_NAME, |
368 | .owner = THIS_MODULE, | ||
369 | .of_match_table = tegra30_mc_of_match, | 368 | .of_match_table = tegra30_mc_of_match, |
370 | .pm = &tegra30_mc_pm, | 369 | .pm = &tegra30_mc_pm, |
371 | }, | 370 | }, |
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c index d3df7602f406..ca7d97a9a9ba 100644 --- a/drivers/memory/ti-aemif.c +++ b/drivers/memory/ti-aemif.c | |||
@@ -413,7 +413,6 @@ static struct platform_driver aemif_driver = { | |||
413 | .remove = aemif_remove, | 413 | .remove = aemif_remove, |
414 | .driver = { | 414 | .driver = { |
415 | .name = KBUILD_MODNAME, | 415 | .name = KBUILD_MODNAME, |
416 | .owner = THIS_MODULE, | ||
417 | .of_match_table = of_match_ptr(aemif_of_match), | 416 | .of_match_table = of_match_ptr(aemif_of_match), |
418 | }, | 417 | }, |
419 | }; | 418 | }; |
diff --git a/drivers/memstick/host/rtsx_pci_ms.c b/drivers/memstick/host/rtsx_pci_ms.c index c880ba685754..818fa94354ae 100644 --- a/drivers/memstick/host/rtsx_pci_ms.c +++ b/drivers/memstick/host/rtsx_pci_ms.c | |||
@@ -645,7 +645,6 @@ static struct platform_driver rtsx_pci_ms_driver = { | |||
645 | .suspend = rtsx_pci_ms_suspend, | 645 | .suspend = rtsx_pci_ms_suspend, |
646 | .resume = rtsx_pci_ms_resume, | 646 | .resume = rtsx_pci_ms_resume, |
647 | .driver = { | 647 | .driver = { |
648 | .owner = THIS_MODULE, | ||
649 | .name = DRV_NAME_RTSX_PCI_MS, | 648 | .name = DRV_NAME_RTSX_PCI_MS, |
650 | }, | 649 | }, |
651 | }; | 650 | }; |
diff --git a/drivers/memstick/host/rtsx_usb_ms.c b/drivers/memstick/host/rtsx_usb_ms.c index a7282b7d4de8..1105db2355d2 100644 --- a/drivers/memstick/host/rtsx_usb_ms.c +++ b/drivers/memstick/host/rtsx_usb_ms.c | |||
@@ -827,7 +827,6 @@ static struct platform_driver rtsx_usb_ms_driver = { | |||
827 | .remove = rtsx_usb_ms_drv_remove, | 827 | .remove = rtsx_usb_ms_drv_remove, |
828 | .id_table = rtsx_usb_ms_ids, | 828 | .id_table = rtsx_usb_ms_ids, |
829 | .driver = { | 829 | .driver = { |
830 | .owner = THIS_MODULE, | ||
831 | .name = "rtsx_usb_ms", | 830 | .name = "rtsx_usb_ms", |
832 | .pm = &rtsx_usb_ms_pm_ops, | 831 | .pm = &rtsx_usb_ms_pm_ops, |
833 | }, | 832 | }, |
diff --git a/drivers/mfd/ab3100-otp.c b/drivers/mfd/ab3100-otp.c index c9af16cc7310..f391c5fee1b0 100644 --- a/drivers/mfd/ab3100-otp.c +++ b/drivers/mfd/ab3100-otp.c | |||
@@ -239,7 +239,6 @@ static int __exit ab3100_otp_remove(struct platform_device *pdev) | |||
239 | static struct platform_driver ab3100_otp_driver = { | 239 | static struct platform_driver ab3100_otp_driver = { |
240 | .driver = { | 240 | .driver = { |
241 | .name = "ab3100-otp", | 241 | .name = "ab3100-otp", |
242 | .owner = THIS_MODULE, | ||
243 | }, | 242 | }, |
244 | .remove = __exit_p(ab3100_otp_remove), | 243 | .remove = __exit_p(ab3100_otp_remove), |
245 | }; | 244 | }; |
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index bde2fc072410..c80a2925f8e5 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c | |||
@@ -1848,7 +1848,6 @@ static const struct platform_device_id ab8500_id[] = { | |||
1848 | static struct platform_driver ab8500_core_driver = { | 1848 | static struct platform_driver ab8500_core_driver = { |
1849 | .driver = { | 1849 | .driver = { |
1850 | .name = "ab8500-core", | 1850 | .name = "ab8500-core", |
1851 | .owner = THIS_MODULE, | ||
1852 | }, | 1851 | }, |
1853 | .probe = ab8500_probe, | 1852 | .probe = ab8500_probe, |
1854 | .remove = ab8500_remove, | 1853 | .remove = ab8500_remove, |
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index b2c7e3b1edfa..9a8e185f11df 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c | |||
@@ -3263,7 +3263,6 @@ static int ab8500_debug_remove(struct platform_device *plf) | |||
3263 | static struct platform_driver ab8500_debug_driver = { | 3263 | static struct platform_driver ab8500_debug_driver = { |
3264 | .driver = { | 3264 | .driver = { |
3265 | .name = "ab8500-debug", | 3265 | .name = "ab8500-debug", |
3266 | .owner = THIS_MODULE, | ||
3267 | }, | 3266 | }, |
3268 | .probe = ab8500_debug_probe, | 3267 | .probe = ab8500_debug_probe, |
3269 | .remove = ab8500_debug_remove | 3268 | .remove = ab8500_debug_remove |
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index 36000f920981..ee9198e12739 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c | |||
@@ -1044,7 +1044,6 @@ static struct platform_driver ab8500_gpadc_driver = { | |||
1044 | .remove = ab8500_gpadc_remove, | 1044 | .remove = ab8500_gpadc_remove, |
1045 | .driver = { | 1045 | .driver = { |
1046 | .name = "ab8500-gpadc", | 1046 | .name = "ab8500-gpadc", |
1047 | .owner = THIS_MODULE, | ||
1048 | .pm = &ab8500_gpadc_pm_ops, | 1047 | .pm = &ab8500_gpadc_pm_ops, |
1049 | }, | 1048 | }, |
1050 | }; | 1049 | }; |
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index 8e0dae59844d..fe7e3b133834 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c | |||
@@ -237,7 +237,6 @@ static int ab8500_sysctrl_remove(struct platform_device *pdev) | |||
237 | static struct platform_driver ab8500_sysctrl_driver = { | 237 | static struct platform_driver ab8500_sysctrl_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = "ab8500-sysctrl", | 239 | .name = "ab8500-sysctrl", |
240 | .owner = THIS_MODULE, | ||
241 | }, | 240 | }, |
242 | .probe = ab8500_sysctrl_probe, | 241 | .probe = ab8500_sysctrl_probe, |
243 | .remove = ab8500_sysctrl_remove, | 242 | .remove = ab8500_sysctrl_remove, |
diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c index 013ba8159dcd..c835e85539b2 100644 --- a/drivers/mfd/davinci_voicecodec.c +++ b/drivers/mfd/davinci_voicecodec.c | |||
@@ -143,7 +143,6 @@ static int davinci_vc_remove(struct platform_device *pdev) | |||
143 | static struct platform_driver davinci_vc_driver = { | 143 | static struct platform_driver davinci_vc_driver = { |
144 | .driver = { | 144 | .driver = { |
145 | .name = "davinci_voicecodec", | 145 | .name = "davinci_voicecodec", |
146 | .owner = THIS_MODULE, | ||
147 | }, | 146 | }, |
148 | .remove = davinci_vc_remove, | 147 | .remove = davinci_vc_remove, |
149 | }; | 148 | }; |
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index 193cf168ba84..7700e17b3718 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c | |||
@@ -3230,7 +3230,6 @@ static const struct of_device_id db8500_prcmu_match[] = { | |||
3230 | static struct platform_driver db8500_prcmu_driver = { | 3230 | static struct platform_driver db8500_prcmu_driver = { |
3231 | .driver = { | 3231 | .driver = { |
3232 | .name = "db8500-prcmu", | 3232 | .name = "db8500-prcmu", |
3233 | .owner = THIS_MODULE, | ||
3234 | .of_match_table = db8500_prcmu_match, | 3233 | .of_match_table = db8500_prcmu_match, |
3235 | }, | 3234 | }, |
3236 | .probe = db8500_prcmu_probe, | 3235 | .probe = db8500_prcmu_probe, |
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c index 443e7cddff28..25d486c543cb 100644 --- a/drivers/mfd/intel_msic.c +++ b/drivers/mfd/intel_msic.c | |||
@@ -447,7 +447,6 @@ static struct platform_driver intel_msic_driver = { | |||
447 | .remove = intel_msic_remove, | 447 | .remove = intel_msic_remove, |
448 | .driver = { | 448 | .driver = { |
449 | .name = "intel_msic", | 449 | .name = "intel_msic", |
450 | .owner = THIS_MODULE, | ||
451 | }, | 450 | }, |
452 | }; | 451 | }; |
453 | 452 | ||
diff --git a/drivers/mfd/jz4740-adc.c b/drivers/mfd/jz4740-adc.c index 7a51c0d0d4f1..b31c54e4ecb2 100644 --- a/drivers/mfd/jz4740-adc.c +++ b/drivers/mfd/jz4740-adc.c | |||
@@ -324,7 +324,6 @@ static struct platform_driver jz4740_adc_driver = { | |||
324 | .remove = jz4740_adc_remove, | 324 | .remove = jz4740_adc_remove, |
325 | .driver = { | 325 | .driver = { |
326 | .name = "jz4740-adc", | 326 | .name = "jz4740-adc", |
327 | .owner = THIS_MODULE, | ||
328 | }, | 327 | }, |
329 | }; | 328 | }; |
330 | 329 | ||
diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c index bd2696136eee..f38ec424872e 100644 --- a/drivers/mfd/kempld-core.c +++ b/drivers/mfd/kempld-core.c | |||
@@ -494,7 +494,6 @@ static int kempld_remove(struct platform_device *pdev) | |||
494 | static struct platform_driver kempld_driver = { | 494 | static struct platform_driver kempld_driver = { |
495 | .driver = { | 495 | .driver = { |
496 | .name = "kempld", | 496 | .name = "kempld", |
497 | .owner = THIS_MODULE, | ||
498 | }, | 497 | }, |
499 | .probe = kempld_probe, | 498 | .probe = kempld_probe, |
500 | .remove = kempld_remove, | 499 | .remove = kempld_remove, |
diff --git a/drivers/mfd/mcp-sa11x0.c b/drivers/mfd/mcp-sa11x0.c index 29d76986b40b..1fc458128405 100644 --- a/drivers/mfd/mcp-sa11x0.c +++ b/drivers/mfd/mcp-sa11x0.c | |||
@@ -299,7 +299,6 @@ static struct platform_driver mcp_sa11x0_driver = { | |||
299 | .remove = mcp_sa11x0_remove, | 299 | .remove = mcp_sa11x0_remove, |
300 | .driver = { | 300 | .driver = { |
301 | .name = DRIVER_NAME, | 301 | .name = DRIVER_NAME, |
302 | .owner = THIS_MODULE, | ||
303 | .pm = &mcp_sa11x0_pm_ops, | 302 | .pm = &mcp_sa11x0_pm_ops, |
304 | }, | 303 | }, |
305 | }; | 304 | }; |
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 83dab2f0a50e..04cd54dd507c 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
@@ -882,7 +882,6 @@ MODULE_DEVICE_TABLE(of, usbhs_omap_dt_ids); | |||
882 | static struct platform_driver usbhs_omap_driver = { | 882 | static struct platform_driver usbhs_omap_driver = { |
883 | .driver = { | 883 | .driver = { |
884 | .name = (char *)usbhs_driver_name, | 884 | .name = (char *)usbhs_driver_name, |
885 | .owner = THIS_MODULE, | ||
886 | .pm = &usbhsomap_dev_pm_ops, | 885 | .pm = &usbhsomap_dev_pm_ops, |
887 | .of_match_table = usbhs_omap_dt_ids, | 886 | .of_match_table = usbhs_omap_dt_ids, |
888 | }, | 887 | }, |
diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c index 532eacab6b46..b7b3e8ee64f2 100644 --- a/drivers/mfd/omap-usb-tll.c +++ b/drivers/mfd/omap-usb-tll.c | |||
@@ -319,7 +319,6 @@ MODULE_DEVICE_TABLE(of, usbtll_omap_dt_ids); | |||
319 | static struct platform_driver usbtll_omap_driver = { | 319 | static struct platform_driver usbtll_omap_driver = { |
320 | .driver = { | 320 | .driver = { |
321 | .name = (char *)usbtll_driver_name, | 321 | .name = (char *)usbtll_driver_name, |
322 | .owner = THIS_MODULE, | ||
323 | .of_match_table = usbtll_omap_dt_ids, | 322 | .of_match_table = usbtll_omap_dt_ids, |
324 | }, | 323 | }, |
325 | .probe = usbtll_omap_probe, | 324 | .probe = usbtll_omap_probe, |
diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8921-core.c index 39904f77c049..5a92646a2ccb 100644 --- a/drivers/mfd/pm8921-core.c +++ b/drivers/mfd/pm8921-core.c | |||
@@ -374,7 +374,6 @@ static struct platform_driver pm8921_driver = { | |||
374 | .remove = pm8921_remove, | 374 | .remove = pm8921_remove, |
375 | .driver = { | 375 | .driver = { |
376 | .name = "pm8921-core", | 376 | .name = "pm8921-core", |
377 | .owner = THIS_MODULE, | ||
378 | .of_match_table = pm8921_id_table, | 377 | .of_match_table = pm8921_id_table, |
379 | }, | 378 | }, |
380 | }; | 379 | }; |
diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index 6ce6e6200359..91077efc8050 100644 --- a/drivers/mfd/sm501.c +++ b/drivers/mfd/sm501.c | |||
@@ -1723,7 +1723,6 @@ static const struct of_device_id of_sm501_match_tbl[] = { | |||
1723 | static struct platform_driver sm501_plat_driver = { | 1723 | static struct platform_driver sm501_plat_driver = { |
1724 | .driver = { | 1724 | .driver = { |
1725 | .name = "sm501", | 1725 | .name = "sm501", |
1726 | .owner = THIS_MODULE, | ||
1727 | .of_match_table = of_sm501_match_tbl, | 1726 | .of_match_table = of_sm501_match_tbl, |
1728 | }, | 1727 | }, |
1729 | .probe = sm501_plat_probe, | 1728 | .probe = sm501_plat_probe, |
diff --git a/drivers/mfd/ssbi.c b/drivers/mfd/ssbi.c index b78942ed4c67..27986f641f7d 100644 --- a/drivers/mfd/ssbi.c +++ b/drivers/mfd/ssbi.c | |||
@@ -327,7 +327,6 @@ static struct platform_driver ssbi_driver = { | |||
327 | .probe = ssbi_probe, | 327 | .probe = ssbi_probe, |
328 | .driver = { | 328 | .driver = { |
329 | .name = "ssbi", | 329 | .name = "ssbi", |
330 | .owner = THIS_MODULE, | ||
331 | .of_match_table = ssbi_match_table, | 330 | .of_match_table = ssbi_match_table, |
332 | }, | 331 | }, |
333 | }; | 332 | }; |
diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 5b72db07d9de..b3e5c6f45105 100644 --- a/drivers/mfd/sta2x11-mfd.c +++ b/drivers/mfd/sta2x11-mfd.c | |||
@@ -368,7 +368,6 @@ static int sta2x11_scr_probe(struct platform_device *dev) | |||
368 | static struct platform_driver sta2x11_sctl_platform_driver = { | 368 | static struct platform_driver sta2x11_sctl_platform_driver = { |
369 | .driver = { | 369 | .driver = { |
370 | .name = STA2X11_MFD_SCTL_NAME, | 370 | .name = STA2X11_MFD_SCTL_NAME, |
371 | .owner = THIS_MODULE, | ||
372 | }, | 371 | }, |
373 | .probe = sta2x11_sctl_probe, | 372 | .probe = sta2x11_sctl_probe, |
374 | }; | 373 | }; |
@@ -382,7 +381,6 @@ static int __init sta2x11_sctl_init(void) | |||
382 | static struct platform_driver sta2x11_platform_driver = { | 381 | static struct platform_driver sta2x11_platform_driver = { |
383 | .driver = { | 382 | .driver = { |
384 | .name = STA2X11_MFD_APBREG_NAME, | 383 | .name = STA2X11_MFD_APBREG_NAME, |
385 | .owner = THIS_MODULE, | ||
386 | }, | 384 | }, |
387 | .probe = sta2x11_apbreg_probe, | 385 | .probe = sta2x11_apbreg_probe, |
388 | }; | 386 | }; |
@@ -396,7 +394,6 @@ static int __init sta2x11_apbreg_init(void) | |||
396 | static struct platform_driver sta2x11_apb_soc_regs_platform_driver = { | 394 | static struct platform_driver sta2x11_apb_soc_regs_platform_driver = { |
397 | .driver = { | 395 | .driver = { |
398 | .name = STA2X11_MFD_APB_SOC_REGS_NAME, | 396 | .name = STA2X11_MFD_APB_SOC_REGS_NAME, |
399 | .owner = THIS_MODULE, | ||
400 | }, | 397 | }, |
401 | .probe = sta2x11_apb_soc_regs_probe, | 398 | .probe = sta2x11_apb_soc_regs_probe, |
402 | }; | 399 | }; |
@@ -410,7 +407,6 @@ static int __init sta2x11_apb_soc_regs_init(void) | |||
410 | static struct platform_driver sta2x11_scr_platform_driver = { | 407 | static struct platform_driver sta2x11_scr_platform_driver = { |
411 | .driver = { | 408 | .driver = { |
412 | .name = STA2X11_MFD_SCR_NAME, | 409 | .name = STA2X11_MFD_SCR_NAME, |
413 | .owner = THIS_MODULE, | ||
414 | }, | 410 | }, |
415 | .probe = sta2x11_scr_probe, | 411 | .probe = sta2x11_scr_probe, |
416 | }; | 412 | }; |
diff --git a/drivers/mfd/sun6i-prcm.c b/drivers/mfd/sun6i-prcm.c index 283ab8d197e4..2f2e9f062571 100644 --- a/drivers/mfd/sun6i-prcm.c +++ b/drivers/mfd/sun6i-prcm.c | |||
@@ -152,7 +152,6 @@ static int sun6i_prcm_probe(struct platform_device *pdev) | |||
152 | static struct platform_driver sun6i_prcm_driver = { | 152 | static struct platform_driver sun6i_prcm_driver = { |
153 | .driver = { | 153 | .driver = { |
154 | .name = "sun6i-prcm", | 154 | .name = "sun6i-prcm", |
155 | .owner = THIS_MODULE, | ||
156 | .of_match_table = sun6i_prcm_dt_ids, | 155 | .of_match_table = sun6i_prcm_dt_ids, |
157 | }, | 156 | }, |
158 | .probe = sun6i_prcm_probe, | 157 | .probe = sun6i_prcm_probe, |
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index ca15878ce5c0..e85c052b302c 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c | |||
@@ -166,7 +166,6 @@ static const struct platform_device_id syscon_ids[] = { | |||
166 | static struct platform_driver syscon_driver = { | 166 | static struct platform_driver syscon_driver = { |
167 | .driver = { | 167 | .driver = { |
168 | .name = "syscon", | 168 | .name = "syscon", |
169 | .owner = THIS_MODULE, | ||
170 | .of_match_table = of_syscon_match, | 169 | .of_match_table = of_syscon_match, |
171 | }, | 170 | }, |
172 | .probe = syscon_probe, | 171 | .probe = syscon_probe, |
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c index 9e04a7485981..3bb12e791982 100644 --- a/drivers/mfd/t7l66xb.c +++ b/drivers/mfd/t7l66xb.c | |||
@@ -431,7 +431,6 @@ static int t7l66xb_remove(struct platform_device *dev) | |||
431 | static struct platform_driver t7l66xb_platform_driver = { | 431 | static struct platform_driver t7l66xb_platform_driver = { |
432 | .driver = { | 432 | .driver = { |
433 | .name = "t7l66xb", | 433 | .name = "t7l66xb", |
434 | .owner = THIS_MODULE, | ||
435 | }, | 434 | }, |
436 | .suspend = t7l66xb_suspend, | 435 | .suspend = t7l66xb_suspend, |
437 | .resume = t7l66xb_resume, | 436 | .resume = t7l66xb_resume, |
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c index 4fac16bcd732..aaf852242d76 100644 --- a/drivers/mfd/tc6393xb.c +++ b/drivers/mfd/tc6393xb.c | |||
@@ -831,7 +831,6 @@ static struct platform_driver tc6393xb_driver = { | |||
831 | 831 | ||
832 | .driver = { | 832 | .driver = { |
833 | .name = "tc6393xb", | 833 | .name = "tc6393xb", |
834 | .owner = THIS_MODULE, | ||
835 | }, | 834 | }, |
836 | }; | 835 | }; |
837 | 836 | ||
diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index d877e777cce6..467c80e1c4ae 100644 --- a/drivers/mfd/ti_am335x_tscadc.c +++ b/drivers/mfd/ti_am335x_tscadc.c | |||
@@ -368,7 +368,6 @@ MODULE_DEVICE_TABLE(of, ti_tscadc_dt_ids); | |||
368 | static struct platform_driver ti_tscadc_driver = { | 368 | static struct platform_driver ti_tscadc_driver = { |
369 | .driver = { | 369 | .driver = { |
370 | .name = "ti_am3359-tscadc", | 370 | .name = "ti_am3359-tscadc", |
371 | .owner = THIS_MODULE, | ||
372 | .pm = TSCADC_PM_OPS, | 371 | .pm = TSCADC_PM_OPS, |
373 | .of_match_table = ti_tscadc_dt_ids, | 372 | .of_match_table = ti_tscadc_dt_ids, |
374 | }, | 373 | }, |
diff --git a/drivers/mfd/tps65911-comparator.c b/drivers/mfd/tps65911-comparator.c index c0816ebd9d7e..c0789f81a1c5 100644 --- a/drivers/mfd/tps65911-comparator.c +++ b/drivers/mfd/tps65911-comparator.c | |||
@@ -166,7 +166,6 @@ static int tps65911_comparator_remove(struct platform_device *pdev) | |||
166 | static struct platform_driver tps65911_comparator_driver = { | 166 | static struct platform_driver tps65911_comparator_driver = { |
167 | .driver = { | 167 | .driver = { |
168 | .name = "tps65911-comparator", | 168 | .name = "tps65911-comparator", |
169 | .owner = THIS_MODULE, | ||
170 | }, | 169 | }, |
171 | .probe = tps65911_comparator_probe, | 170 | .probe = tps65911_comparator_probe, |
172 | .remove = tps65911_comparator_remove, | 171 | .remove = tps65911_comparator_remove, |
diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c index 07fe542e6fc0..0a1606480023 100644 --- a/drivers/mfd/twl4030-audio.c +++ b/drivers/mfd/twl4030-audio.c | |||
@@ -283,7 +283,6 @@ MODULE_DEVICE_TABLE(of, twl4030_audio_of_match); | |||
283 | 283 | ||
284 | static struct platform_driver twl4030_audio_driver = { | 284 | static struct platform_driver twl4030_audio_driver = { |
285 | .driver = { | 285 | .driver = { |
286 | .owner = THIS_MODULE, | ||
287 | .name = "twl4030-audio", | 286 | .name = "twl4030-audio", |
288 | .of_match_table = twl4030_audio_of_match, | 287 | .of_match_table = twl4030_audio_of_match, |
289 | }, | 288 | }, |
diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c index cf92a6d1c532..fdea0cb75320 100644 --- a/drivers/mfd/twl4030-power.c +++ b/drivers/mfd/twl4030-power.c | |||
@@ -878,7 +878,6 @@ static int twl4030_power_remove(struct platform_device *pdev) | |||
878 | static struct platform_driver twl4030_power_driver = { | 878 | static struct platform_driver twl4030_power_driver = { |
879 | .driver = { | 879 | .driver = { |
880 | .name = "twl4030_power", | 880 | .name = "twl4030_power", |
881 | .owner = THIS_MODULE, | ||
882 | .of_match_table = of_match_ptr(twl4030_power_of_match), | 881 | .of_match_table = of_match_ptr(twl4030_power_of_match), |
883 | }, | 882 | }, |
884 | .probe = twl4030_power_probe, | 883 | .probe = twl4030_power_probe, |
diff --git a/drivers/misc/arm-charlcd.c b/drivers/misc/arm-charlcd.c index c72e96b523ed..c65b5ea5d5ef 100644 --- a/drivers/misc/arm-charlcd.c +++ b/drivers/misc/arm-charlcd.c | |||
@@ -375,7 +375,6 @@ static const struct of_device_id charlcd_match[] = { | |||
375 | static struct platform_driver charlcd_driver = { | 375 | static struct platform_driver charlcd_driver = { |
376 | .driver = { | 376 | .driver = { |
377 | .name = DRIVERNAME, | 377 | .name = DRIVERNAME, |
378 | .owner = THIS_MODULE, | ||
379 | .pm = &charlcd_pm_ops, | 378 | .pm = &charlcd_pm_ops, |
380 | .of_match_table = of_match_ptr(charlcd_match), | 379 | .of_match_table = of_match_ptr(charlcd_match), |
381 | }, | 380 | }, |
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c index 60843a275abd..5305ac8dfb3e 100644 --- a/drivers/misc/atmel-ssc.c +++ b/drivers/misc/atmel-ssc.c | |||
@@ -220,7 +220,6 @@ static int ssc_remove(struct platform_device *pdev) | |||
220 | static struct platform_driver ssc_driver = { | 220 | static struct platform_driver ssc_driver = { |
221 | .driver = { | 221 | .driver = { |
222 | .name = "ssc", | 222 | .name = "ssc", |
223 | .owner = THIS_MODULE, | ||
224 | .of_match_table = of_match_ptr(atmel_ssc_dt_ids), | 223 | .of_match_table = of_match_ptr(atmel_ssc_dt_ids), |
225 | }, | 224 | }, |
226 | .id_table = atmel_ssc_devtypes, | 225 | .id_table = atmel_ssc_devtypes, |
diff --git a/drivers/misc/carma/carma-fpga-program.c b/drivers/misc/carma/carma-fpga-program.c index 339b252fcedd..6fa52f71f51c 100644 --- a/drivers/misc/carma/carma-fpga-program.c +++ b/drivers/misc/carma/carma-fpga-program.c | |||
@@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = { | |||
1091 | .driver = { | 1091 | .driver = { |
1092 | .name = drv_name, | 1092 | .name = drv_name, |
1093 | .of_match_table = fpga_of_match, | 1093 | .of_match_table = fpga_of_match, |
1094 | .owner = THIS_MODULE, | ||
1095 | }, | 1094 | }, |
1096 | }; | 1095 | }; |
1097 | 1096 | ||
diff --git a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c index 55e913b7eb11..cdf2d7b902bb 100644 --- a/drivers/misc/carma/carma-fpga.c +++ b/drivers/misc/carma/carma-fpga.c | |||
@@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = { | |||
1433 | .driver = { | 1433 | .driver = { |
1434 | .name = drv_name, | 1434 | .name = drv_name, |
1435 | .of_match_table = data_of_match, | 1435 | .of_match_table = data_of_match, |
1436 | .owner = THIS_MODULE, | ||
1437 | }, | 1436 | }, |
1438 | }; | 1437 | }; |
1439 | 1438 | ||
diff --git a/drivers/misc/cs5535-mfgpt.c b/drivers/misc/cs5535-mfgpt.c index effd8c6b2b94..347f08f2fd48 100644 --- a/drivers/misc/cs5535-mfgpt.c +++ b/drivers/misc/cs5535-mfgpt.c | |||
@@ -365,7 +365,6 @@ done: | |||
365 | static struct platform_driver cs5535_mfgpt_driver = { | 365 | static struct platform_driver cs5535_mfgpt_driver = { |
366 | .driver = { | 366 | .driver = { |
367 | .name = DRV_NAME, | 367 | .name = DRV_NAME, |
368 | .owner = THIS_MODULE, | ||
369 | }, | 368 | }, |
370 | .probe = cs5535_mfgpt_probe, | 369 | .probe = cs5535_mfgpt_probe, |
371 | }; | 370 | }; |
diff --git a/drivers/misc/eeprom/sunxi_sid.c b/drivers/misc/eeprom/sunxi_sid.c index 3f2b625b2032..8385177ff32b 100644 --- a/drivers/misc/eeprom/sunxi_sid.c +++ b/drivers/misc/eeprom/sunxi_sid.c | |||
@@ -146,7 +146,6 @@ static struct platform_driver sunxi_sid_driver = { | |||
146 | .remove = sunxi_sid_remove, | 146 | .remove = sunxi_sid_remove, |
147 | .driver = { | 147 | .driver = { |
148 | .name = DRV_NAME, | 148 | .name = DRV_NAME, |
149 | .owner = THIS_MODULE, | ||
150 | .of_match_table = sunxi_sid_of_match, | 149 | .of_match_table = sunxi_sid_of_match, |
151 | }, | 150 | }, |
152 | }; | 151 | }; |
diff --git a/drivers/misc/mic/card/mic_x100.c b/drivers/misc/mic/card/mic_x100.c index 9d57545d64f6..e98e537d68e3 100644 --- a/drivers/misc/mic/card/mic_x100.c +++ b/drivers/misc/mic/card/mic_x100.c | |||
@@ -255,7 +255,6 @@ static struct platform_driver __refdata mic_platform_driver = { | |||
255 | .shutdown = mic_platform_shutdown, | 255 | .shutdown = mic_platform_shutdown, |
256 | .driver = { | 256 | .driver = { |
257 | .name = mic_driver_name, | 257 | .name = mic_driver_name, |
258 | .owner = THIS_MODULE, | ||
259 | }, | 258 | }, |
260 | }; | 259 | }; |
261 | 260 | ||
diff --git a/drivers/misc/ti-st/st_kim.c b/drivers/misc/ti-st/st_kim.c index 21c2337bad68..e4b7ee4f57b8 100644 --- a/drivers/misc/ti-st/st_kim.c +++ b/drivers/misc/ti-st/st_kim.c | |||
@@ -858,7 +858,6 @@ static struct platform_driver kim_platform_driver = { | |||
858 | .resume = kim_resume, | 858 | .resume = kim_resume, |
859 | .driver = { | 859 | .driver = { |
860 | .name = "kim", | 860 | .name = "kim", |
861 | .owner = THIS_MODULE, | ||
862 | }, | 861 | }, |
863 | }; | 862 | }; |
864 | 863 | ||
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index 725f6a6fd89b..ed77fbfa4774 100644 --- a/drivers/mmc/host/au1xmmc.c +++ b/drivers/mmc/host/au1xmmc.c | |||
@@ -1206,7 +1206,6 @@ static struct platform_driver au1xmmc_driver = { | |||
1206 | .resume = au1xmmc_resume, | 1206 | .resume = au1xmmc_resume, |
1207 | .driver = { | 1207 | .driver = { |
1208 | .name = DRIVER_NAME, | 1208 | .name = DRIVER_NAME, |
1209 | .owner = THIS_MODULE, | ||
1210 | }, | 1209 | }, |
1211 | }; | 1210 | }; |
1212 | 1211 | ||
diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index 5d4c5e0fba2f..1625f908dc70 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c | |||
@@ -1466,7 +1466,6 @@ static const struct dev_pm_ops davinci_mmcsd_pm = { | |||
1466 | static struct platform_driver davinci_mmcsd_driver = { | 1466 | static struct platform_driver davinci_mmcsd_driver = { |
1467 | .driver = { | 1467 | .driver = { |
1468 | .name = "davinci_mmc", | 1468 | .name = "davinci_mmc", |
1469 | .owner = THIS_MODULE, | ||
1470 | .pm = davinci_mmcsd_pm_ops, | 1469 | .pm = davinci_mmcsd_pm_ops, |
1471 | .of_match_table = davinci_mmc_dt_ids, | 1470 | .of_match_table = davinci_mmc_dt_ids, |
1472 | }, | 1471 | }, |
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 9cccc0e89b04..4e064c8cec97 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c | |||
@@ -449,7 +449,6 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = { | |||
449 | static struct platform_driver sdhci_acpi_driver = { | 449 | static struct platform_driver sdhci_acpi_driver = { |
450 | .driver = { | 450 | .driver = { |
451 | .name = "sdhci-acpi", | 451 | .name = "sdhci-acpi", |
452 | .owner = THIS_MODULE, | ||
453 | .acpi_match_table = sdhci_acpi_ids, | 452 | .acpi_match_table = sdhci_acpi_ids, |
454 | .pm = &sdhci_acpi_pm_ops, | 453 | .pm = &sdhci_acpi_pm_ops, |
455 | }, | 454 | }, |
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c index 659028ddb8b1..bcf3c94c415f 100644 --- a/drivers/mmc/host/tmio_mmc.c +++ b/drivers/mmc/host/tmio_mmc.c | |||
@@ -143,7 +143,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { | |||
143 | static struct platform_driver tmio_mmc_driver = { | 143 | static struct platform_driver tmio_mmc_driver = { |
144 | .driver = { | 144 | .driver = { |
145 | .name = "tmio-mmc", | 145 | .name = "tmio-mmc", |
146 | .owner = THIS_MODULE, | ||
147 | .pm = &tmio_mmc_dev_pm_ops, | 146 | .pm = &tmio_mmc_dev_pm_ops, |
148 | }, | 147 | }, |
149 | .probe = tmio_mmc_probe, | 148 | .probe = tmio_mmc_probe, |
diff --git a/drivers/mmc/host/usdhi6rol0.c b/drivers/mmc/host/usdhi6rol0.c index f0a39eb049af..54b082b1804a 100644 --- a/drivers/mmc/host/usdhi6rol0.c +++ b/drivers/mmc/host/usdhi6rol0.c | |||
@@ -1834,7 +1834,6 @@ static struct platform_driver usdhi6_driver = { | |||
1834 | .remove = usdhi6_remove, | 1834 | .remove = usdhi6_remove, |
1835 | .driver = { | 1835 | .driver = { |
1836 | .name = "usdhi6rol0", | 1836 | .name = "usdhi6rol0", |
1837 | .owner = THIS_MODULE, | ||
1838 | .of_match_table = usdhi6_of_match, | 1837 | .of_match_table = usdhi6_of_match, |
1839 | }, | 1838 | }, |
1840 | }; | 1839 | }; |
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c index 9a6dfb0c4ecc..ca183ea767b3 100644 --- a/drivers/mmc/host/wbsd.c +++ b/drivers/mmc/host/wbsd.c | |||
@@ -1914,7 +1914,6 @@ static struct platform_driver wbsd_driver = { | |||
1914 | .resume = wbsd_platform_resume, | 1914 | .resume = wbsd_platform_resume, |
1915 | .driver = { | 1915 | .driver = { |
1916 | .name = DRIVER_NAME, | 1916 | .name = DRIVER_NAME, |
1917 | .owner = THIS_MODULE, | ||
1918 | }, | 1917 | }, |
1919 | }; | 1918 | }; |
1920 | 1919 | ||
diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c index 54181b4f6e9e..dd2e1aa95ba3 100644 --- a/drivers/mmc/host/wmt-sdmmc.c +++ b/drivers/mmc/host/wmt-sdmmc.c | |||
@@ -991,7 +991,6 @@ static struct platform_driver wmt_mci_driver = { | |||
991 | .remove = wmt_mci_remove, | 991 | .remove = wmt_mci_remove, |
992 | .driver = { | 992 | .driver = { |
993 | .name = DRIVER_NAME, | 993 | .name = DRIVER_NAME, |
994 | .owner = THIS_MODULE, | ||
995 | .pm = wmt_mci_pm_ops, | 994 | .pm = wmt_mci_pm_ops, |
996 | .of_match_table = wmt_mci_dt_ids, | 995 | .of_match_table = wmt_mci_dt_ids, |
997 | }, | 996 | }, |
diff --git a/drivers/mtd/devices/bcm47xxsflash.c b/drivers/mtd/devices/bcm47xxsflash.c index 77de29bc02ba..3d008a9410be 100644 --- a/drivers/mtd/devices/bcm47xxsflash.c +++ b/drivers/mtd/devices/bcm47xxsflash.c | |||
@@ -329,7 +329,6 @@ static struct platform_driver bcma_sflash_driver = { | |||
329 | .remove = bcm47xxsflash_bcma_remove, | 329 | .remove = bcm47xxsflash_bcma_remove, |
330 | .driver = { | 330 | .driver = { |
331 | .name = "bcma_sflash", | 331 | .name = "bcma_sflash", |
332 | .owner = THIS_MODULE, | ||
333 | }, | 332 | }, |
334 | }; | 333 | }; |
335 | 334 | ||
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c index 21cc4b66feaa..72346048532d 100644 --- a/drivers/mtd/devices/docg3.c +++ b/drivers/mtd/devices/docg3.c | |||
@@ -2129,7 +2129,6 @@ static int __exit docg3_release(struct platform_device *pdev) | |||
2129 | static struct platform_driver g3_driver = { | 2129 | static struct platform_driver g3_driver = { |
2130 | .driver = { | 2130 | .driver = { |
2131 | .name = "docg3", | 2131 | .name = "docg3", |
2132 | .owner = THIS_MODULE, | ||
2133 | }, | 2132 | }, |
2134 | .suspend = docg3_suspend, | 2133 | .suspend = docg3_suspend, |
2135 | .resume = docg3_resume, | 2134 | .resume = docg3_resume, |
diff --git a/drivers/mtd/devices/spear_smi.c b/drivers/mtd/devices/spear_smi.c index c4176b0f382d..508bab3bd0c4 100644 --- a/drivers/mtd/devices/spear_smi.c +++ b/drivers/mtd/devices/spear_smi.c | |||
@@ -1079,7 +1079,6 @@ static struct platform_driver spear_smi_driver = { | |||
1079 | .driver = { | 1079 | .driver = { |
1080 | .name = "smi", | 1080 | .name = "smi", |
1081 | .bus = &platform_bus_type, | 1081 | .bus = &platform_bus_type, |
1082 | .owner = THIS_MODULE, | ||
1083 | .of_match_table = of_match_ptr(spear_smi_id_table), | 1082 | .of_match_table = of_match_ptr(spear_smi_id_table), |
1084 | .pm = &spear_smi_pm_ops, | 1083 | .pm = &spear_smi_pm_ops, |
1085 | }, | 1084 | }, |
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c index d252514d3e98..54ffe5223e64 100644 --- a/drivers/mtd/devices/st_spi_fsm.c +++ b/drivers/mtd/devices/st_spi_fsm.c | |||
@@ -2069,7 +2069,6 @@ static struct platform_driver stfsm_driver = { | |||
2069 | .remove = stfsm_remove, | 2069 | .remove = stfsm_remove, |
2070 | .driver = { | 2070 | .driver = { |
2071 | .name = "st-spi-fsm", | 2071 | .name = "st-spi-fsm", |
2072 | .owner = THIS_MODULE, | ||
2073 | .of_match_table = stfsm_match, | 2072 | .of_match_table = stfsm_match, |
2074 | }, | 2073 | }, |
2075 | }; | 2074 | }; |
diff --git a/drivers/mtd/maps/ixp4xx.c b/drivers/mtd/maps/ixp4xx.c index 6a589f1e2880..b4430741024e 100644 --- a/drivers/mtd/maps/ixp4xx.c +++ b/drivers/mtd/maps/ixp4xx.c | |||
@@ -250,7 +250,6 @@ static struct platform_driver ixp4xx_flash_driver = { | |||
250 | .remove = ixp4xx_flash_remove, | 250 | .remove = ixp4xx_flash_remove, |
251 | .driver = { | 251 | .driver = { |
252 | .name = "IXP4XX-Flash", | 252 | .name = "IXP4XX-Flash", |
253 | .owner = THIS_MODULE, | ||
254 | }, | 253 | }, |
255 | }; | 254 | }; |
256 | 255 | ||
diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c index 7aa682cd4d7e..33d26f5bee54 100644 --- a/drivers/mtd/maps/lantiq-flash.c +++ b/drivers/mtd/maps/lantiq-flash.c | |||
@@ -205,7 +205,6 @@ static struct platform_driver ltq_mtd_driver = { | |||
205 | .remove = ltq_mtd_remove, | 205 | .remove = ltq_mtd_remove, |
206 | .driver = { | 206 | .driver = { |
207 | .name = "ltq-nor", | 207 | .name = "ltq-nor", |
208 | .owner = THIS_MODULE, | ||
209 | .of_match_table = ltq_mtd_match, | 208 | .of_match_table = ltq_mtd_match, |
210 | }, | 209 | }, |
211 | }; | 210 | }; |
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c index f73cd461257c..4305fd607015 100644 --- a/drivers/mtd/maps/physmap.c +++ b/drivers/mtd/maps/physmap.c | |||
@@ -217,7 +217,6 @@ static struct platform_driver physmap_flash_driver = { | |||
217 | .shutdown = physmap_flash_shutdown, | 217 | .shutdown = physmap_flash_shutdown, |
218 | .driver = { | 218 | .driver = { |
219 | .name = "physmap-flash", | 219 | .name = "physmap-flash", |
220 | .owner = THIS_MODULE, | ||
221 | }, | 220 | }, |
222 | }; | 221 | }; |
223 | 222 | ||
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index c1d21cb501ca..991d0cb871f0 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c | |||
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, of_flash_match); | |||
354 | static struct platform_driver of_flash_driver = { | 354 | static struct platform_driver of_flash_driver = { |
355 | .driver = { | 355 | .driver = { |
356 | .name = "of-flash", | 356 | .name = "of-flash", |
357 | .owner = THIS_MODULE, | ||
358 | .of_match_table = of_flash_match, | 357 | .of_match_table = of_flash_match, |
359 | }, | 358 | }, |
360 | .probe = of_flash_probe, | 359 | .probe = of_flash_probe, |
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c index d597e89f2692..4b65c08d15f6 100644 --- a/drivers/mtd/maps/plat-ram.c +++ b/drivers/mtd/maps/plat-ram.c | |||
@@ -251,7 +251,6 @@ static struct platform_driver platram_driver = { | |||
251 | .remove = platram_remove, | 251 | .remove = platram_remove, |
252 | .driver = { | 252 | .driver = { |
253 | .name = "mtd-ram", | 253 | .name = "mtd-ram", |
254 | .owner = THIS_MODULE, | ||
255 | }, | 254 | }, |
256 | }; | 255 | }; |
257 | 256 | ||
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index cb4d92eea9fe..12fa75df5008 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c | |||
@@ -131,7 +131,6 @@ static void pxa2xx_flash_shutdown(struct platform_device *dev) | |||
131 | static struct platform_driver pxa2xx_flash_driver = { | 131 | static struct platform_driver pxa2xx_flash_driver = { |
132 | .driver = { | 132 | .driver = { |
133 | .name = "pxa2xx-flash", | 133 | .name = "pxa2xx-flash", |
134 | .owner = THIS_MODULE, | ||
135 | }, | 134 | }, |
136 | .probe = pxa2xx_flash_probe, | 135 | .probe = pxa2xx_flash_probe, |
137 | .remove = pxa2xx_flash_remove, | 136 | .remove = pxa2xx_flash_remove, |
diff --git a/drivers/mtd/maps/rbtx4939-flash.c b/drivers/mtd/maps/rbtx4939-flash.c index a84fdfb10518..5a7551aa2d89 100644 --- a/drivers/mtd/maps/rbtx4939-flash.c +++ b/drivers/mtd/maps/rbtx4939-flash.c | |||
@@ -127,7 +127,6 @@ static struct platform_driver rbtx4939_flash_driver = { | |||
127 | .shutdown = rbtx4939_flash_shutdown, | 127 | .shutdown = rbtx4939_flash_shutdown, |
128 | .driver = { | 128 | .driver = { |
129 | .name = "rbtx4939-flash", | 129 | .name = "rbtx4939-flash", |
130 | .owner = THIS_MODULE, | ||
131 | }, | 130 | }, |
132 | }; | 131 | }; |
133 | 132 | ||
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c index 8fc06bf111c4..ea697202935a 100644 --- a/drivers/mtd/maps/sa1100-flash.c +++ b/drivers/mtd/maps/sa1100-flash.c | |||
@@ -289,7 +289,6 @@ static struct platform_driver sa1100_mtd_driver = { | |||
289 | .remove = __exit_p(sa1100_mtd_remove), | 289 | .remove = __exit_p(sa1100_mtd_remove), |
290 | .driver = { | 290 | .driver = { |
291 | .name = "sa1100-mtd", | 291 | .name = "sa1100-mtd", |
292 | .owner = THIS_MODULE, | ||
293 | }, | 292 | }, |
294 | }; | 293 | }; |
295 | 294 | ||
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index b6f1aac3510c..d459aca07881 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c | |||
@@ -150,7 +150,6 @@ MODULE_DEVICE_TABLE(of, uflash_match); | |||
150 | static struct platform_driver uflash_driver = { | 150 | static struct platform_driver uflash_driver = { |
151 | .driver = { | 151 | .driver = { |
152 | .name = DRIVER_NAME, | 152 | .name = DRIVER_NAME, |
153 | .owner = THIS_MODULE, | ||
154 | .of_match_table = uflash_match, | 153 | .of_match_table = uflash_match, |
155 | }, | 154 | }, |
156 | .probe = uflash_probe, | 155 | .probe = uflash_probe, |
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c index 4936e9e0002f..f1d555cfb332 100644 --- a/drivers/mtd/nand/ams-delta.c +++ b/drivers/mtd/nand/ams-delta.c | |||
@@ -290,7 +290,6 @@ static struct platform_driver ams_delta_nand_driver = { | |||
290 | .remove = ams_delta_cleanup, | 290 | .remove = ams_delta_cleanup, |
291 | .driver = { | 291 | .driver = { |
292 | .name = "ams-delta-nand", | 292 | .name = "ams-delta-nand", |
293 | .owner = THIS_MODULE, | ||
294 | }, | 293 | }, |
295 | }; | 294 | }; |
296 | 295 | ||
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 19d1e9d17bf9..84c38f3c65b0 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c | |||
@@ -2312,7 +2312,6 @@ MODULE_DEVICE_TABLE(of, atmel_nand_nfc_match); | |||
2312 | static struct platform_driver atmel_nand_nfc_driver = { | 2312 | static struct platform_driver atmel_nand_nfc_driver = { |
2313 | .driver = { | 2313 | .driver = { |
2314 | .name = "atmel_nand_nfc", | 2314 | .name = "atmel_nand_nfc", |
2315 | .owner = THIS_MODULE, | ||
2316 | .of_match_table = of_match_ptr(atmel_nand_nfc_match), | 2315 | .of_match_table = of_match_ptr(atmel_nand_nfc_match), |
2317 | }, | 2316 | }, |
2318 | .probe = atmel_nand_nfc_probe, | 2317 | .probe = atmel_nand_nfc_probe, |
@@ -2324,7 +2323,6 @@ static struct platform_driver atmel_nand_driver = { | |||
2324 | .remove = atmel_nand_remove, | 2323 | .remove = atmel_nand_remove, |
2325 | .driver = { | 2324 | .driver = { |
2326 | .name = "atmel_nand", | 2325 | .name = "atmel_nand", |
2327 | .owner = THIS_MODULE, | ||
2328 | .of_match_table = of_match_ptr(atmel_nand_dt_ids), | 2326 | .of_match_table = of_match_ptr(atmel_nand_dt_ids), |
2329 | }, | 2327 | }, |
2330 | }; | 2328 | }; |
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 77d6c17b38c2..c0c3be180012 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
@@ -503,7 +503,6 @@ static int au1550nd_remove(struct platform_device *pdev) | |||
503 | static struct platform_driver au1550nd_driver = { | 503 | static struct platform_driver au1550nd_driver = { |
504 | .driver = { | 504 | .driver = { |
505 | .name = "au1550-nand", | 505 | .name = "au1550-nand", |
506 | .owner = THIS_MODULE, | ||
507 | }, | 506 | }, |
508 | .probe = au1550nd_probe, | 507 | .probe = au1550nd_probe, |
509 | .remove = au1550nd_remove, | 508 | .remove = au1550nd_remove, |
diff --git a/drivers/mtd/nand/bcm47xxnflash/main.c b/drivers/mtd/nand/bcm47xxnflash/main.c index 107445911315..461577cfb5bc 100644 --- a/drivers/mtd/nand/bcm47xxnflash/main.c +++ b/drivers/mtd/nand/bcm47xxnflash/main.c | |||
@@ -73,7 +73,6 @@ static struct platform_driver bcm47xxnflash_driver = { | |||
73 | .remove = bcm47xxnflash_remove, | 73 | .remove = bcm47xxnflash_remove, |
74 | .driver = { | 74 | .driver = { |
75 | .name = "bcma_nflash", | 75 | .name = "bcma_nflash", |
76 | .owner = THIS_MODULE, | ||
77 | }, | 76 | }, |
78 | }; | 77 | }; |
79 | 78 | ||
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 871c4f712654..4d8d4ba4b9c1 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -836,7 +836,6 @@ static struct platform_driver bf5xx_nand_driver = { | |||
836 | .remove = bf5xx_nand_remove, | 836 | .remove = bf5xx_nand_remove, |
837 | .driver = { | 837 | .driver = { |
838 | .name = DRV_NAME, | 838 | .name = DRV_NAME, |
839 | .owner = THIS_MODULE, | ||
840 | }, | 839 | }, |
841 | }; | 840 | }; |
842 | 841 | ||
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index b922c8efcf40..feb6d18de78d 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
@@ -870,7 +870,6 @@ static struct platform_driver nand_davinci_driver = { | |||
870 | .remove = nand_davinci_remove, | 870 | .remove = nand_davinci_remove, |
871 | .driver = { | 871 | .driver = { |
872 | .name = "davinci_nand", | 872 | .name = "davinci_nand", |
873 | .owner = THIS_MODULE, | ||
874 | .of_match_table = of_match_ptr(davinci_nand_of_match), | 873 | .of_match_table = of_match_ptr(davinci_nand_of_match), |
875 | }, | 874 | }, |
876 | }; | 875 | }; |
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index 35cb17f57800..0cb1e8d9fbfc 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c | |||
@@ -120,7 +120,6 @@ static struct platform_driver denali_dt_driver = { | |||
120 | .remove = denali_dt_remove, | 120 | .remove = denali_dt_remove, |
121 | .driver = { | 121 | .driver = { |
122 | .name = "denali-nand-dt", | 122 | .name = "denali-nand-dt", |
123 | .owner = THIS_MODULE, | ||
124 | .of_match_table = denali_nand_dt_ids, | 123 | .of_match_table = denali_nand_dt_ids, |
125 | }, | 124 | }, |
126 | }; | 125 | }; |
diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c index ce24637e14f1..e5d7bcaafa7d 100644 --- a/drivers/mtd/nand/docg4.c +++ b/drivers/mtd/nand/docg4.c | |||
@@ -1380,7 +1380,6 @@ static int __exit cleanup_docg4(struct platform_device *pdev) | |||
1380 | static struct platform_driver docg4_driver = { | 1380 | static struct platform_driver docg4_driver = { |
1381 | .driver = { | 1381 | .driver = { |
1382 | .name = "docg4", | 1382 | .name = "docg4", |
1383 | .owner = THIS_MODULE, | ||
1384 | }, | 1383 | }, |
1385 | .suspend = docg4_suspend, | 1384 | .suspend = docg4_suspend, |
1386 | .resume = docg4_resume, | 1385 | .resume = docg4_resume, |
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index 545a5c002f09..04b22fd3732d 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c | |||
@@ -950,7 +950,6 @@ static const struct of_device_id fsl_elbc_nand_match[] = { | |||
950 | static struct platform_driver fsl_elbc_nand_driver = { | 950 | static struct platform_driver fsl_elbc_nand_driver = { |
951 | .driver = { | 951 | .driver = { |
952 | .name = "fsl,elbc-fcm-nand", | 952 | .name = "fsl,elbc-fcm-nand", |
953 | .owner = THIS_MODULE, | ||
954 | .of_match_table = fsl_elbc_nand_match, | 953 | .of_match_table = fsl_elbc_nand_match, |
955 | }, | 954 | }, |
956 | .probe = fsl_elbc_nand_probe, | 955 | .probe = fsl_elbc_nand_probe, |
diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index 2338124dd05f..b9ef7a6bba42 100644 --- a/drivers/mtd/nand/fsl_ifc_nand.c +++ b/drivers/mtd/nand/fsl_ifc_nand.c | |||
@@ -1167,7 +1167,6 @@ static const struct of_device_id fsl_ifc_nand_match[] = { | |||
1167 | static struct platform_driver fsl_ifc_nand_driver = { | 1167 | static struct platform_driver fsl_ifc_nand_driver = { |
1168 | .driver = { | 1168 | .driver = { |
1169 | .name = "fsl,ifc-nand", | 1169 | .name = "fsl,ifc-nand", |
1170 | .owner = THIS_MODULE, | ||
1171 | .of_match_table = fsl_ifc_nand_match, | 1170 | .of_match_table = fsl_ifc_nand_match, |
1172 | }, | 1171 | }, |
1173 | .probe = fsl_ifc_nand_probe, | 1172 | .probe = fsl_ifc_nand_probe, |
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index 4d203e84e8ca..72755d7ec25d 100644 --- a/drivers/mtd/nand/fsl_upm.c +++ b/drivers/mtd/nand/fsl_upm.c | |||
@@ -347,7 +347,6 @@ MODULE_DEVICE_TABLE(of, of_fun_match); | |||
347 | static struct platform_driver of_fun_driver = { | 347 | static struct platform_driver of_fun_driver = { |
348 | .driver = { | 348 | .driver = { |
349 | .name = "fsl,upm-nand", | 349 | .name = "fsl,upm-nand", |
350 | .owner = THIS_MODULE, | ||
351 | .of_match_table = of_fun_match, | 350 | .of_match_table = of_fun_match, |
352 | }, | 351 | }, |
353 | .probe = fun_probe, | 352 | .probe = fun_probe, |
diff --git a/drivers/mtd/nand/fsmc_nand.c b/drivers/mtd/nand/fsmc_nand.c index 7a915870d9d6..edfaa21b1817 100644 --- a/drivers/mtd/nand/fsmc_nand.c +++ b/drivers/mtd/nand/fsmc_nand.c | |||
@@ -1224,7 +1224,6 @@ MODULE_DEVICE_TABLE(of, fsmc_nand_id_table); | |||
1224 | static struct platform_driver fsmc_nand_driver = { | 1224 | static struct platform_driver fsmc_nand_driver = { |
1225 | .remove = fsmc_nand_remove, | 1225 | .remove = fsmc_nand_remove, |
1226 | .driver = { | 1226 | .driver = { |
1227 | .owner = THIS_MODULE, | ||
1228 | .name = "fsmc-nand", | 1227 | .name = "fsmc-nand", |
1229 | .of_match_table = of_match_ptr(fsmc_nand_id_table), | 1228 | .of_match_table = of_match_ptr(fsmc_nand_id_table), |
1230 | .pm = &fsmc_nand_pm_ops, | 1229 | .pm = &fsmc_nand_pm_ops, |
diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c index 117ce333fdd4..918283999a4b 100644 --- a/drivers/mtd/nand/gpio.c +++ b/drivers/mtd/nand/gpio.c | |||
@@ -308,7 +308,6 @@ static struct platform_driver gpio_nand_driver = { | |||
308 | .remove = gpio_nand_remove, | 308 | .remove = gpio_nand_remove, |
309 | .driver = { | 309 | .driver = { |
310 | .name = "gpio-nand", | 310 | .name = "gpio-nand", |
311 | .owner = THIS_MODULE, | ||
312 | .of_match_table = of_match_ptr(gpio_nand_id_table), | 311 | .of_match_table = of_match_ptr(gpio_nand_id_table), |
313 | }, | 312 | }, |
314 | }; | 313 | }; |
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index a2c804de156b..1633ec9c5108 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c | |||
@@ -577,7 +577,6 @@ static struct platform_driver jz_nand_driver = { | |||
577 | .remove = jz_nand_remove, | 577 | .remove = jz_nand_remove, |
578 | .driver = { | 578 | .driver = { |
579 | .name = "jz4740-nand", | 579 | .name = "jz4740-nand", |
580 | .owner = THIS_MODULE, | ||
581 | }, | 580 | }, |
582 | }; | 581 | }; |
583 | 582 | ||
diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index 7335346dc126..79c3b7801e1f 100644 --- a/drivers/mtd/nand/lpc32xx_mlc.c +++ b/drivers/mtd/nand/lpc32xx_mlc.c | |||
@@ -878,7 +878,6 @@ static struct platform_driver lpc32xx_nand_driver = { | |||
878 | .suspend = lpc32xx_nand_suspend, | 878 | .suspend = lpc32xx_nand_suspend, |
879 | .driver = { | 879 | .driver = { |
880 | .name = DRV_NAME, | 880 | .name = DRV_NAME, |
881 | .owner = THIS_MODULE, | ||
882 | .of_match_table = lpc32xx_nand_match, | 881 | .of_match_table = lpc32xx_nand_match, |
883 | }, | 882 | }, |
884 | }; | 883 | }; |
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c index 8caef28e0756..abfec13868e5 100644 --- a/drivers/mtd/nand/lpc32xx_slc.c +++ b/drivers/mtd/nand/lpc32xx_slc.c | |||
@@ -999,7 +999,6 @@ static struct platform_driver lpc32xx_nand_driver = { | |||
999 | .suspend = lpc32xx_nand_suspend, | 999 | .suspend = lpc32xx_nand_suspend, |
1000 | .driver = { | 1000 | .driver = { |
1001 | .name = LPC32XX_MODNAME, | 1001 | .name = LPC32XX_MODNAME, |
1002 | .owner = THIS_MODULE, | ||
1003 | .of_match_table = lpc32xx_nand_match, | 1002 | .of_match_table = lpc32xx_nand_match, |
1004 | }, | 1003 | }, |
1005 | }; | 1004 | }; |
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index e78841a2dcc3..1f12e5bfbced 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c | |||
@@ -847,7 +847,6 @@ static struct platform_driver mpc5121_nfc_driver = { | |||
847 | .remove = mpc5121_nfc_remove, | 847 | .remove = mpc5121_nfc_remove, |
848 | .driver = { | 848 | .driver = { |
849 | .name = DRV_NAME, | 849 | .name = DRV_NAME, |
850 | .owner = THIS_MODULE, | ||
851 | .of_match_table = mpc5121_nfc_match, | 850 | .of_match_table = mpc5121_nfc_match, |
852 | }, | 851 | }, |
853 | }; | 852 | }; |
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index dba262bf766f..e1d56beeca79 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1600,7 +1600,6 @@ static int mxcnd_remove(struct platform_device *pdev) | |||
1600 | static struct platform_driver mxcnd_driver = { | 1600 | static struct platform_driver mxcnd_driver = { |
1601 | .driver = { | 1601 | .driver = { |
1602 | .name = DRIVER_NAME, | 1602 | .name = DRIVER_NAME, |
1603 | .owner = THIS_MODULE, | ||
1604 | .of_match_table = of_match_ptr(mxcnd_dt_ids), | 1603 | .of_match_table = of_match_ptr(mxcnd_dt_ids), |
1605 | }, | 1604 | }, |
1606 | .id_table = mxcnd_devtype, | 1605 | .id_table = mxcnd_devtype, |
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c index 253a644da76a..3187c6b92d9a 100644 --- a/drivers/mtd/nand/ndfc.c +++ b/drivers/mtd/nand/ndfc.c | |||
@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(of, ndfc_match); | |||
277 | static struct platform_driver ndfc_driver = { | 277 | static struct platform_driver ndfc_driver = { |
278 | .driver = { | 278 | .driver = { |
279 | .name = "ndfc", | 279 | .name = "ndfc", |
280 | .owner = THIS_MODULE, | ||
281 | .of_match_table = ndfc_match, | 280 | .of_match_table = ndfc_match, |
282 | }, | 281 | }, |
283 | .probe = ndfc_probe, | 282 | .probe = ndfc_probe, |
diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c index e8a5fffd6ab2..e58c644dd220 100644 --- a/drivers/mtd/nand/nuc900_nand.c +++ b/drivers/mtd/nand/nuc900_nand.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver nuc900_nand_driver = { | |||
300 | .remove = nuc900_nand_remove, | 300 | .remove = nuc900_nand_remove, |
301 | .driver = { | 301 | .driver = { |
302 | .name = "nuc900-fmi", | 302 | .name = "nuc900-fmi", |
303 | .owner = THIS_MODULE, | ||
304 | }, | 303 | }, |
305 | }; | 304 | }; |
306 | 305 | ||
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 3b357e920a0c..6d74b56dd9f6 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -2095,7 +2095,6 @@ static struct platform_driver omap_nand_driver = { | |||
2095 | .remove = omap_nand_remove, | 2095 | .remove = omap_nand_remove, |
2096 | .driver = { | 2096 | .driver = { |
2097 | .name = DRIVER_NAME, | 2097 | .name = DRIVER_NAME, |
2098 | .owner = THIS_MODULE, | ||
2099 | }, | 2098 | }, |
2100 | }; | 2099 | }; |
2101 | 2100 | ||
diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index 058531044ceb..376bfe19104f 100644 --- a/drivers/mtd/nand/omap_elm.c +++ b/drivers/mtd/nand/omap_elm.c | |||
@@ -563,7 +563,6 @@ MODULE_DEVICE_TABLE(of, elm_of_match); | |||
563 | static struct platform_driver elm_driver = { | 563 | static struct platform_driver elm_driver = { |
564 | .driver = { | 564 | .driver = { |
565 | .name = DRIVER_NAME, | 565 | .name = DRIVER_NAME, |
566 | .owner = THIS_MODULE, | ||
567 | .of_match_table = of_match_ptr(elm_of_match), | 566 | .of_match_table = of_match_ptr(elm_of_match), |
568 | .pm = &elm_pm_ops, | 567 | .pm = &elm_pm_ops, |
569 | }, | 568 | }, |
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index 471b4df3a5ac..c53e36956bff 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver orion_nand_driver = { | |||
224 | .remove = orion_nand_remove, | 224 | .remove = orion_nand_remove, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "orion_nand", | 226 | .name = "orion_nand", |
227 | .owner = THIS_MODULE, | ||
228 | .of_match_table = of_match_ptr(orion_nand_of_match_table), | 227 | .of_match_table = of_match_ptr(orion_nand_of_match_table), |
229 | }, | 228 | }, |
230 | }; | 229 | }; |
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c index 2c98f9da7471..66c345b42097 100644 --- a/drivers/mtd/nand/pasemi_nand.c +++ b/drivers/mtd/nand/pasemi_nand.c | |||
@@ -223,7 +223,6 @@ static struct platform_driver pasemi_nand_driver = | |||
223 | { | 223 | { |
224 | .driver = { | 224 | .driver = { |
225 | .name = driver_name, | 225 | .name = driver_name, |
226 | .owner = THIS_MODULE, | ||
227 | .of_match_table = pasemi_nand_match, | 226 | .of_match_table = pasemi_nand_match, |
228 | }, | 227 | }, |
229 | .probe = pasemi_nand_probe, | 228 | .probe = pasemi_nand_probe, |
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index 0b068a5c0bff..4535c263fae5 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c | |||
@@ -138,7 +138,6 @@ static struct platform_driver plat_nand_driver = { | |||
138 | .remove = plat_nand_remove, | 138 | .remove = plat_nand_remove, |
139 | .driver = { | 139 | .driver = { |
140 | .name = "gen_nand", | 140 | .name = "gen_nand", |
141 | .owner = THIS_MODULE, | ||
142 | .of_match_table = plat_nand_match, | 141 | .of_match_table = plat_nand_match, |
143 | }, | 142 | }, |
144 | }; | 143 | }; |
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 6b97bf17ce5d..35aef5edb588 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -1135,7 +1135,6 @@ static struct platform_driver s3c24xx_nand_driver = { | |||
1135 | .id_table = s3c24xx_driver_ids, | 1135 | .id_table = s3c24xx_driver_ids, |
1136 | .driver = { | 1136 | .driver = { |
1137 | .name = "s3c24xx-nand", | 1137 | .name = "s3c24xx-nand", |
1138 | .owner = THIS_MODULE, | ||
1139 | }, | 1138 | }, |
1140 | }; | 1139 | }; |
1141 | 1140 | ||
diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c index 0ed7c603298f..a21c378f096a 100644 --- a/drivers/mtd/nand/sh_flctl.c +++ b/drivers/mtd/nand/sh_flctl.c | |||
@@ -1190,7 +1190,6 @@ static struct platform_driver flctl_driver = { | |||
1190 | .remove = flctl_remove, | 1190 | .remove = flctl_remove, |
1191 | .driver = { | 1191 | .driver = { |
1192 | .name = "sh_flctl", | 1192 | .name = "sh_flctl", |
1193 | .owner = THIS_MODULE, | ||
1194 | .of_match_table = of_match_ptr(of_flctl_match), | 1193 | .of_match_table = of_match_ptr(of_flctl_match), |
1195 | }, | 1194 | }, |
1196 | }; | 1195 | }; |
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index e81059b58382..842c47a451a0 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c | |||
@@ -220,7 +220,6 @@ static int sharpsl_nand_remove(struct platform_device *pdev) | |||
220 | static struct platform_driver sharpsl_nand_driver = { | 220 | static struct platform_driver sharpsl_nand_driver = { |
221 | .driver = { | 221 | .driver = { |
222 | .name = "sharpsl-nand", | 222 | .name = "sharpsl-nand", |
223 | .owner = THIS_MODULE, | ||
224 | }, | 223 | }, |
225 | .probe = sharpsl_nand_probe, | 224 | .probe = sharpsl_nand_probe, |
226 | .remove = sharpsl_nand_remove, | 225 | .remove = sharpsl_nand_remove, |
diff --git a/drivers/mtd/nand/socrates_nand.c b/drivers/mtd/nand/socrates_nand.c index fe8058a45054..d71062273f55 100644 --- a/drivers/mtd/nand/socrates_nand.c +++ b/drivers/mtd/nand/socrates_nand.c | |||
@@ -240,7 +240,6 @@ MODULE_DEVICE_TABLE(of, socrates_nand_match); | |||
240 | static struct platform_driver socrates_nand_driver = { | 240 | static struct platform_driver socrates_nand_driver = { |
241 | .driver = { | 241 | .driver = { |
242 | .name = "socrates_nand", | 242 | .name = "socrates_nand", |
243 | .owner = THIS_MODULE, | ||
244 | .of_match_table = socrates_nand_match, | 243 | .of_match_table = socrates_nand_match, |
245 | }, | 244 | }, |
246 | .probe = socrates_nand_probe, | 245 | .probe = socrates_nand_probe, |
diff --git a/drivers/mtd/nand/txx9ndfmc.c b/drivers/mtd/nand/txx9ndfmc.c index c1622a5ba814..9c0bc45e28a9 100644 --- a/drivers/mtd/nand/txx9ndfmc.c +++ b/drivers/mtd/nand/txx9ndfmc.c | |||
@@ -417,7 +417,6 @@ static struct platform_driver txx9ndfmc_driver = { | |||
417 | .resume = txx9ndfmc_resume, | 417 | .resume = txx9ndfmc_resume, |
418 | .driver = { | 418 | .driver = { |
419 | .name = "txx9ndfmc", | 419 | .name = "txx9ndfmc", |
420 | .owner = THIS_MODULE, | ||
421 | }, | 420 | }, |
422 | }; | 421 | }; |
423 | 422 | ||
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c index 093c29ac1a13..32a216d31141 100644 --- a/drivers/mtd/onenand/generic.c +++ b/drivers/mtd/onenand/generic.c | |||
@@ -106,7 +106,6 @@ static int generic_onenand_remove(struct platform_device *pdev) | |||
106 | static struct platform_driver generic_onenand_driver = { | 106 | static struct platform_driver generic_onenand_driver = { |
107 | .driver = { | 107 | .driver = { |
108 | .name = DRIVER_NAME, | 108 | .name = DRIVER_NAME, |
109 | .owner = THIS_MODULE, | ||
110 | }, | 109 | }, |
111 | .probe = generic_onenand_probe, | 110 | .probe = generic_onenand_probe, |
112 | .remove = generic_onenand_remove, | 111 | .remove = generic_onenand_remove, |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index d945473c3882..646ddd6db1b4 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -804,7 +804,6 @@ static struct platform_driver omap2_onenand_driver = { | |||
804 | .shutdown = omap2_onenand_shutdown, | 804 | .shutdown = omap2_onenand_shutdown, |
805 | .driver = { | 805 | .driver = { |
806 | .name = DRIVER_NAME, | 806 | .name = DRIVER_NAME, |
807 | .owner = THIS_MODULE, | ||
808 | }, | 807 | }, |
809 | }; | 808 | }; |
810 | 809 | ||
diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c index d5269a26c839..2fb07eced2ba 100644 --- a/drivers/mtd/spi-nor/fsl-quadspi.c +++ b/drivers/mtd/spi-nor/fsl-quadspi.c | |||
@@ -991,7 +991,6 @@ static struct platform_driver fsl_qspi_driver = { | |||
991 | .driver = { | 991 | .driver = { |
992 | .name = "fsl-quadspi", | 992 | .name = "fsl-quadspi", |
993 | .bus = &platform_bus_type, | 993 | .bus = &platform_bus_type, |
994 | .owner = THIS_MODULE, | ||
995 | .of_match_table = fsl_qspi_dt_ids, | 994 | .of_match_table = fsl_qspi_dt_ids, |
996 | }, | 995 | }, |
997 | .probe = fsl_qspi_probe, | 996 | .probe = fsl_qspi_probe, |
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c index 05e1aa090add..d0c2463b573f 100644 --- a/drivers/net/can/at91_can.c +++ b/drivers/net/can/at91_can.c | |||
@@ -1428,7 +1428,6 @@ static struct platform_driver at91_can_driver = { | |||
1428 | .remove = at91_can_remove, | 1428 | .remove = at91_can_remove, |
1429 | .driver = { | 1429 | .driver = { |
1430 | .name = KBUILD_MODNAME, | 1430 | .name = KBUILD_MODNAME, |
1431 | .owner = THIS_MODULE, | ||
1432 | .of_match_table = of_match_ptr(at91_can_dt_ids), | 1431 | .of_match_table = of_match_ptr(at91_can_dt_ids), |
1433 | }, | 1432 | }, |
1434 | .id_table = at91_can_id_table, | 1433 | .id_table = at91_can_id_table, |
diff --git a/drivers/net/can/bfin_can.c b/drivers/net/can/bfin_can.c index 543ecceb33e9..417d50998e31 100644 --- a/drivers/net/can/bfin_can.c +++ b/drivers/net/can/bfin_can.c | |||
@@ -680,7 +680,6 @@ static struct platform_driver bfin_can_driver = { | |||
680 | .resume = bfin_can_resume, | 680 | .resume = bfin_can_resume, |
681 | .driver = { | 681 | .driver = { |
682 | .name = DRV_NAME, | 682 | .name = DRV_NAME, |
683 | .owner = THIS_MODULE, | ||
684 | }, | 683 | }, |
685 | }; | 684 | }; |
686 | 685 | ||
diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c index fb279d6ae484..d06f45dc0f59 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c | |||
@@ -392,7 +392,6 @@ static int c_can_resume(struct platform_device *pdev) | |||
392 | static struct platform_driver c_can_plat_driver = { | 392 | static struct platform_driver c_can_plat_driver = { |
393 | .driver = { | 393 | .driver = { |
394 | .name = KBUILD_MODNAME, | 394 | .name = KBUILD_MODNAME, |
395 | .owner = THIS_MODULE, | ||
396 | .of_match_table = c_can_of_table, | 395 | .of_match_table = c_can_of_table, |
397 | }, | 396 | }, |
398 | .probe = c_can_plat_probe, | 397 | .probe = c_can_plat_probe, |
diff --git a/drivers/net/can/cc770/cc770_isa.c b/drivers/net/can/cc770/cc770_isa.c index 87a47c0cfd49..e0d15711e9ac 100644 --- a/drivers/net/can/cc770/cc770_isa.c +++ b/drivers/net/can/cc770/cc770_isa.c | |||
@@ -318,7 +318,6 @@ static struct platform_driver cc770_isa_driver = { | |||
318 | .remove = cc770_isa_remove, | 318 | .remove = cc770_isa_remove, |
319 | .driver = { | 319 | .driver = { |
320 | .name = KBUILD_MODNAME, | 320 | .name = KBUILD_MODNAME, |
321 | .owner = THIS_MODULE, | ||
322 | }, | 321 | }, |
323 | }; | 322 | }; |
324 | 323 | ||
diff --git a/drivers/net/can/cc770/cc770_platform.c b/drivers/net/can/cc770/cc770_platform.c index ad76734b3ecc..b1e8851d3cc4 100644 --- a/drivers/net/can/cc770/cc770_platform.c +++ b/drivers/net/can/cc770/cc770_platform.c | |||
@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, cc770_platform_table); | |||
264 | static struct platform_driver cc770_platform_driver = { | 264 | static struct platform_driver cc770_platform_driver = { |
265 | .driver = { | 265 | .driver = { |
266 | .name = DRV_NAME, | 266 | .name = DRV_NAME, |
267 | .owner = THIS_MODULE, | ||
268 | .of_match_table = cc770_platform_table, | 267 | .of_match_table = cc770_platform_table, |
269 | }, | 268 | }, |
270 | .probe = cc770_platform_probe, | 269 | .probe = cc770_platform_probe, |
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index 60f86bd0434a..f1221b27abd3 100644 --- a/drivers/net/can/flexcan.c +++ b/drivers/net/can/flexcan.c | |||
@@ -1367,7 +1367,6 @@ static SIMPLE_DEV_PM_OPS(flexcan_pm_ops, flexcan_suspend, flexcan_resume); | |||
1367 | static struct platform_driver flexcan_driver = { | 1367 | static struct platform_driver flexcan_driver = { |
1368 | .driver = { | 1368 | .driver = { |
1369 | .name = DRV_NAME, | 1369 | .name = DRV_NAME, |
1370 | .owner = THIS_MODULE, | ||
1371 | .pm = &flexcan_pm_ops, | 1370 | .pm = &flexcan_pm_ops, |
1372 | .of_match_table = flexcan_of_match, | 1371 | .of_match_table = flexcan_of_match, |
1373 | }, | 1372 | }, |
diff --git a/drivers/net/can/grcan.c b/drivers/net/can/grcan.c index 3fd9fd942c6e..fed1bbd0b0d2 100644 --- a/drivers/net/can/grcan.c +++ b/drivers/net/can/grcan.c | |||
@@ -1738,7 +1738,6 @@ MODULE_DEVICE_TABLE(of, grcan_match); | |||
1738 | static struct platform_driver grcan_driver = { | 1738 | static struct platform_driver grcan_driver = { |
1739 | .driver = { | 1739 | .driver = { |
1740 | .name = DRV_NAME, | 1740 | .name = DRV_NAME, |
1741 | .owner = THIS_MODULE, | ||
1742 | .of_match_table = grcan_match, | 1741 | .of_match_table = grcan_match, |
1743 | }, | 1742 | }, |
1744 | .probe = grcan_probe, | 1743 | .probe = grcan_probe, |
diff --git a/drivers/net/can/janz-ican3.c b/drivers/net/can/janz-ican3.c index 2382c04dc780..1b118394907f 100644 --- a/drivers/net/can/janz-ican3.c +++ b/drivers/net/can/janz-ican3.c | |||
@@ -1910,7 +1910,6 @@ static int ican3_remove(struct platform_device *pdev) | |||
1910 | static struct platform_driver ican3_driver = { | 1910 | static struct platform_driver ican3_driver = { |
1911 | .driver = { | 1911 | .driver = { |
1912 | .name = DRV_NAME, | 1912 | .name = DRV_NAME, |
1913 | .owner = THIS_MODULE, | ||
1914 | }, | 1913 | }, |
1915 | .probe = ican3_probe, | 1914 | .probe = ican3_probe, |
1916 | .remove = ican3_remove, | 1915 | .remove = ican3_remove, |
diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c index 44725296f72a..ad024e60ba8c 100644 --- a/drivers/net/can/mscan/mpc5xxx_can.c +++ b/drivers/net/can/mscan/mpc5xxx_can.c | |||
@@ -441,7 +441,6 @@ MODULE_DEVICE_TABLE(of, mpc5xxx_can_table); | |||
441 | static struct platform_driver mpc5xxx_can_driver = { | 441 | static struct platform_driver mpc5xxx_can_driver = { |
442 | .driver = { | 442 | .driver = { |
443 | .name = "mpc5xxx_can", | 443 | .name = "mpc5xxx_can", |
444 | .owner = THIS_MODULE, | ||
445 | .of_match_table = mpc5xxx_can_table, | 444 | .of_match_table = mpc5xxx_can_table, |
446 | }, | 445 | }, |
447 | .probe = mpc5xxx_can_probe, | 446 | .probe = mpc5xxx_can_probe, |
diff --git a/drivers/net/can/rcar_can.c b/drivers/net/can/rcar_can.c index 1abe133d1594..05d57f7bf020 100644 --- a/drivers/net/can/rcar_can.c +++ b/drivers/net/can/rcar_can.c | |||
@@ -906,7 +906,6 @@ MODULE_DEVICE_TABLE(of, rcar_can_of_table); | |||
906 | static struct platform_driver rcar_can_driver = { | 906 | static struct platform_driver rcar_can_driver = { |
907 | .driver = { | 907 | .driver = { |
908 | .name = RCAR_CAN_DRV_NAME, | 908 | .name = RCAR_CAN_DRV_NAME, |
909 | .owner = THIS_MODULE, | ||
910 | .of_match_table = of_match_ptr(rcar_can_of_table), | 909 | .of_match_table = of_match_ptr(rcar_can_of_table), |
911 | .pm = &rcar_can_pm_ops, | 910 | .pm = &rcar_can_pm_ops, |
912 | }, | 911 | }, |
diff --git a/drivers/net/can/sja1000/sja1000_isa.c b/drivers/net/can/sja1000/sja1000_isa.c index 014695d7e6a3..e97e6d35b300 100644 --- a/drivers/net/can/sja1000/sja1000_isa.c +++ b/drivers/net/can/sja1000/sja1000_isa.c | |||
@@ -259,7 +259,6 @@ static struct platform_driver sja1000_isa_driver = { | |||
259 | .remove = sja1000_isa_remove, | 259 | .remove = sja1000_isa_remove, |
260 | .driver = { | 260 | .driver = { |
261 | .name = DRV_NAME, | 261 | .name = DRV_NAME, |
262 | .owner = THIS_MODULE, | ||
263 | }, | 262 | }, |
264 | }; | 263 | }; |
265 | 264 | ||
diff --git a/drivers/net/can/sja1000/sja1000_platform.c b/drivers/net/can/sja1000/sja1000_platform.c index 95a844a7ee7b..93115250eaf5 100644 --- a/drivers/net/can/sja1000/sja1000_platform.c +++ b/drivers/net/can/sja1000/sja1000_platform.c | |||
@@ -253,7 +253,6 @@ static struct platform_driver sp_driver = { | |||
253 | .remove = sp_remove, | 253 | .remove = sp_remove, |
254 | .driver = { | 254 | .driver = { |
255 | .name = DRV_NAME, | 255 | .name = DRV_NAME, |
256 | .owner = THIS_MODULE, | ||
257 | .of_match_table = sp_of_table, | 256 | .of_match_table = sp_of_table, |
258 | }, | 257 | }, |
259 | }; | 258 | }; |
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index bacd236ce306..2bf98d862302 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -856,7 +856,6 @@ platform_resource_failed: | |||
856 | static struct platform_driver softing_driver = { | 856 | static struct platform_driver softing_driver = { |
857 | .driver = { | 857 | .driver = { |
858 | .name = "softing", | 858 | .name = "softing", |
859 | .owner = THIS_MODULE, | ||
860 | }, | 859 | }, |
861 | .probe = softing_pdev_probe, | 860 | .probe = softing_pdev_probe, |
862 | .remove = softing_pdev_remove, | 861 | .remove = softing_pdev_remove, |
diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c index 258b9c4856ec..9a07eafe554b 100644 --- a/drivers/net/can/ti_hecc.c +++ b/drivers/net/can/ti_hecc.c | |||
@@ -1039,7 +1039,6 @@ static int ti_hecc_resume(struct platform_device *pdev) | |||
1039 | static struct platform_driver ti_hecc_driver = { | 1039 | static struct platform_driver ti_hecc_driver = { |
1040 | .driver = { | 1040 | .driver = { |
1041 | .name = DRV_NAME, | 1041 | .name = DRV_NAME, |
1042 | .owner = THIS_MODULE, | ||
1043 | }, | 1042 | }, |
1044 | .probe = ti_hecc_probe, | 1043 | .probe = ti_hecc_probe, |
1045 | .remove = ti_hecc_remove, | 1044 | .remove = ti_hecc_remove, |
diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index 5e8b5609c067..72fe96fc8fef 100644 --- a/drivers/net/can/xilinx_can.c +++ b/drivers/net/can/xilinx_can.c | |||
@@ -1194,7 +1194,6 @@ static struct platform_driver xcan_driver = { | |||
1194 | .probe = xcan_probe, | 1194 | .probe = xcan_probe, |
1195 | .remove = xcan_remove, | 1195 | .remove = xcan_remove, |
1196 | .driver = { | 1196 | .driver = { |
1197 | .owner = THIS_MODULE, | ||
1198 | .name = DRIVER_NAME, | 1197 | .name = DRIVER_NAME, |
1199 | .pm = &xcan_dev_pm_ops, | 1198 | .pm = &xcan_dev_pm_ops, |
1200 | .of_match_table = xcan_of_match, | 1199 | .of_match_table = xcan_of_match, |
diff --git a/drivers/net/ethernet/8390/ax88796.c b/drivers/net/ethernet/8390/ax88796.c index 1d162ccb4733..0443654f0339 100644 --- a/drivers/net/ethernet/8390/ax88796.c +++ b/drivers/net/ethernet/8390/ax88796.c | |||
@@ -1000,7 +1000,6 @@ static int ax_resume(struct platform_device *pdev) | |||
1000 | static struct platform_driver axdrv = { | 1000 | static struct platform_driver axdrv = { |
1001 | .driver = { | 1001 | .driver = { |
1002 | .name = "ax88796", | 1002 | .name = "ax88796", |
1003 | .owner = THIS_MODULE, | ||
1004 | }, | 1003 | }, |
1005 | .probe = ax_probe, | 1004 | .probe = ax_probe, |
1006 | .remove = ax_remove, | 1005 | .remove = ax_remove, |
diff --git a/drivers/net/ethernet/8390/mcf8390.c b/drivers/net/ethernet/8390/mcf8390.c index 38fcdcf7c4c7..e1c055574a11 100644 --- a/drivers/net/ethernet/8390/mcf8390.c +++ b/drivers/net/ethernet/8390/mcf8390.c | |||
@@ -467,7 +467,6 @@ static int mcf8390_remove(struct platform_device *pdev) | |||
467 | static struct platform_driver mcf8390_drv = { | 467 | static struct platform_driver mcf8390_drv = { |
468 | .driver = { | 468 | .driver = { |
469 | .name = "mcf8390", | 469 | .name = "mcf8390", |
470 | .owner = THIS_MODULE, | ||
471 | }, | 470 | }, |
472 | .probe = mcf8390_probe, | 471 | .probe = mcf8390_probe, |
473 | .remove = mcf8390_remove, | 472 | .remove = mcf8390_remove, |
diff --git a/drivers/net/ethernet/8390/ne.c b/drivers/net/ethernet/8390/ne.c index de566fb6e0f7..c063b410a163 100644 --- a/drivers/net/ethernet/8390/ne.c +++ b/drivers/net/ethernet/8390/ne.c | |||
@@ -920,7 +920,6 @@ static struct platform_driver ne_driver = { | |||
920 | .resume = ne_drv_resume, | 920 | .resume = ne_drv_resume, |
921 | .driver = { | 921 | .driver = { |
922 | .name = DRV_NAME, | 922 | .name = DRV_NAME, |
923 | .owner = THIS_MODULE, | ||
924 | }, | 923 | }, |
925 | }; | 924 | }; |
926 | 925 | ||
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c index 8ed4d3408ef6..ec20611e9de2 100644 --- a/drivers/net/ethernet/adi/bfin_mac.c +++ b/drivers/net/ethernet/adi/bfin_mac.c | |||
@@ -1901,7 +1901,6 @@ static struct platform_driver bfin_mii_bus_driver = { | |||
1901 | .remove = bfin_mii_bus_remove, | 1901 | .remove = bfin_mii_bus_remove, |
1902 | .driver = { | 1902 | .driver = { |
1903 | .name = "bfin_mii_bus", | 1903 | .name = "bfin_mii_bus", |
1904 | .owner = THIS_MODULE, | ||
1905 | }, | 1904 | }, |
1906 | }; | 1905 | }; |
1907 | 1906 | ||
@@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = { | |||
1912 | .suspend = bfin_mac_suspend, | 1911 | .suspend = bfin_mac_suspend, |
1913 | .driver = { | 1912 | .driver = { |
1914 | .name = KBUILD_MODNAME, | 1913 | .name = KBUILD_MODNAME, |
1915 | .owner = THIS_MODULE, | ||
1916 | }, | 1914 | }, |
1917 | }; | 1915 | }; |
1918 | 1916 | ||
diff --git a/drivers/net/ethernet/aeroflex/greth.c b/drivers/net/ethernet/aeroflex/greth.c index 3005155e412b..2b8bfeeee9cf 100644 --- a/drivers/net/ethernet/aeroflex/greth.c +++ b/drivers/net/ethernet/aeroflex/greth.c | |||
@@ -1603,7 +1603,6 @@ MODULE_DEVICE_TABLE(of, greth_of_match); | |||
1603 | static struct platform_driver greth_of_driver = { | 1603 | static struct platform_driver greth_of_driver = { |
1604 | .driver = { | 1604 | .driver = { |
1605 | .name = "grlib-greth", | 1605 | .name = "grlib-greth", |
1606 | .owner = THIS_MODULE, | ||
1607 | .of_match_table = greth_of_match, | 1606 | .of_match_table = greth_of_match, |
1608 | }, | 1607 | }, |
1609 | .probe = greth_of_probe, | 1608 | .probe = greth_of_probe, |
diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c index 4efc4355d345..3498760dc22a 100644 --- a/drivers/net/ethernet/altera/altera_tse_main.c +++ b/drivers/net/ethernet/altera/altera_tse_main.c | |||
@@ -1587,7 +1587,6 @@ static struct platform_driver altera_tse_driver = { | |||
1587 | .resume = NULL, | 1587 | .resume = NULL, |
1588 | .driver = { | 1588 | .driver = { |
1589 | .name = ALTERA_TSE_RESOURCE_NAME, | 1589 | .name = ALTERA_TSE_RESOURCE_NAME, |
1590 | .owner = THIS_MODULE, | ||
1591 | .of_match_table = altera_tse_ids, | 1590 | .of_match_table = altera_tse_ids, |
1592 | }, | 1591 | }, |
1593 | }; | 1592 | }; |
diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c index 6c323f4f457b..cb367cc59e0b 100644 --- a/drivers/net/ethernet/amd/au1000_eth.c +++ b/drivers/net/ethernet/amd/au1000_eth.c | |||
@@ -1461,7 +1461,6 @@ static struct platform_driver au1000_eth_driver = { | |||
1461 | .remove = au1000_remove, | 1461 | .remove = au1000_remove, |
1462 | .driver = { | 1462 | .driver = { |
1463 | .name = "au1000-eth", | 1463 | .name = "au1000-eth", |
1464 | .owner = THIS_MODULE, | ||
1465 | }, | 1464 | }, |
1466 | }; | 1465 | }; |
1467 | 1466 | ||
diff --git a/drivers/net/ethernet/amd/sunlance.c b/drivers/net/ethernet/amd/sunlance.c index 5e4273b7aa27..7847638bdd22 100644 --- a/drivers/net/ethernet/amd/sunlance.c +++ b/drivers/net/ethernet/amd/sunlance.c | |||
@@ -1524,7 +1524,6 @@ MODULE_DEVICE_TABLE(of, sunlance_sbus_match); | |||
1524 | static struct platform_driver sunlance_sbus_driver = { | 1524 | static struct platform_driver sunlance_sbus_driver = { |
1525 | .driver = { | 1525 | .driver = { |
1526 | .name = "sunlance", | 1526 | .name = "sunlance", |
1527 | .owner = THIS_MODULE, | ||
1528 | .of_match_table = sunlance_sbus_match, | 1527 | .of_match_table = sunlance_sbus_match, |
1529 | }, | 1528 | }, |
1530 | .probe = sunlance_sbus_probe, | 1529 | .probe = sunlance_sbus_probe, |
diff --git a/drivers/net/ethernet/apple/macmace.c b/drivers/net/ethernet/apple/macmace.c index 58a200df4c35..6e66127e6abf 100644 --- a/drivers/net/ethernet/apple/macmace.c +++ b/drivers/net/ethernet/apple/macmace.c | |||
@@ -768,7 +768,6 @@ static struct platform_driver mac_mace_driver = { | |||
768 | .remove = mac_mace_device_remove, | 768 | .remove = mac_mace_device_remove, |
769 | .driver = { | 769 | .driver = { |
770 | .name = mac_mace_string, | 770 | .name = mac_mace_string, |
771 | .owner = THIS_MODULE, | ||
772 | }, | 771 | }, |
773 | }; | 772 | }; |
774 | 773 | ||
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.c b/drivers/net/ethernet/broadcom/bcmsysport.c index 3a6778a667f4..74d492558def 100644 --- a/drivers/net/ethernet/broadcom/bcmsysport.c +++ b/drivers/net/ethernet/broadcom/bcmsysport.c | |||
@@ -1953,7 +1953,6 @@ static struct platform_driver bcm_sysport_driver = { | |||
1953 | .remove = bcm_sysport_remove, | 1953 | .remove = bcm_sysport_remove, |
1954 | .driver = { | 1954 | .driver = { |
1955 | .name = "brcm-systemport", | 1955 | .name = "brcm-systemport", |
1956 | .owner = THIS_MODULE, | ||
1957 | .of_match_table = bcm_sysport_of_match, | 1956 | .of_match_table = bcm_sysport_of_match, |
1958 | .pm = &bcm_sysport_pm_ops, | 1957 | .pm = &bcm_sysport_pm_ops, |
1959 | }, | 1958 | }, |
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index fdc9ec09e453..aafbefe9f78f 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c | |||
@@ -2735,7 +2735,6 @@ static struct platform_driver bcmgenet_driver = { | |||
2735 | .remove = bcmgenet_remove, | 2735 | .remove = bcmgenet_remove, |
2736 | .driver = { | 2736 | .driver = { |
2737 | .name = "bcmgenet", | 2737 | .name = "bcmgenet", |
2738 | .owner = THIS_MODULE, | ||
2739 | .of_match_table = bcmgenet_match, | 2738 | .of_match_table = bcmgenet_match, |
2740 | .pm = &bcmgenet_pm_ops, | 2739 | .pm = &bcmgenet_pm_ops, |
2741 | }, | 2740 | }, |
diff --git a/drivers/net/ethernet/broadcom/sb1250-mac.c b/drivers/net/ethernet/broadcom/sb1250-mac.c index b61c14ed9b8d..ac27e24264a5 100644 --- a/drivers/net/ethernet/broadcom/sb1250-mac.c +++ b/drivers/net/ethernet/broadcom/sb1250-mac.c | |||
@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = { | |||
2664 | .remove = __exit_p(sbmac_remove), | 2664 | .remove = __exit_p(sbmac_remove), |
2665 | .driver = { | 2665 | .driver = { |
2666 | .name = sbmac_string, | 2666 | .name = sbmac_string, |
2667 | .owner = THIS_MODULE, | ||
2668 | }, | 2667 | }, |
2669 | }; | 2668 | }; |
2670 | 2669 | ||
diff --git a/drivers/net/ethernet/cadence/at91_ether.c b/drivers/net/ethernet/cadence/at91_ether.c index 4a24b9a6ad75..55eb7f2af2b4 100644 --- a/drivers/net/ethernet/cadence/at91_ether.c +++ b/drivers/net/ethernet/cadence/at91_ether.c | |||
@@ -469,7 +469,6 @@ static struct platform_driver at91ether_driver = { | |||
469 | .resume = at91ether_resume, | 469 | .resume = at91ether_resume, |
470 | .driver = { | 470 | .driver = { |
471 | .name = "at91_ether", | 471 | .name = "at91_ether", |
472 | .owner = THIS_MODULE, | ||
473 | .of_match_table = of_match_ptr(at91ether_dt_ids), | 472 | .of_match_table = of_match_ptr(at91ether_dt_ids), |
474 | }, | 473 | }, |
475 | }; | 474 | }; |
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 4d9fc0509af6..41113e51c704 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c | |||
@@ -2321,7 +2321,6 @@ static struct platform_driver macb_driver = { | |||
2321 | .remove = __exit_p(macb_remove), | 2321 | .remove = __exit_p(macb_remove), |
2322 | .driver = { | 2322 | .driver = { |
2323 | .name = "macb", | 2323 | .name = "macb", |
2324 | .owner = THIS_MODULE, | ||
2325 | .of_match_table = of_match_ptr(macb_dt_ids), | 2324 | .of_match_table = of_match_ptr(macb_dt_ids), |
2326 | .pm = &macb_pm_ops, | 2325 | .pm = &macb_pm_ops, |
2327 | }, | 2326 | }, |
diff --git a/drivers/net/ethernet/cirrus/cs89x0.c b/drivers/net/ethernet/cirrus/cs89x0.c index 9823a0ea7937..b2427928eb11 100644 --- a/drivers/net/ethernet/cirrus/cs89x0.c +++ b/drivers/net/ethernet/cirrus/cs89x0.c | |||
@@ -1897,7 +1897,6 @@ static int cs89x0_platform_remove(struct platform_device *pdev) | |||
1897 | static struct platform_driver cs89x0_driver = { | 1897 | static struct platform_driver cs89x0_driver = { |
1898 | .driver = { | 1898 | .driver = { |
1899 | .name = DRV_NAME, | 1899 | .name = DRV_NAME, |
1900 | .owner = THIS_MODULE, | ||
1901 | }, | 1900 | }, |
1902 | .remove = cs89x0_platform_remove, | 1901 | .remove = cs89x0_platform_remove, |
1903 | }; | 1902 | }; |
diff --git a/drivers/net/ethernet/cirrus/ep93xx_eth.c b/drivers/net/ethernet/cirrus/ep93xx_eth.c index 2be2a99c5ea3..3a12c096ea1c 100644 --- a/drivers/net/ethernet/cirrus/ep93xx_eth.c +++ b/drivers/net/ethernet/cirrus/ep93xx_eth.c | |||
@@ -881,7 +881,6 @@ static struct platform_driver ep93xx_eth_driver = { | |||
881 | .remove = ep93xx_eth_remove, | 881 | .remove = ep93xx_eth_remove, |
882 | .driver = { | 882 | .driver = { |
883 | .name = "ep93xx-eth", | 883 | .name = "ep93xx-eth", |
884 | .owner = THIS_MODULE, | ||
885 | }, | 884 | }, |
886 | }; | 885 | }; |
887 | 886 | ||
diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet/davicom/dm9000.c index f3ba840cbf7b..ef0bb58750e6 100644 --- a/drivers/net/ethernet/davicom/dm9000.c +++ b/drivers/net/ethernet/davicom/dm9000.c | |||
@@ -1749,7 +1749,6 @@ MODULE_DEVICE_TABLE(of, dm9000_of_matches); | |||
1749 | static struct platform_driver dm9000_driver = { | 1749 | static struct platform_driver dm9000_driver = { |
1750 | .driver = { | 1750 | .driver = { |
1751 | .name = "dm9000", | 1751 | .name = "dm9000", |
1752 | .owner = THIS_MODULE, | ||
1753 | .pm = &dm9000_drv_pm_ops, | 1752 | .pm = &dm9000_drv_pm_ops, |
1754 | .of_match_table = of_match_ptr(dm9000_of_matches), | 1753 | .of_match_table = of_match_ptr(dm9000_of_matches), |
1755 | }, | 1754 | }, |
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index 0bc6c102f3ac..f88cfaa359e7 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c | |||
@@ -1312,7 +1312,6 @@ static struct platform_driver ethoc_driver = { | |||
1312 | .resume = ethoc_resume, | 1312 | .resume = ethoc_resume, |
1313 | .driver = { | 1313 | .driver = { |
1314 | .name = "ethoc", | 1314 | .name = "ethoc", |
1315 | .owner = THIS_MODULE, | ||
1316 | .of_match_table = ethoc_match, | 1315 | .of_match_table = ethoc_match, |
1317 | }, | 1316 | }, |
1318 | }; | 1317 | }; |
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index c77fa4a69844..6d0c5d5eea6d 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c | |||
@@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = { | |||
1335 | .remove = __exit_p(ftgmac100_remove), | 1335 | .remove = __exit_p(ftgmac100_remove), |
1336 | .driver = { | 1336 | .driver = { |
1337 | .name = DRV_NAME, | 1337 | .name = DRV_NAME, |
1338 | .owner = THIS_MODULE, | ||
1339 | }, | 1338 | }, |
1340 | }; | 1339 | }; |
1341 | 1340 | ||
diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index 4ff1adc6bfca..dce5f7b7f772 100644 --- a/drivers/net/ethernet/faraday/ftmac100.c +++ b/drivers/net/ethernet/faraday/ftmac100.c | |||
@@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = { | |||
1177 | .remove = __exit_p(ftmac100_remove), | 1177 | .remove = __exit_p(ftmac100_remove), |
1178 | .driver = { | 1178 | .driver = { |
1179 | .name = DRV_NAME, | 1179 | .name = DRV_NAME, |
1180 | .owner = THIS_MODULE, | ||
1181 | }, | 1180 | }, |
1182 | }; | 1181 | }; |
1183 | 1182 | ||
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 50a851db2852..5b937c6cfe77 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c | |||
@@ -3396,7 +3396,6 @@ static SIMPLE_DEV_PM_OPS(fec_pm_ops, fec_suspend, fec_resume); | |||
3396 | static struct platform_driver fec_driver = { | 3396 | static struct platform_driver fec_driver = { |
3397 | .driver = { | 3397 | .driver = { |
3398 | .name = DRIVER_NAME, | 3398 | .name = DRIVER_NAME, |
3399 | .owner = THIS_MODULE, | ||
3400 | .pm = &fec_pm_ops, | 3399 | .pm = &fec_pm_ops, |
3401 | .of_match_table = fec_dt_ids, | 3400 | .of_match_table = fec_dt_ids, |
3402 | }, | 3401 | }, |
diff --git a/drivers/net/ethernet/freescale/fec_mpc52xx.c b/drivers/net/ethernet/freescale/fec_mpc52xx.c index ff55fbb20a75..f495796248db 100644 --- a/drivers/net/ethernet/freescale/fec_mpc52xx.c +++ b/drivers/net/ethernet/freescale/fec_mpc52xx.c | |||
@@ -1069,7 +1069,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_fec_match); | |||
1069 | static struct platform_driver mpc52xx_fec_driver = { | 1069 | static struct platform_driver mpc52xx_fec_driver = { |
1070 | .driver = { | 1070 | .driver = { |
1071 | .name = DRIVER_NAME, | 1071 | .name = DRIVER_NAME, |
1072 | .owner = THIS_MODULE, | ||
1073 | .of_match_table = mpc52xx_fec_match, | 1072 | .of_match_table = mpc52xx_fec_match, |
1074 | }, | 1073 | }, |
1075 | .probe = mpc52xx_fec_probe, | 1074 | .probe = mpc52xx_fec_probe, |
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c index c92c3b7876ca..9e2bcb807923 100644 --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |||
@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_match); | |||
1087 | 1087 | ||
1088 | static struct platform_driver fs_enet_driver = { | 1088 | static struct platform_driver fs_enet_driver = { |
1089 | .driver = { | 1089 | .driver = { |
1090 | .owner = THIS_MODULE, | ||
1091 | .name = "fs_enet", | 1090 | .name = "fs_enet", |
1092 | .of_match_table = fs_enet_match, | 1091 | .of_match_table = fs_enet_match, |
1093 | }, | 1092 | }, |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c index 3d3fde66c2cc..1d5617d2d8bd 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | |||
@@ -224,7 +224,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_bb_match); | |||
224 | static struct platform_driver fs_enet_bb_mdio_driver = { | 224 | static struct platform_driver fs_enet_bb_mdio_driver = { |
225 | .driver = { | 225 | .driver = { |
226 | .name = "fsl-bb-mdio", | 226 | .name = "fsl-bb-mdio", |
227 | .owner = THIS_MODULE, | ||
228 | .of_match_table = fs_enet_mdio_bb_match, | 227 | .of_match_table = fs_enet_mdio_bb_match, |
229 | }, | 228 | }, |
230 | .probe = fs_enet_mdio_probe, | 229 | .probe = fs_enet_mdio_probe, |
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c index ebf5d6429a8d..1648e3582500 100644 --- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c +++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c | |||
@@ -225,7 +225,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_fec_match); | |||
225 | static struct platform_driver fs_enet_fec_mdio_driver = { | 225 | static struct platform_driver fs_enet_fec_mdio_driver = { |
226 | .driver = { | 226 | .driver = { |
227 | .name = "fsl-fec-mdio", | 227 | .name = "fsl-fec-mdio", |
228 | .owner = THIS_MODULE, | ||
229 | .of_match_table = fs_enet_mdio_fec_match, | 228 | .of_match_table = fs_enet_mdio_fec_match, |
230 | }, | 229 | }, |
231 | .probe = fs_enet_mdio_probe, | 230 | .probe = fs_enet_mdio_probe, |
diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c b/drivers/net/ethernet/freescale/fsl_pq_mdio.c index 964c6bf37710..d1a91e344e6b 100644 --- a/drivers/net/ethernet/freescale/fsl_pq_mdio.c +++ b/drivers/net/ethernet/freescale/fsl_pq_mdio.c | |||
@@ -488,7 +488,6 @@ static int fsl_pq_mdio_remove(struct platform_device *pdev) | |||
488 | static struct platform_driver fsl_pq_mdio_driver = { | 488 | static struct platform_driver fsl_pq_mdio_driver = { |
489 | .driver = { | 489 | .driver = { |
490 | .name = "fsl-pq_mdio", | 490 | .name = "fsl-pq_mdio", |
491 | .owner = THIS_MODULE, | ||
492 | .of_match_table = fsl_pq_mdio_match, | 491 | .of_match_table = fsl_pq_mdio_match, |
493 | }, | 492 | }, |
494 | .probe = fsl_pq_mdio_probe, | 493 | .probe = fsl_pq_mdio_probe, |
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c index 4fdf0aa16978..610a4a87e86c 100644 --- a/drivers/net/ethernet/freescale/gianfar.c +++ b/drivers/net/ethernet/freescale/gianfar.c | |||
@@ -3472,7 +3472,6 @@ MODULE_DEVICE_TABLE(of, gfar_match); | |||
3472 | static struct platform_driver gfar_driver = { | 3472 | static struct platform_driver gfar_driver = { |
3473 | .driver = { | 3473 | .driver = { |
3474 | .name = "fsl-gianfar", | 3474 | .name = "fsl-gianfar", |
3475 | .owner = THIS_MODULE, | ||
3476 | .pm = GFAR_PM_OPS, | 3475 | .pm = GFAR_PM_OPS, |
3477 | .of_match_table = gfar_match, | 3476 | .of_match_table = gfar_match, |
3478 | }, | 3477 | }, |
diff --git a/drivers/net/ethernet/freescale/gianfar_ptp.c b/drivers/net/ethernet/freescale/gianfar_ptp.c index bb568006f37d..16826341a4c9 100644 --- a/drivers/net/ethernet/freescale/gianfar_ptp.c +++ b/drivers/net/ethernet/freescale/gianfar_ptp.c | |||
@@ -563,7 +563,6 @@ static struct platform_driver gianfar_ptp_driver = { | |||
563 | .driver = { | 563 | .driver = { |
564 | .name = "gianfar_ptp", | 564 | .name = "gianfar_ptp", |
565 | .of_match_table = match_table, | 565 | .of_match_table = match_table, |
566 | .owner = THIS_MODULE, | ||
567 | }, | 566 | }, |
568 | .probe = gianfar_ptp_probe, | 567 | .probe = gianfar_ptp_probe, |
569 | .remove = gianfar_ptp_remove, | 568 | .remove = gianfar_ptp_remove, |
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 3cf0478b3728..357e8b576905 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -3943,7 +3943,6 @@ MODULE_DEVICE_TABLE(of, ucc_geth_match); | |||
3943 | static struct platform_driver ucc_geth_driver = { | 3943 | static struct platform_driver ucc_geth_driver = { |
3944 | .driver = { | 3944 | .driver = { |
3945 | .name = DRV_NAME, | 3945 | .name = DRV_NAME, |
3946 | .owner = THIS_MODULE, | ||
3947 | .of_match_table = ucc_geth_match, | 3946 | .of_match_table = ucc_geth_match, |
3948 | }, | 3947 | }, |
3949 | .probe = ucc_geth_probe, | 3948 | .probe = ucc_geth_probe, |
diff --git a/drivers/net/ethernet/i825xx/sni_82596.c b/drivers/net/ethernet/i825xx/sni_82596.c index 372fa8d1fda1..2af7f77345fb 100644 --- a/drivers/net/ethernet/i825xx/sni_82596.c +++ b/drivers/net/ethernet/i825xx/sni_82596.c | |||
@@ -165,7 +165,6 @@ static struct platform_driver sni_82596_driver = { | |||
165 | .remove = sni_82596_driver_remove, | 165 | .remove = sni_82596_driver_remove, |
166 | .driver = { | 166 | .driver = { |
167 | .name = sni_82596_string, | 167 | .name = sni_82596_string, |
168 | .owner = THIS_MODULE, | ||
169 | }, | 168 | }, |
170 | }; | 169 | }; |
171 | 170 | ||
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c index 87bd953cc2ee..61ae5cbd1270 100644 --- a/drivers/net/ethernet/ibm/emac/core.c +++ b/drivers/net/ethernet/ibm/emac/core.c | |||
@@ -3009,7 +3009,6 @@ MODULE_DEVICE_TABLE(of, emac_match); | |||
3009 | static struct platform_driver emac_driver = { | 3009 | static struct platform_driver emac_driver = { |
3010 | .driver = { | 3010 | .driver = { |
3011 | .name = "emac", | 3011 | .name = "emac", |
3012 | .owner = THIS_MODULE, | ||
3013 | .of_match_table = emac_match, | 3012 | .of_match_table = emac_match, |
3014 | }, | 3013 | }, |
3015 | .probe = emac_probe, | 3014 | .probe = emac_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c index 63eb959a28aa..dddaab11a4c7 100644 --- a/drivers/net/ethernet/ibm/emac/mal.c +++ b/drivers/net/ethernet/ibm/emac/mal.c | |||
@@ -776,7 +776,6 @@ static struct of_device_id mal_platform_match[] = | |||
776 | static struct platform_driver mal_of_driver = { | 776 | static struct platform_driver mal_of_driver = { |
777 | .driver = { | 777 | .driver = { |
778 | .name = "mcmal", | 778 | .name = "mcmal", |
779 | .owner = THIS_MODULE, | ||
780 | .of_match_table = mal_platform_match, | 779 | .of_match_table = mal_platform_match, |
781 | }, | 780 | }, |
782 | .probe = mal_probe, | 781 | .probe = mal_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/rgmii.c b/drivers/net/ethernet/ibm/emac/rgmii.c index a01182cce965..457088fc5b06 100644 --- a/drivers/net/ethernet/ibm/emac/rgmii.c +++ b/drivers/net/ethernet/ibm/emac/rgmii.c | |||
@@ -319,7 +319,6 @@ static struct of_device_id rgmii_match[] = | |||
319 | static struct platform_driver rgmii_driver = { | 319 | static struct platform_driver rgmii_driver = { |
320 | .driver = { | 320 | .driver = { |
321 | .name = "emac-rgmii", | 321 | .name = "emac-rgmii", |
322 | .owner = THIS_MODULE, | ||
323 | .of_match_table = rgmii_match, | 322 | .of_match_table = rgmii_match, |
324 | }, | 323 | }, |
325 | .probe = rgmii_probe, | 324 | .probe = rgmii_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/tah.c b/drivers/net/ethernet/ibm/emac/tah.c index 9f24769ed826..cb18e7f917c6 100644 --- a/drivers/net/ethernet/ibm/emac/tah.c +++ b/drivers/net/ethernet/ibm/emac/tah.c | |||
@@ -163,7 +163,6 @@ static struct of_device_id tah_match[] = | |||
163 | static struct platform_driver tah_driver = { | 163 | static struct platform_driver tah_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .name = "emac-tah", | 165 | .name = "emac-tah", |
166 | .owner = THIS_MODULE, | ||
167 | .of_match_table = tah_match, | 166 | .of_match_table = tah_match, |
168 | }, | 167 | }, |
169 | .probe = tah_probe, | 168 | .probe = tah_probe, |
diff --git a/drivers/net/ethernet/ibm/emac/zmii.c b/drivers/net/ethernet/ibm/emac/zmii.c index 9ca67a38c062..36409ccb75ea 100644 --- a/drivers/net/ethernet/ibm/emac/zmii.c +++ b/drivers/net/ethernet/ibm/emac/zmii.c | |||
@@ -310,7 +310,6 @@ static struct of_device_id zmii_match[] = | |||
310 | static struct platform_driver zmii_driver = { | 310 | static struct platform_driver zmii_driver = { |
311 | .driver = { | 311 | .driver = { |
312 | .name = "emac-zmii", | 312 | .name = "emac-zmii", |
313 | .owner = THIS_MODULE, | ||
314 | .of_match_table = zmii_match, | 313 | .of_match_table = zmii_match, |
315 | }, | 314 | }, |
316 | .probe = zmii_probe, | 315 | .probe = zmii_probe, |
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index 2dad4d5047ba..581928c068f2 100644 --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c | |||
@@ -789,7 +789,6 @@ static struct platform_driver ltq_mii_driver = { | |||
789 | .remove = ltq_etop_remove, | 789 | .remove = ltq_etop_remove, |
790 | .driver = { | 790 | .driver = { |
791 | .name = "ltq_etop", | 791 | .name = "ltq_etop", |
792 | .owner = THIS_MODULE, | ||
793 | }, | 792 | }, |
794 | }; | 793 | }; |
795 | 794 | ||
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c index b151a949f352..513276489d3f 100644 --- a/drivers/net/ethernet/marvell/mv643xx_eth.c +++ b/drivers/net/ethernet/marvell/mv643xx_eth.c | |||
@@ -2837,7 +2837,6 @@ static struct platform_driver mv643xx_eth_shared_driver = { | |||
2837 | .remove = mv643xx_eth_shared_remove, | 2837 | .remove = mv643xx_eth_shared_remove, |
2838 | .driver = { | 2838 | .driver = { |
2839 | .name = MV643XX_ETH_SHARED_NAME, | 2839 | .name = MV643XX_ETH_SHARED_NAME, |
2840 | .owner = THIS_MODULE, | ||
2841 | .of_match_table = of_match_ptr(mv643xx_eth_shared_ids), | 2840 | .of_match_table = of_match_ptr(mv643xx_eth_shared_ids), |
2842 | }, | 2841 | }, |
2843 | }; | 2842 | }; |
@@ -3186,7 +3185,6 @@ static struct platform_driver mv643xx_eth_driver = { | |||
3186 | .shutdown = mv643xx_eth_shutdown, | 3185 | .shutdown = mv643xx_eth_shutdown, |
3187 | .driver = { | 3186 | .driver = { |
3188 | .name = MV643XX_ETH_NAME, | 3187 | .name = MV643XX_ETH_NAME, |
3189 | .owner = THIS_MODULE, | ||
3190 | }, | 3188 | }, |
3191 | }; | 3189 | }; |
3192 | 3190 | ||
diff --git a/drivers/net/ethernet/micrel/ks8695net.c b/drivers/net/ethernet/micrel/ks8695net.c index 6c7c78baedca..a8522d8af95d 100644 --- a/drivers/net/ethernet/micrel/ks8695net.c +++ b/drivers/net/ethernet/micrel/ks8695net.c | |||
@@ -1612,7 +1612,6 @@ ks8695_drv_remove(struct platform_device *pdev) | |||
1612 | static struct platform_driver ks8695_driver = { | 1612 | static struct platform_driver ks8695_driver = { |
1613 | .driver = { | 1613 | .driver = { |
1614 | .name = MODULENAME, | 1614 | .name = MODULENAME, |
1615 | .owner = THIS_MODULE, | ||
1616 | }, | 1615 | }, |
1617 | .probe = ks8695_probe, | 1616 | .probe = ks8695_probe, |
1618 | .remove = ks8695_drv_remove, | 1617 | .remove = ks8695_drv_remove, |
diff --git a/drivers/net/ethernet/micrel/ks8842.c b/drivers/net/ethernet/micrel/ks8842.c index 0c33b92a5a81..f78909a00f15 100644 --- a/drivers/net/ethernet/micrel/ks8842.c +++ b/drivers/net/ethernet/micrel/ks8842.c | |||
@@ -1255,7 +1255,6 @@ static int ks8842_remove(struct platform_device *pdev) | |||
1255 | static struct platform_driver ks8842_platform_driver = { | 1255 | static struct platform_driver ks8842_platform_driver = { |
1256 | .driver = { | 1256 | .driver = { |
1257 | .name = DRV_NAME, | 1257 | .name = DRV_NAME, |
1258 | .owner = THIS_MODULE, | ||
1259 | }, | 1258 | }, |
1260 | .probe = ks8842_probe, | 1259 | .probe = ks8842_probe, |
1261 | .remove = ks8842_remove, | 1260 | .remove = ks8842_remove, |
diff --git a/drivers/net/ethernet/micrel/ks8851_mll.c b/drivers/net/ethernet/micrel/ks8851_mll.c index 0eb47649191b..2fc5cd56c0a8 100644 --- a/drivers/net/ethernet/micrel/ks8851_mll.c +++ b/drivers/net/ethernet/micrel/ks8851_mll.c | |||
@@ -1679,7 +1679,6 @@ static int ks8851_remove(struct platform_device *pdev) | |||
1679 | static struct platform_driver ks8851_platform_driver = { | 1679 | static struct platform_driver ks8851_platform_driver = { |
1680 | .driver = { | 1680 | .driver = { |
1681 | .name = DRV_NAME, | 1681 | .name = DRV_NAME, |
1682 | .owner = THIS_MODULE, | ||
1683 | .of_match_table = of_match_ptr(ks8851_ml_dt_ids), | 1682 | .of_match_table = of_match_ptr(ks8851_ml_dt_ids), |
1684 | }, | 1683 | }, |
1685 | .probe = ks8851_probe, | 1684 | .probe = ks8851_probe, |
diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c index bde1b70f473b..6c72e74fef3e 100644 --- a/drivers/net/ethernet/moxa/moxart_ether.c +++ b/drivers/net/ethernet/moxa/moxart_ether.c | |||
@@ -559,7 +559,6 @@ static struct platform_driver moxart_mac_driver = { | |||
559 | .remove = moxart_remove, | 559 | .remove = moxart_remove, |
560 | .driver = { | 560 | .driver = { |
561 | .name = "moxart-ethernet", | 561 | .name = "moxart-ethernet", |
562 | .owner = THIS_MODULE, | ||
563 | .of_match_table = moxart_mac_match, | 562 | .of_match_table = moxart_mac_match, |
564 | }, | 563 | }, |
565 | }; | 564 | }; |
diff --git a/drivers/net/ethernet/natsemi/jazzsonic.c b/drivers/net/ethernet/natsemi/jazzsonic.c index a5512a97cc4d..acf3f11e38cc 100644 --- a/drivers/net/ethernet/natsemi/jazzsonic.c +++ b/drivers/net/ethernet/natsemi/jazzsonic.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver jazz_sonic_driver = { | |||
287 | .remove = jazz_sonic_device_remove, | 287 | .remove = jazz_sonic_device_remove, |
288 | .driver = { | 288 | .driver = { |
289 | .name = jazz_sonic_string, | 289 | .name = jazz_sonic_string, |
290 | .owner = THIS_MODULE, | ||
291 | }, | 290 | }, |
292 | }; | 291 | }; |
293 | 292 | ||
diff --git a/drivers/net/ethernet/natsemi/macsonic.c b/drivers/net/ethernet/natsemi/macsonic.c index 9e4ddbba7036..5b2dcb03c29e 100644 --- a/drivers/net/ethernet/natsemi/macsonic.c +++ b/drivers/net/ethernet/natsemi/macsonic.c | |||
@@ -634,7 +634,6 @@ static struct platform_driver mac_sonic_driver = { | |||
634 | .remove = mac_sonic_device_remove, | 634 | .remove = mac_sonic_device_remove, |
635 | .driver = { | 635 | .driver = { |
636 | .name = mac_sonic_string, | 636 | .name = mac_sonic_string, |
637 | .owner = THIS_MODULE, | ||
638 | }, | 637 | }, |
639 | }; | 638 | }; |
640 | 639 | ||
diff --git a/drivers/net/ethernet/netx-eth.c b/drivers/net/ethernet/netx-eth.c index 8176c8a1cc6a..9fbc30264237 100644 --- a/drivers/net/ethernet/netx-eth.c +++ b/drivers/net/ethernet/netx-eth.c | |||
@@ -457,7 +457,6 @@ static struct platform_driver netx_eth_driver = { | |||
457 | .resume = netx_eth_drv_resume, | 457 | .resume = netx_eth_drv_resume, |
458 | .driver = { | 458 | .driver = { |
459 | .name = CARDNAME, | 459 | .name = CARDNAME, |
460 | .owner = THIS_MODULE, | ||
461 | }, | 460 | }, |
462 | }; | 461 | }; |
463 | 462 | ||
diff --git a/drivers/net/ethernet/nuvoton/w90p910_ether.c b/drivers/net/ethernet/nuvoton/w90p910_ether.c index 379b7fbded78..afa445842f3e 100644 --- a/drivers/net/ethernet/nuvoton/w90p910_ether.c +++ b/drivers/net/ethernet/nuvoton/w90p910_ether.c | |||
@@ -1081,7 +1081,6 @@ static struct platform_driver w90p910_ether_driver = { | |||
1081 | .remove = w90p910_ether_remove, | 1081 | .remove = w90p910_ether_remove, |
1082 | .driver = { | 1082 | .driver = { |
1083 | .name = "nuc900-emc", | 1083 | .name = "nuc900-emc", |
1084 | .owner = THIS_MODULE, | ||
1085 | }, | 1084 | }, |
1086 | }; | 1085 | }; |
1087 | 1086 | ||
diff --git a/drivers/net/ethernet/octeon/octeon_mgmt.c b/drivers/net/ethernet/octeon/octeon_mgmt.c index a42293092ea4..d36599f47af5 100644 --- a/drivers/net/ethernet/octeon/octeon_mgmt.c +++ b/drivers/net/ethernet/octeon/octeon_mgmt.c | |||
@@ -1568,7 +1568,6 @@ MODULE_DEVICE_TABLE(of, octeon_mgmt_match); | |||
1568 | static struct platform_driver octeon_mgmt_driver = { | 1568 | static struct platform_driver octeon_mgmt_driver = { |
1569 | .driver = { | 1569 | .driver = { |
1570 | .name = "octeon_mgmt", | 1570 | .name = "octeon_mgmt", |
1571 | .owner = THIS_MODULE, | ||
1572 | .of_match_table = octeon_mgmt_match, | 1571 | .of_match_table = octeon_mgmt_match, |
1573 | }, | 1572 | }, |
1574 | .probe = octeon_mgmt_probe, | 1573 | .probe = octeon_mgmt_probe, |
diff --git a/drivers/net/ethernet/s6gmac.c b/drivers/net/ethernet/s6gmac.c index 1f4449ad8900..f537cbea20e5 100644 --- a/drivers/net/ethernet/s6gmac.c +++ b/drivers/net/ethernet/s6gmac.c | |||
@@ -1048,7 +1048,6 @@ static struct platform_driver s6gmac_driver = { | |||
1048 | .remove = s6gmac_remove, | 1048 | .remove = s6gmac_remove, |
1049 | .driver = { | 1049 | .driver = { |
1050 | .name = "s6gmac", | 1050 | .name = "s6gmac", |
1051 | .owner = THIS_MODULE, | ||
1052 | }, | 1051 | }, |
1053 | }; | 1052 | }; |
1054 | 1053 | ||
diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c index b147d469a799..b37db0b0da72 100644 --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c | |||
@@ -236,7 +236,6 @@ static struct platform_driver sxgbe_platform_driver = { | |||
236 | .remove = sxgbe_platform_remove, | 236 | .remove = sxgbe_platform_remove, |
237 | .driver = { | 237 | .driver = { |
238 | .name = SXGBE_RESOURCE_NAME, | 238 | .name = SXGBE_RESOURCE_NAME, |
239 | .owner = THIS_MODULE, | ||
240 | .pm = &sxgbe_platform_pm_ops, | 239 | .pm = &sxgbe_platform_pm_ops, |
241 | .of_match_table = of_match_ptr(sxgbe_dt_ids), | 240 | .of_match_table = of_match_ptr(sxgbe_dt_ids), |
242 | }, | 241 | }, |
diff --git a/drivers/net/ethernet/seeq/sgiseeq.c b/drivers/net/ethernet/seeq/sgiseeq.c index 69e4fd21adb4..ca7336605748 100644 --- a/drivers/net/ethernet/seeq/sgiseeq.c +++ b/drivers/net/ethernet/seeq/sgiseeq.c | |||
@@ -826,7 +826,6 @@ static struct platform_driver sgiseeq_driver = { | |||
826 | .remove = __exit_p(sgiseeq_remove), | 826 | .remove = __exit_p(sgiseeq_remove), |
827 | .driver = { | 827 | .driver = { |
828 | .name = "sgiseeq", | 828 | .name = "sgiseeq", |
829 | .owner = THIS_MODULE, | ||
830 | } | 829 | } |
831 | }; | 830 | }; |
832 | 831 | ||
diff --git a/drivers/net/ethernet/sgi/meth.c b/drivers/net/ethernet/sgi/meth.c index 5564a5fa3385..5eac523b4b0c 100644 --- a/drivers/net/ethernet/sgi/meth.c +++ b/drivers/net/ethernet/sgi/meth.c | |||
@@ -870,7 +870,6 @@ static struct platform_driver meth_driver = { | |||
870 | .remove = __exit_p(meth_remove), | 870 | .remove = __exit_p(meth_remove), |
871 | .driver = { | 871 | .driver = { |
872 | .name = "meth", | 872 | .name = "meth", |
873 | .owner = THIS_MODULE, | ||
874 | } | 873 | } |
875 | }; | 874 | }; |
876 | 875 | ||
diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c index e88df9c7f1c0..bd64eb982e52 100644 --- a/drivers/net/ethernet/smsc/smc911x.c +++ b/drivers/net/ethernet/smsc/smc911x.c | |||
@@ -2173,7 +2173,6 @@ static struct platform_driver smc911x_driver = { | |||
2173 | .resume = smc911x_drv_resume, | 2173 | .resume = smc911x_drv_resume, |
2174 | .driver = { | 2174 | .driver = { |
2175 | .name = CARDNAME, | 2175 | .name = CARDNAME, |
2176 | .owner = THIS_MODULE, | ||
2177 | }, | 2176 | }, |
2178 | }; | 2177 | }; |
2179 | 2178 | ||
diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 2c62208077fe..5d77e6f50dd8 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c | |||
@@ -2468,7 +2468,6 @@ static struct platform_driver smc_driver = { | |||
2468 | .remove = smc_drv_remove, | 2468 | .remove = smc_drv_remove, |
2469 | .driver = { | 2469 | .driver = { |
2470 | .name = CARDNAME, | 2470 | .name = CARDNAME, |
2471 | .owner = THIS_MODULE, | ||
2472 | .pm = &smc_drv_pm_ops, | 2471 | .pm = &smc_drv_pm_ops, |
2473 | .of_match_table = of_match_ptr(smc91x_match), | 2472 | .of_match_table = of_match_ptr(smc91x_match), |
2474 | }, | 2473 | }, |
diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c index affb29da353e..a255be08e34f 100644 --- a/drivers/net/ethernet/smsc/smsc911x.c +++ b/drivers/net/ethernet/smsc/smsc911x.c | |||
@@ -2610,7 +2610,6 @@ static struct platform_driver smsc911x_driver = { | |||
2610 | .remove = smsc911x_drv_remove, | 2610 | .remove = smsc911x_drv_remove, |
2611 | .driver = { | 2611 | .driver = { |
2612 | .name = SMSC_CHIPNAME, | 2612 | .name = SMSC_CHIPNAME, |
2613 | .owner = THIS_MODULE, | ||
2614 | .pm = SMSC911X_PM_OPS, | 2613 | .pm = SMSC911X_PM_OPS, |
2615 | .of_match_table = of_match_ptr(smsc911x_dt_ids), | 2614 | .of_match_table = of_match_ptr(smsc911x_dt_ids), |
2616 | }, | 2615 | }, |
diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c index 904fd1ab5f6e..a2a1d32742a6 100644 --- a/drivers/net/ethernet/sun/niu.c +++ b/drivers/net/ethernet/sun/niu.c | |||
@@ -10185,7 +10185,6 @@ MODULE_DEVICE_TABLE(of, niu_match); | |||
10185 | static struct platform_driver niu_of_driver = { | 10185 | static struct platform_driver niu_of_driver = { |
10186 | .driver = { | 10186 | .driver = { |
10187 | .name = "niu", | 10187 | .name = "niu", |
10188 | .owner = THIS_MODULE, | ||
10189 | .of_match_table = niu_match, | 10188 | .of_match_table = niu_match, |
10190 | }, | 10189 | }, |
10191 | .probe = niu_of_probe, | 10190 | .probe = niu_of_probe, |
diff --git a/drivers/net/ethernet/sun/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c index 206c1063815a..aa4f9d2d8fa9 100644 --- a/drivers/net/ethernet/sun/sunbmac.c +++ b/drivers/net/ethernet/sun/sunbmac.c | |||
@@ -1273,7 +1273,6 @@ MODULE_DEVICE_TABLE(of, bigmac_sbus_match); | |||
1273 | static struct platform_driver bigmac_sbus_driver = { | 1273 | static struct platform_driver bigmac_sbus_driver = { |
1274 | .driver = { | 1274 | .driver = { |
1275 | .name = "sunbmac", | 1275 | .name = "sunbmac", |
1276 | .owner = THIS_MODULE, | ||
1277 | .of_match_table = bigmac_sbus_match, | 1276 | .of_match_table = bigmac_sbus_match, |
1278 | }, | 1277 | }, |
1279 | .probe = bigmac_sbus_probe, | 1278 | .probe = bigmac_sbus_probe, |
diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index 72c8525d5457..4396c570beb4 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c | |||
@@ -3271,7 +3271,6 @@ MODULE_DEVICE_TABLE(of, hme_sbus_match); | |||
3271 | static struct platform_driver hme_sbus_driver = { | 3271 | static struct platform_driver hme_sbus_driver = { |
3272 | .driver = { | 3272 | .driver = { |
3273 | .name = "hme", | 3273 | .name = "hme", |
3274 | .owner = THIS_MODULE, | ||
3275 | .of_match_table = hme_sbus_match, | 3274 | .of_match_table = hme_sbus_match, |
3276 | }, | 3275 | }, |
3277 | .probe = hme_sbus_probe, | 3276 | .probe = hme_sbus_probe, |
diff --git a/drivers/net/ethernet/sun/sunqe.c b/drivers/net/ethernet/sun/sunqe.c index 5695ae2411de..9b825780b3be 100644 --- a/drivers/net/ethernet/sun/sunqe.c +++ b/drivers/net/ethernet/sun/sunqe.c | |||
@@ -963,7 +963,6 @@ MODULE_DEVICE_TABLE(of, qec_sbus_match); | |||
963 | static struct platform_driver qec_sbus_driver = { | 963 | static struct platform_driver qec_sbus_driver = { |
964 | .driver = { | 964 | .driver = { |
965 | .name = "qec", | 965 | .name = "qec", |
966 | .owner = THIS_MODULE, | ||
967 | .of_match_table = qec_sbus_match, | 966 | .of_match_table = qec_sbus_match, |
968 | }, | 967 | }, |
969 | .probe = qec_sbus_probe, | 968 | .probe = qec_sbus_probe, |
diff --git a/drivers/net/ethernet/tundra/tsi108_eth.c b/drivers/net/ethernet/tundra/tsi108_eth.c index 47eeb3abf7f7..520cf50a3d5a 100644 --- a/drivers/net/ethernet/tundra/tsi108_eth.c +++ b/drivers/net/ethernet/tundra/tsi108_eth.c | |||
@@ -161,7 +161,6 @@ static struct platform_driver tsi_eth_driver = { | |||
161 | .remove = tsi108_ether_remove, | 161 | .remove = tsi108_ether_remove, |
162 | .driver = { | 162 | .driver = { |
163 | .name = "tsi-ethernet", | 163 | .name = "tsi-ethernet", |
164 | .owner = THIS_MODULE, | ||
165 | }, | 164 | }, |
166 | }; | 165 | }; |
167 | 166 | ||
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index 68c5260cc322..a191afc23b56 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c | |||
@@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = { | |||
2508 | .remove = rhine_remove_one_platform, | 2508 | .remove = rhine_remove_one_platform, |
2509 | .driver = { | 2509 | .driver = { |
2510 | .name = DRV_NAME, | 2510 | .name = DRV_NAME, |
2511 | .owner = THIS_MODULE, | ||
2512 | .of_match_table = rhine_of_tbl, | 2511 | .of_match_table = rhine_of_tbl, |
2513 | .pm = RHINE_PM_OPS, | 2512 | .pm = RHINE_PM_OPS, |
2514 | } | 2513 | } |
diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c index a43e8492b1ce..282f83a63b67 100644 --- a/drivers/net/ethernet/via/via-velocity.c +++ b/drivers/net/ethernet/via/via-velocity.c | |||
@@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = { | |||
3281 | .remove = velocity_platform_remove, | 3281 | .remove = velocity_platform_remove, |
3282 | .driver = { | 3282 | .driver = { |
3283 | .name = "via-velocity", | 3283 | .name = "via-velocity", |
3284 | .owner = THIS_MODULE, | ||
3285 | .of_match_table = velocity_of_ids, | 3284 | .of_match_table = velocity_of_ids, |
3286 | .pm = &velocity_pm_ops, | 3285 | .pm = &velocity_pm_ops, |
3287 | }, | 3286 | }, |
diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c index 0f56b1c0e082..13c5c9844da7 100644 --- a/drivers/net/ethernet/wiznet/w5100.c +++ b/drivers/net/ethernet/wiznet/w5100.c | |||
@@ -790,7 +790,6 @@ static SIMPLE_DEV_PM_OPS(w5100_pm_ops, w5100_suspend, w5100_resume); | |||
790 | static struct platform_driver w5100_driver = { | 790 | static struct platform_driver w5100_driver = { |
791 | .driver = { | 791 | .driver = { |
792 | .name = DRV_NAME, | 792 | .name = DRV_NAME, |
793 | .owner = THIS_MODULE, | ||
794 | .pm = &w5100_pm_ops, | 793 | .pm = &w5100_pm_ops, |
795 | }, | 794 | }, |
796 | .probe = w5100_probe, | 795 | .probe = w5100_probe, |
diff --git a/drivers/net/ethernet/wiznet/w5300.c b/drivers/net/ethernet/wiznet/w5300.c index f961f14a0473..b9b2f7547c43 100644 --- a/drivers/net/ethernet/wiznet/w5300.c +++ b/drivers/net/ethernet/wiznet/w5300.c | |||
@@ -702,7 +702,6 @@ static SIMPLE_DEV_PM_OPS(w5300_pm_ops, w5300_suspend, w5300_resume); | |||
702 | static struct platform_driver w5300_driver = { | 702 | static struct platform_driver w5300_driver = { |
703 | .driver = { | 703 | .driver = { |
704 | .name = DRV_NAME, | 704 | .name = DRV_NAME, |
705 | .owner = THIS_MODULE, | ||
706 | .pm = &w5300_pm_ops, | 705 | .pm = &w5300_pm_ops, |
707 | }, | 706 | }, |
708 | .probe = w5300_probe, | 707 | .probe = w5300_probe, |
diff --git a/drivers/net/ieee802154/fakehard.c b/drivers/net/ieee802154/fakehard.c index 9ce854f43917..3db412b4465e 100644 --- a/drivers/net/ieee802154/fakehard.c +++ b/drivers/net/ieee802154/fakehard.c | |||
@@ -405,7 +405,6 @@ static struct platform_driver ieee802154fake_driver = { | |||
405 | .remove = ieee802154fake_remove, | 405 | .remove = ieee802154fake_remove, |
406 | .driver = { | 406 | .driver = { |
407 | .name = "ieee802154hardmac", | 407 | .name = "ieee802154hardmac", |
408 | .owner = THIS_MODULE, | ||
409 | }, | 408 | }, |
410 | }; | 409 | }; |
411 | 410 | ||
diff --git a/drivers/net/ieee802154/fakelb.c b/drivers/net/ieee802154/fakelb.c index 27d83207d24c..c1397cddd1b8 100644 --- a/drivers/net/ieee802154/fakelb.c +++ b/drivers/net/ieee802154/fakelb.c | |||
@@ -272,7 +272,6 @@ static struct platform_driver ieee802154fake_driver = { | |||
272 | .remove = fakelb_remove, | 272 | .remove = fakelb_remove, |
273 | .driver = { | 273 | .driver = { |
274 | .name = "ieee802154fakelb", | 274 | .name = "ieee802154fakelb", |
275 | .owner = THIS_MODULE, | ||
276 | }, | 275 | }, |
277 | }; | 276 | }; |
278 | 277 | ||
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c index befa45f809c3..9673670b8773 100644 --- a/drivers/net/irda/ali-ircc.c +++ b/drivers/net/irda/ali-ircc.c | |||
@@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = { | |||
61 | .resume = ali_ircc_resume, | 61 | .resume = ali_ircc_resume, |
62 | .driver = { | 62 | .driver = { |
63 | .name = ALI_IRCC_DRIVER_NAME, | 63 | .name = ALI_IRCC_DRIVER_NAME, |
64 | .owner = THIS_MODULE, | ||
65 | }, | 64 | }, |
66 | }; | 65 | }; |
67 | 66 | ||
diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c index aab2cf72d025..e151205281e2 100644 --- a/drivers/net/irda/au1k_ir.c +++ b/drivers/net/irda/au1k_ir.c | |||
@@ -989,7 +989,6 @@ static int au1k_irda_remove(struct platform_device *pdev) | |||
989 | static struct platform_driver au1k_irda_driver = { | 989 | static struct platform_driver au1k_irda_driver = { |
990 | .driver = { | 990 | .driver = { |
991 | .name = "au1000-irda", | 991 | .name = "au1000-irda", |
992 | .owner = THIS_MODULE, | ||
993 | }, | 992 | }, |
994 | .probe = au1k_irda_probe, | 993 | .probe = au1k_irda_probe, |
995 | .remove = au1k_irda_remove, | 994 | .remove = au1k_irda_remove, |
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index 3eeaaf800494..100454662e4b 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -966,7 +966,6 @@ static int pxa_irda_remove(struct platform_device *_dev) | |||
966 | static struct platform_driver pxa_ir_driver = { | 966 | static struct platform_driver pxa_ir_driver = { |
967 | .driver = { | 967 | .driver = { |
968 | .name = "pxa2xx-ir", | 968 | .name = "pxa2xx-ir", |
969 | .owner = THIS_MODULE, | ||
970 | }, | 969 | }, |
971 | .probe = pxa_irda_probe, | 970 | .probe = pxa_irda_probe, |
972 | .remove = pxa_irda_remove, | 971 | .remove = pxa_irda_remove, |
diff --git a/drivers/net/irda/sa1100_ir.c b/drivers/net/irda/sa1100_ir.c index 42fde9ed23e1..7b17fa2114e1 100644 --- a/drivers/net/irda/sa1100_ir.c +++ b/drivers/net/irda/sa1100_ir.c | |||
@@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = { | |||
1114 | .resume = sa1100_irda_resume, | 1114 | .resume = sa1100_irda_resume, |
1115 | .driver = { | 1115 | .driver = { |
1116 | .name = "sa11x0-ir", | 1116 | .name = "sa11x0-ir", |
1117 | .owner = THIS_MODULE, | ||
1118 | }, | 1117 | }, |
1119 | }; | 1118 | }; |
1120 | 1119 | ||
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c index 5b643e588e8f..6deac6d32f57 100644 --- a/drivers/net/phy/mdio-bcm-unimac.c +++ b/drivers/net/phy/mdio-bcm-unimac.c | |||
@@ -199,7 +199,6 @@ static struct of_device_id unimac_mdio_ids[] = { | |||
199 | static struct platform_driver unimac_mdio_driver = { | 199 | static struct platform_driver unimac_mdio_driver = { |
200 | .driver = { | 200 | .driver = { |
201 | .name = "unimac-mdio", | 201 | .name = "unimac-mdio", |
202 | .owner = THIS_MODULE, | ||
203 | .of_match_table = unimac_mdio_ids, | 202 | .of_match_table = unimac_mdio_ids, |
204 | }, | 203 | }, |
205 | .probe = unimac_mdio_probe, | 204 | .probe = unimac_mdio_probe, |
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 5f1a2250018f..0a0578a592b8 100644 --- a/drivers/net/phy/mdio-gpio.c +++ b/drivers/net/phy/mdio-gpio.c | |||
@@ -259,7 +259,6 @@ static struct platform_driver mdio_gpio_driver = { | |||
259 | .remove = mdio_gpio_remove, | 259 | .remove = mdio_gpio_remove, |
260 | .driver = { | 260 | .driver = { |
261 | .name = "mdio-gpio", | 261 | .name = "mdio-gpio", |
262 | .owner = THIS_MODULE, | ||
263 | .of_match_table = mdio_gpio_of_match, | 262 | .of_match_table = mdio_gpio_of_match, |
264 | }, | 263 | }, |
265 | }; | 264 | }; |
diff --git a/drivers/net/phy/mdio-mux-gpio.c b/drivers/net/phy/mdio-mux-gpio.c index 096695163491..6d5073839f7b 100644 --- a/drivers/net/phy/mdio-mux-gpio.c +++ b/drivers/net/phy/mdio-mux-gpio.c | |||
@@ -125,7 +125,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_gpio_match); | |||
125 | static struct platform_driver mdio_mux_gpio_driver = { | 125 | static struct platform_driver mdio_mux_gpio_driver = { |
126 | .driver = { | 126 | .driver = { |
127 | .name = "mdio-mux-gpio", | 127 | .name = "mdio-mux-gpio", |
128 | .owner = THIS_MODULE, | ||
129 | .of_match_table = mdio_mux_gpio_match, | 128 | .of_match_table = mdio_mux_gpio_match, |
130 | }, | 129 | }, |
131 | .probe = mdio_mux_gpio_probe, | 130 | .probe = mdio_mux_gpio_probe, |
diff --git a/drivers/net/phy/mdio-mux-mmioreg.c b/drivers/net/phy/mdio-mux-mmioreg.c index 1656785ff339..0aa985c74014 100644 --- a/drivers/net/phy/mdio-mux-mmioreg.c +++ b/drivers/net/phy/mdio-mux-mmioreg.c | |||
@@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_mmioreg_match); | |||
156 | static struct platform_driver mdio_mux_mmioreg_driver = { | 156 | static struct platform_driver mdio_mux_mmioreg_driver = { |
157 | .driver = { | 157 | .driver = { |
158 | .name = "mdio-mux-mmioreg", | 158 | .name = "mdio-mux-mmioreg", |
159 | .owner = THIS_MODULE, | ||
160 | .of_match_table = mdio_mux_mmioreg_match, | 159 | .of_match_table = mdio_mux_mmioreg_match, |
161 | }, | 160 | }, |
162 | .probe = mdio_mux_mmioreg_probe, | 161 | .probe = mdio_mux_mmioreg_probe, |
diff --git a/drivers/net/phy/mdio-octeon.c b/drivers/net/phy/mdio-octeon.c index a51ed92fbada..c81052486edc 100644 --- a/drivers/net/phy/mdio-octeon.c +++ b/drivers/net/phy/mdio-octeon.c | |||
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, octeon_mdiobus_match); | |||
263 | static struct platform_driver octeon_mdiobus_driver = { | 263 | static struct platform_driver octeon_mdiobus_driver = { |
264 | .driver = { | 264 | .driver = { |
265 | .name = "mdio-octeon", | 265 | .name = "mdio-octeon", |
266 | .owner = THIS_MODULE, | ||
267 | .of_match_table = octeon_mdiobus_match, | 266 | .of_match_table = octeon_mdiobus_match, |
268 | }, | 267 | }, |
269 | .probe = octeon_mdiobus_probe, | 268 | .probe = octeon_mdiobus_probe, |
diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c index 4173838f4684..e000c4c27881 100644 --- a/drivers/net/wireless/ath/ath9k/ahb.c +++ b/drivers/net/wireless/ath/ath9k/ahb.c | |||
@@ -175,7 +175,6 @@ static struct platform_driver ath_ahb_driver = { | |||
175 | .remove = ath_ahb_remove, | 175 | .remove = ath_ahb_remove, |
176 | .driver = { | 176 | .driver = { |
177 | .name = "ath9k", | 177 | .name = "ath9k", |
178 | .owner = THIS_MODULE, | ||
179 | }, | 178 | }, |
180 | .id_table = ath9k_platform_id_table, | 179 | .id_table = ath9k_platform_id_table, |
181 | }; | 180 | }; |
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index b71d2b33532d..30c9dca38c58 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c | |||
@@ -1075,7 +1075,6 @@ static struct platform_driver wcn36xx_driver = { | |||
1075 | .remove = wcn36xx_remove, | 1075 | .remove = wcn36xx_remove, |
1076 | .driver = { | 1076 | .driver = { |
1077 | .name = "wcn36xx", | 1077 | .name = "wcn36xx", |
1078 | .owner = THIS_MODULE, | ||
1079 | }, | 1078 | }, |
1080 | .id_table = wcn36xx_platform_id_table, | 1079 | .id_table = wcn36xx_platform_id_table, |
1081 | }; | 1080 | }; |
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c index 8dbd5dbb78fd..602034306076 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c | |||
@@ -1204,7 +1204,6 @@ static struct platform_driver brcmf_sdio_pd = { | |||
1204 | .remove = brcmf_sdio_pd_remove, | 1204 | .remove = brcmf_sdio_pd_remove, |
1205 | .driver = { | 1205 | .driver = { |
1206 | .name = BRCMFMAC_SDIO_PDATA_NAME, | 1206 | .name = BRCMFMAC_SDIO_PDATA_NAME, |
1207 | .owner = THIS_MODULE, | ||
1208 | } | 1207 | } |
1209 | }; | 1208 | }; |
1210 | 1209 | ||
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index babbdc1ce741..1510a3b7b5eb 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -395,7 +395,6 @@ static int hwsim_radio_idx; | |||
395 | static struct platform_driver mac80211_hwsim_driver = { | 395 | static struct platform_driver mac80211_hwsim_driver = { |
396 | .driver = { | 396 | .driver = { |
397 | .name = "mac80211_hwsim", | 397 | .name = "mac80211_hwsim", |
398 | .owner = THIS_MODULE, | ||
399 | }, | 398 | }, |
400 | }; | 399 | }; |
401 | 400 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2800soc.c b/drivers/net/wireless/rt2x00/rt2800soc.c index f6d1bf5be006..aaa7aa4cad9d 100644 --- a/drivers/net/wireless/rt2x00/rt2800soc.c +++ b/drivers/net/wireless/rt2x00/rt2800soc.c | |||
@@ -244,7 +244,6 @@ static int rt2800soc_probe(struct platform_device *pdev) | |||
244 | static struct platform_driver rt2800soc_driver = { | 244 | static struct platform_driver rt2800soc_driver = { |
245 | .driver = { | 245 | .driver = { |
246 | .name = "rt2800_wmac", | 246 | .name = "rt2800_wmac", |
247 | .owner = THIS_MODULE, | ||
248 | .mod_name = KBUILD_MODNAME, | 247 | .mod_name = KBUILD_MODNAME, |
249 | }, | 248 | }, |
250 | .probe = rt2800soc_probe, | 249 | .probe = rt2800soc_probe, |
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c index 0bccf123831e..d6d0d6d9c7a8 100644 --- a/drivers/net/wireless/ti/wl12xx/main.c +++ b/drivers/net/wireless/ti/wl12xx/main.c | |||
@@ -1900,7 +1900,6 @@ static struct platform_driver wl12xx_driver = { | |||
1900 | .id_table = wl12xx_id_table, | 1900 | .id_table = wl12xx_id_table, |
1901 | .driver = { | 1901 | .driver = { |
1902 | .name = "wl12xx_driver", | 1902 | .name = "wl12xx_driver", |
1903 | .owner = THIS_MODULE, | ||
1904 | } | 1903 | } |
1905 | }; | 1904 | }; |
1906 | 1905 | ||
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index 7af1936719eb..8e562610bf16 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c | |||
@@ -1968,7 +1968,6 @@ static struct platform_driver wl18xx_driver = { | |||
1968 | .id_table = wl18xx_id_table, | 1968 | .id_table = wl18xx_id_table, |
1969 | .driver = { | 1969 | .driver = { |
1970 | .name = "wl18xx_driver", | 1970 | .name = "wl18xx_driver", |
1971 | .owner = THIS_MODULE, | ||
1972 | } | 1971 | } |
1973 | }; | 1972 | }; |
1974 | 1973 | ||
diff --git a/drivers/nfc/nfcwilink.c b/drivers/nfc/nfcwilink.c index 683671a71c7e..ce2e2cf54fbc 100644 --- a/drivers/nfc/nfcwilink.c +++ b/drivers/nfc/nfcwilink.c | |||
@@ -566,7 +566,6 @@ static struct platform_driver nfcwilink_driver = { | |||
566 | .remove = nfcwilink_remove, | 566 | .remove = nfcwilink_remove, |
567 | .driver = { | 567 | .driver = { |
568 | .name = "nfcwilink", | 568 | .name = "nfcwilink", |
569 | .owner = THIS_MODULE, | ||
570 | }, | 569 | }, |
571 | }; | 570 | }; |
572 | 571 | ||
diff --git a/drivers/parport/parport_amiga.c b/drivers/parport/parport_amiga.c index 26ecdea84fb5..9c68f2aec4ff 100644 --- a/drivers/parport/parport_amiga.c +++ b/drivers/parport/parport_amiga.c | |||
@@ -239,7 +239,6 @@ static struct platform_driver amiga_parallel_driver = { | |||
239 | .remove = __exit_p(amiga_parallel_remove), | 239 | .remove = __exit_p(amiga_parallel_remove), |
240 | .driver = { | 240 | .driver = { |
241 | .name = "amiga-parallel", | 241 | .name = "amiga-parallel", |
242 | .owner = THIS_MODULE, | ||
243 | }, | 242 | }, |
244 | }; | 243 | }; |
245 | 244 | ||
diff --git a/drivers/parport/parport_ax88796.c b/drivers/parport/parport_ax88796.c index 7c5d86696eed..8f8c9f3aa691 100644 --- a/drivers/parport/parport_ax88796.c +++ b/drivers/parport/parport_ax88796.c | |||
@@ -412,7 +412,6 @@ MODULE_ALIAS("platform:ax88796-pp"); | |||
412 | static struct platform_driver axdrv = { | 412 | static struct platform_driver axdrv = { |
413 | .driver = { | 413 | .driver = { |
414 | .name = "ax88796-pp", | 414 | .name = "ax88796-pp", |
415 | .owner = THIS_MODULE, | ||
416 | }, | 415 | }, |
417 | .probe = parport_ax88796_probe, | 416 | .probe = parport_ax88796_probe, |
418 | .remove = parport_ax88796_remove, | 417 | .remove = parport_ax88796_remove, |
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index f721299eb1ba..7ae20b7a56bc 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
@@ -3011,7 +3011,6 @@ static int parport_pc_platform_probe(struct platform_device *pdev) | |||
3011 | 3011 | ||
3012 | static struct platform_driver parport_pc_platform_driver = { | 3012 | static struct platform_driver parport_pc_platform_driver = { |
3013 | .driver = { | 3013 | .driver = { |
3014 | .owner = THIS_MODULE, | ||
3015 | .name = "parport_pc", | 3014 | .name = "parport_pc", |
3016 | }, | 3015 | }, |
3017 | .probe = parport_pc_platform_probe, | 3016 | .probe = parport_pc_platform_probe, |
diff --git a/drivers/parport/parport_sunbpp.c b/drivers/parport/parport_sunbpp.c index dffd6d0bd15b..01cf1c1a841a 100644 --- a/drivers/parport/parport_sunbpp.c +++ b/drivers/parport/parport_sunbpp.c | |||
@@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(of, bpp_match); | |||
362 | static struct platform_driver bpp_sbus_driver = { | 362 | static struct platform_driver bpp_sbus_driver = { |
363 | .driver = { | 363 | .driver = { |
364 | .name = "bpp", | 364 | .name = "bpp", |
365 | .owner = THIS_MODULE, | ||
366 | .of_match_table = bpp_match, | 365 | .of_match_table = bpp_match, |
367 | }, | 366 | }, |
368 | .probe = bpp_probe, | 367 | .probe = bpp_probe, |
diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c index 52b34fee07fd..b7da6cf78070 100644 --- a/drivers/pci/host/pci-dra7xx.c +++ b/drivers/pci/host/pci-dra7xx.c | |||
@@ -446,7 +446,6 @@ static struct platform_driver dra7xx_pcie_driver = { | |||
446 | .remove = __exit_p(dra7xx_pcie_remove), | 446 | .remove = __exit_p(dra7xx_pcie_remove), |
447 | .driver = { | 447 | .driver = { |
448 | .name = "dra7-pcie", | 448 | .name = "dra7-pcie", |
449 | .owner = THIS_MODULE, | ||
450 | .of_match_table = of_dra7xx_pcie_match, | 449 | .of_match_table = of_dra7xx_pcie_match, |
451 | }, | 450 | }, |
452 | }; | 451 | }; |
diff --git a/drivers/pci/host/pci-exynos.c b/drivers/pci/host/pci-exynos.c index c5d0ca384502..a95b20dbc3aa 100644 --- a/drivers/pci/host/pci-exynos.c +++ b/drivers/pci/host/pci-exynos.c | |||
@@ -649,7 +649,6 @@ static struct platform_driver exynos_pcie_driver = { | |||
649 | .remove = __exit_p(exynos_pcie_remove), | 649 | .remove = __exit_p(exynos_pcie_remove), |
650 | .driver = { | 650 | .driver = { |
651 | .name = "exynos-pcie", | 651 | .name = "exynos-pcie", |
652 | .owner = THIS_MODULE, | ||
653 | .of_match_table = exynos_pcie_of_match, | 652 | .of_match_table = exynos_pcie_of_match, |
654 | }, | 653 | }, |
655 | }; | 654 | }; |
diff --git a/drivers/pci/host/pci-host-generic.c b/drivers/pci/host/pci-host-generic.c index 3d2076f59911..f0577bd9483a 100644 --- a/drivers/pci/host/pci-host-generic.c +++ b/drivers/pci/host/pci-host-generic.c | |||
@@ -376,7 +376,6 @@ static int gen_pci_probe(struct platform_device *pdev) | |||
376 | static struct platform_driver gen_pci_driver = { | 376 | static struct platform_driver gen_pci_driver = { |
377 | .driver = { | 377 | .driver = { |
378 | .name = "pci-host-generic", | 378 | .name = "pci-host-generic", |
379 | .owner = THIS_MODULE, | ||
380 | .of_match_table = gen_pci_of_match, | 379 | .of_match_table = gen_pci_of_match, |
381 | }, | 380 | }, |
382 | .probe = gen_pci_probe, | 381 | .probe = gen_pci_probe, |
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c index 69202d1eb8fb..b11c6db1f9a1 100644 --- a/drivers/pci/host/pci-imx6.c +++ b/drivers/pci/host/pci-imx6.c | |||
@@ -643,7 +643,6 @@ MODULE_DEVICE_TABLE(of, imx6_pcie_of_match); | |||
643 | static struct platform_driver imx6_pcie_driver = { | 643 | static struct platform_driver imx6_pcie_driver = { |
644 | .driver = { | 644 | .driver = { |
645 | .name = "imx6q-pcie", | 645 | .name = "imx6q-pcie", |
646 | .owner = THIS_MODULE, | ||
647 | .of_match_table = imx6_pcie_of_match, | 646 | .of_match_table = imx6_pcie_of_match, |
648 | }, | 647 | }, |
649 | .shutdown = imx6_pcie_shutdown, | 648 | .shutdown = imx6_pcie_shutdown, |
diff --git a/drivers/pci/host/pci-keystone.c b/drivers/pci/host/pci-keystone.c index 1b893bc8b842..8a2707885735 100644 --- a/drivers/pci/host/pci-keystone.c +++ b/drivers/pci/host/pci-keystone.c | |||
@@ -403,7 +403,6 @@ static struct platform_driver ks_pcie_driver __refdata = { | |||
403 | .remove = __exit_p(ks_pcie_remove), | 403 | .remove = __exit_p(ks_pcie_remove), |
404 | .driver = { | 404 | .driver = { |
405 | .name = "keystone-pcie", | 405 | .name = "keystone-pcie", |
406 | .owner = THIS_MODULE, | ||
407 | .of_match_table = of_match_ptr(ks_pcie_of_match), | 406 | .of_match_table = of_match_ptr(ks_pcie_of_match), |
408 | }, | 407 | }, |
409 | }; | 408 | }; |
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index b1315e197ffb..753cbf0f5b5e 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c | |||
@@ -1082,7 +1082,6 @@ MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table); | |||
1082 | 1082 | ||
1083 | static struct platform_driver mvebu_pcie_driver = { | 1083 | static struct platform_driver mvebu_pcie_driver = { |
1084 | .driver = { | 1084 | .driver = { |
1085 | .owner = THIS_MODULE, | ||
1086 | .name = "mvebu-pcie", | 1085 | .name = "mvebu-pcie", |
1087 | .of_match_table = mvebu_pcie_of_match_table, | 1086 | .of_match_table = mvebu_pcie_of_match_table, |
1088 | /* driver unloading/unbinding currently not supported */ | 1087 | /* driver unloading/unbinding currently not supported */ |
diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index 3ef854f5a5b5..d9c042febb1a 100644 --- a/drivers/pci/host/pci-rcar-gen2.c +++ b/drivers/pci/host/pci-rcar-gen2.c | |||
@@ -412,7 +412,6 @@ MODULE_DEVICE_TABLE(of, rcar_pci_of_match); | |||
412 | static struct platform_driver rcar_pci_driver = { | 412 | static struct platform_driver rcar_pci_driver = { |
413 | .driver = { | 413 | .driver = { |
414 | .name = "pci-rcar-gen2", | 414 | .name = "pci-rcar-gen2", |
415 | .owner = THIS_MODULE, | ||
416 | .suppress_bind_attrs = true, | 415 | .suppress_bind_attrs = true, |
417 | .of_match_table = rcar_pci_of_match, | 416 | .of_match_table = rcar_pci_of_match, |
418 | }, | 417 | }, |
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index 3d43874319be..393cdb03ae59 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c | |||
@@ -2122,7 +2122,6 @@ put_resources: | |||
2122 | static struct platform_driver tegra_pcie_driver = { | 2122 | static struct platform_driver tegra_pcie_driver = { |
2123 | .driver = { | 2123 | .driver = { |
2124 | .name = "tegra-pcie", | 2124 | .name = "tegra-pcie", |
2125 | .owner = THIS_MODULE, | ||
2126 | .of_match_table = tegra_pcie_of_match, | 2125 | .of_match_table = tegra_pcie_of_match, |
2127 | .suppress_bind_attrs = true, | 2126 | .suppress_bind_attrs = true, |
2128 | }, | 2127 | }, |
diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/host/pci-xgene.c index 9ecabfa8c634..2439fe57d70c 100644 --- a/drivers/pci/host/pci-xgene.c +++ b/drivers/pci/host/pci-xgene.c | |||
@@ -647,7 +647,6 @@ static const struct of_device_id xgene_pcie_match_table[] = { | |||
647 | static struct platform_driver xgene_pcie_driver = { | 647 | static struct platform_driver xgene_pcie_driver = { |
648 | .driver = { | 648 | .driver = { |
649 | .name = "xgene-pcie", | 649 | .name = "xgene-pcie", |
650 | .owner = THIS_MODULE, | ||
651 | .of_match_table = of_match_ptr(xgene_pcie_match_table), | 650 | .of_match_table = of_match_ptr(xgene_pcie_match_table), |
652 | }, | 651 | }, |
653 | .probe = xgene_pcie_probe_bridge, | 652 | .probe = xgene_pcie_probe_bridge, |
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 61158e03ab5f..9b356c32b192 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c | |||
@@ -988,7 +988,6 @@ static int rcar_pcie_probe(struct platform_device *pdev) | |||
988 | static struct platform_driver rcar_pcie_driver = { | 988 | static struct platform_driver rcar_pcie_driver = { |
989 | .driver = { | 989 | .driver = { |
990 | .name = DRV_NAME, | 990 | .name = DRV_NAME, |
991 | .owner = THIS_MODULE, | ||
992 | .of_match_table = rcar_pcie_of_match, | 991 | .of_match_table = rcar_pcie_of_match, |
993 | .suppress_bind_attrs = true, | 992 | .suppress_bind_attrs = true, |
994 | }, | 993 | }, |
diff --git a/drivers/pci/host/pcie-spear13xx.c b/drivers/pci/host/pcie-spear13xx.c index 85f594e1708f..6826e0031381 100644 --- a/drivers/pci/host/pcie-spear13xx.c +++ b/drivers/pci/host/pcie-spear13xx.c | |||
@@ -375,7 +375,6 @@ static struct platform_driver spear13xx_pcie_driver __initdata = { | |||
375 | .probe = spear13xx_pcie_probe, | 375 | .probe = spear13xx_pcie_probe, |
376 | .driver = { | 376 | .driver = { |
377 | .name = "spear-pcie", | 377 | .name = "spear-pcie", |
378 | .owner = THIS_MODULE, | ||
379 | .of_match_table = of_match_ptr(spear13xx_pcie_of_match), | 378 | .of_match_table = of_match_ptr(spear13xx_pcie_of_match), |
380 | }, | 379 | }, |
381 | }; | 380 | }; |
diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c index ccc496b33a97..56979ac36be2 100644 --- a/drivers/pci/host/pcie-xilinx.c +++ b/drivers/pci/host/pcie-xilinx.c | |||
@@ -956,7 +956,6 @@ static struct of_device_id xilinx_pcie_of_match[] = { | |||
956 | static struct platform_driver xilinx_pcie_driver = { | 956 | static struct platform_driver xilinx_pcie_driver = { |
957 | .driver = { | 957 | .driver = { |
958 | .name = "xilinx-pcie", | 958 | .name = "xilinx-pcie", |
959 | .owner = THIS_MODULE, | ||
960 | .of_match_table = xilinx_pcie_of_match, | 959 | .of_match_table = xilinx_pcie_of_match, |
961 | .suppress_bind_attrs = true, | 960 | .suppress_bind_attrs = true, |
962 | }, | 961 | }, |
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index de24232c5191..bfb799c7b343 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c | |||
@@ -401,7 +401,6 @@ static int at91_cf_resume(struct platform_device *pdev) | |||
401 | static struct platform_driver at91_cf_driver = { | 401 | static struct platform_driver at91_cf_driver = { |
402 | .driver = { | 402 | .driver = { |
403 | .name = "at91_cf", | 403 | .name = "at91_cf", |
404 | .owner = THIS_MODULE, | ||
405 | .of_match_table = of_match_ptr(at91_cf_dt_ids), | 404 | .of_match_table = of_match_ptr(at91_cf_dt_ids), |
406 | }, | 405 | }, |
407 | .probe = at91_cf_probe, | 406 | .probe = at91_cf_probe, |
diff --git a/drivers/pcmcia/bfin_cf_pcmcia.c b/drivers/pcmcia/bfin_cf_pcmcia.c index 971991bab975..bba1dcbb8075 100644 --- a/drivers/pcmcia/bfin_cf_pcmcia.c +++ b/drivers/pcmcia/bfin_cf_pcmcia.c | |||
@@ -304,7 +304,6 @@ static int bfin_cf_remove(struct platform_device *pdev) | |||
304 | static struct platform_driver bfin_cf_driver = { | 304 | static struct platform_driver bfin_cf_driver = { |
305 | .driver = { | 305 | .driver = { |
306 | .name = driver_name, | 306 | .name = driver_name, |
307 | .owner = THIS_MODULE, | ||
308 | }, | 307 | }, |
309 | .probe = bfin_cf_probe, | 308 | .probe = bfin_cf_probe, |
310 | .remove = bfin_cf_remove, | 309 | .remove = bfin_cf_remove, |
diff --git a/drivers/pcmcia/db1xxx_ss.c b/drivers/pcmcia/db1xxx_ss.c index a31e69ea99f3..4c2fa05b4589 100644 --- a/drivers/pcmcia/db1xxx_ss.c +++ b/drivers/pcmcia/db1xxx_ss.c | |||
@@ -574,7 +574,6 @@ static int db1x_pcmcia_socket_remove(struct platform_device *pdev) | |||
574 | static struct platform_driver db1x_pcmcia_socket_driver = { | 574 | static struct platform_driver db1x_pcmcia_socket_driver = { |
575 | .driver = { | 575 | .driver = { |
576 | .name = "db1xxx_pcmcia", | 576 | .name = "db1xxx_pcmcia", |
577 | .owner = THIS_MODULE, | ||
578 | }, | 577 | }, |
579 | .probe = db1x_pcmcia_socket_probe, | 578 | .probe = db1x_pcmcia_socket_probe, |
580 | .remove = db1x_pcmcia_socket_remove, | 579 | .remove = db1x_pcmcia_socket_remove, |
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c index 5ea64d0f61ab..7f9950d324df 100644 --- a/drivers/pcmcia/electra_cf.c +++ b/drivers/pcmcia/electra_cf.c | |||
@@ -360,7 +360,6 @@ MODULE_DEVICE_TABLE(of, electra_cf_match); | |||
360 | static struct platform_driver electra_cf_driver = { | 360 | static struct platform_driver electra_cf_driver = { |
361 | .driver = { | 361 | .driver = { |
362 | .name = driver_name, | 362 | .name = driver_name, |
363 | .owner = THIS_MODULE, | ||
364 | .of_match_table = electra_cf_match, | 363 | .of_match_table = electra_cf_match, |
365 | }, | 364 | }, |
366 | .probe = electra_cf_probe, | 365 | .probe = electra_cf_probe, |
diff --git a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c index e6f3d17dd2b4..a2c138719bac 100644 --- a/drivers/pcmcia/i82365.c +++ b/drivers/pcmcia/i82365.c | |||
@@ -1233,7 +1233,6 @@ static struct pccard_operations pcic_operations = { | |||
1233 | static struct platform_driver i82365_driver = { | 1233 | static struct platform_driver i82365_driver = { |
1234 | .driver = { | 1234 | .driver = { |
1235 | .name = "i82365", | 1235 | .name = "i82365", |
1236 | .owner = THIS_MODULE, | ||
1237 | }, | 1236 | }, |
1238 | }; | 1237 | }; |
1239 | 1238 | ||
diff --git a/drivers/pcmcia/m32r_cfc.c b/drivers/pcmcia/m32r_cfc.c index a26f38c6402a..0075bd7162ed 100644 --- a/drivers/pcmcia/m32r_cfc.c +++ b/drivers/pcmcia/m32r_cfc.c | |||
@@ -687,7 +687,6 @@ static struct pccard_operations pcc_operations = { | |||
687 | static struct platform_driver pcc_driver = { | 687 | static struct platform_driver pcc_driver = { |
688 | .driver = { | 688 | .driver = { |
689 | .name = "cfc", | 689 | .name = "cfc", |
690 | .owner = THIS_MODULE, | ||
691 | }, | 690 | }, |
692 | }; | 691 | }; |
693 | 692 | ||
diff --git a/drivers/pcmcia/m32r_pcc.c b/drivers/pcmcia/m32r_pcc.c index 296514155cd5..a77e571b08b8 100644 --- a/drivers/pcmcia/m32r_pcc.c +++ b/drivers/pcmcia/m32r_pcc.c | |||
@@ -664,7 +664,6 @@ static struct pccard_operations pcc_operations = { | |||
664 | static struct platform_driver pcc_driver = { | 664 | static struct platform_driver pcc_driver = { |
665 | .driver = { | 665 | .driver = { |
666 | .name = "pcc", | 666 | .name = "pcc", |
667 | .owner = THIS_MODULE, | ||
668 | }, | 667 | }, |
669 | }; | 668 | }; |
670 | 669 | ||
diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c index 25c4b1993b3d..8170102d1e93 100644 --- a/drivers/pcmcia/omap_cf.c +++ b/drivers/pcmcia/omap_cf.c | |||
@@ -334,7 +334,6 @@ static int __exit omap_cf_remove(struct platform_device *pdev) | |||
334 | static struct platform_driver omap_cf_driver = { | 334 | static struct platform_driver omap_cf_driver = { |
335 | .driver = { | 335 | .driver = { |
336 | .name = (char *) driver_name, | 336 | .name = (char *) driver_name, |
337 | .owner = THIS_MODULE, | ||
338 | }, | 337 | }, |
339 | .remove = __exit_p(omap_cf_remove), | 338 | .remove = __exit_p(omap_cf_remove), |
340 | }; | 339 | }; |
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index cfec9dd18ff5..984a8ff559d8 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -368,7 +368,6 @@ static struct platform_driver pxa2xx_pcmcia_driver = { | |||
368 | .remove = pxa2xx_drv_pcmcia_remove, | 368 | .remove = pxa2xx_drv_pcmcia_remove, |
369 | .driver = { | 369 | .driver = { |
370 | .name = "pxa2xx-pcmcia", | 370 | .name = "pxa2xx-pcmcia", |
371 | .owner = THIS_MODULE, | ||
372 | .pm = &pxa2xx_drv_pcmcia_pm_ops, | 371 | .pm = &pxa2xx_drv_pcmcia_pm_ops, |
373 | }, | 372 | }, |
374 | }; | 373 | }; |
diff --git a/drivers/pcmcia/pxa2xx_viper.c b/drivers/pcmcia/pxa2xx_viper.c index a76f495953ab..7ac6647d286e 100644 --- a/drivers/pcmcia/pxa2xx_viper.c +++ b/drivers/pcmcia/pxa2xx_viper.c | |||
@@ -172,7 +172,6 @@ static struct platform_driver viper_pcmcia_driver = { | |||
172 | .remove = viper_pcmcia_remove, | 172 | .remove = viper_pcmcia_remove, |
173 | .driver = { | 173 | .driver = { |
174 | .name = "arcom-pcmcia", | 174 | .name = "arcom-pcmcia", |
175 | .owner = THIS_MODULE, | ||
176 | }, | 175 | }, |
177 | .id_table = viper_pcmcia_id_table, | 176 | .id_table = viper_pcmcia_id_table, |
178 | }; | 177 | }; |
diff --git a/drivers/pcmcia/sa1100_generic.c b/drivers/pcmcia/sa1100_generic.c index ff8a027a4afb..42861cc70158 100644 --- a/drivers/pcmcia/sa1100_generic.c +++ b/drivers/pcmcia/sa1100_generic.c | |||
@@ -100,7 +100,6 @@ static int sa11x0_drv_pcmcia_remove(struct platform_device *dev) | |||
100 | static struct platform_driver sa11x0_pcmcia_driver = { | 100 | static struct platform_driver sa11x0_pcmcia_driver = { |
101 | .driver = { | 101 | .driver = { |
102 | .name = "sa11x0-pcmcia", | 102 | .name = "sa11x0-pcmcia", |
103 | .owner = THIS_MODULE, | ||
104 | }, | 103 | }, |
105 | .probe = sa11x0_drv_pcmcia_probe, | 104 | .probe = sa11x0_drv_pcmcia_probe, |
106 | .remove = sa11x0_drv_pcmcia_remove, | 105 | .remove = sa11x0_drv_pcmcia_remove, |
diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c index cbe15fc37411..1ee63e5f0550 100644 --- a/drivers/pcmcia/tcic.c +++ b/drivers/pcmcia/tcic.c | |||
@@ -349,7 +349,6 @@ static int __init get_tcic_id(void) | |||
349 | static struct platform_driver tcic_driver = { | 349 | static struct platform_driver tcic_driver = { |
350 | .driver = { | 350 | .driver = { |
351 | .name = "tcic-pcmcia", | 351 | .name = "tcic-pcmcia", |
352 | .owner = THIS_MODULE, | ||
353 | }, | 352 | }, |
354 | }; | 353 | }; |
355 | 354 | ||
diff --git a/drivers/pcmcia/vrc4171_card.c b/drivers/pcmcia/vrc4171_card.c index d98a08612492..21973d55a055 100644 --- a/drivers/pcmcia/vrc4171_card.c +++ b/drivers/pcmcia/vrc4171_card.c | |||
@@ -709,7 +709,6 @@ __setup("vrc4171_card=", vrc4171_card_setup); | |||
709 | static struct platform_driver vrc4171_card_driver = { | 709 | static struct platform_driver vrc4171_card_driver = { |
710 | .driver = { | 710 | .driver = { |
711 | .name = vrc4171_card_name, | 711 | .name = vrc4171_card_name, |
712 | .owner = THIS_MODULE, | ||
713 | }, | 712 | }, |
714 | }; | 713 | }; |
715 | 714 | ||
diff --git a/drivers/pcmcia/xxs1500_ss.c b/drivers/pcmcia/xxs1500_ss.c index 95f5b270ad44..4c04360f378b 100644 --- a/drivers/pcmcia/xxs1500_ss.c +++ b/drivers/pcmcia/xxs1500_ss.c | |||
@@ -314,7 +314,6 @@ static int xxs1500_pcmcia_remove(struct platform_device *pdev) | |||
314 | static struct platform_driver xxs1500_pcmcia_socket_driver = { | 314 | static struct platform_driver xxs1500_pcmcia_socket_driver = { |
315 | .driver = { | 315 | .driver = { |
316 | .name = "xxs1500_pcmcia", | 316 | .name = "xxs1500_pcmcia", |
317 | .owner = THIS_MODULE, | ||
318 | }, | 317 | }, |
319 | .probe = xxs1500_pcmcia_probe, | 318 | .probe = xxs1500_pcmcia_probe, |
320 | .remove = xxs1500_pcmcia_remove, | 319 | .remove = xxs1500_pcmcia_remove, |
diff --git a/drivers/pinctrl/berlin/berlin-bg2.c b/drivers/pinctrl/berlin/berlin-bg2.c index dcd4f6a4fc50..b71a6fffef1b 100644 --- a/drivers/pinctrl/berlin/berlin-bg2.c +++ b/drivers/pinctrl/berlin/berlin-bg2.c | |||
@@ -263,7 +263,6 @@ static struct platform_driver berlin2_pinctrl_driver = { | |||
263 | .probe = berlin2_pinctrl_probe, | 263 | .probe = berlin2_pinctrl_probe, |
264 | .driver = { | 264 | .driver = { |
265 | .name = "berlin-bg2-pinctrl", | 265 | .name = "berlin-bg2-pinctrl", |
266 | .owner = THIS_MODULE, | ||
267 | .of_match_table = berlin2_pinctrl_match, | 266 | .of_match_table = berlin2_pinctrl_match, |
268 | }, | 267 | }, |
269 | }; | 268 | }; |
diff --git a/drivers/pinctrl/berlin/berlin-bg2cd.c b/drivers/pinctrl/berlin/berlin-bg2cd.c index 89d585ef7da7..19ac5a22c947 100644 --- a/drivers/pinctrl/berlin/berlin-bg2cd.c +++ b/drivers/pinctrl/berlin/berlin-bg2cd.c | |||
@@ -206,7 +206,6 @@ static struct platform_driver berlin2cd_pinctrl_driver = { | |||
206 | .probe = berlin2cd_pinctrl_probe, | 206 | .probe = berlin2cd_pinctrl_probe, |
207 | .driver = { | 207 | .driver = { |
208 | .name = "berlin-bg2cd-pinctrl", | 208 | .name = "berlin-bg2cd-pinctrl", |
209 | .owner = THIS_MODULE, | ||
210 | .of_match_table = berlin2cd_pinctrl_match, | 209 | .of_match_table = berlin2cd_pinctrl_match, |
211 | }, | 210 | }, |
212 | }; | 211 | }; |
diff --git a/drivers/pinctrl/berlin/berlin-bg2q.c b/drivers/pinctrl/berlin/berlin-bg2q.c index 9fcf9836045c..bd9662e57ad3 100644 --- a/drivers/pinctrl/berlin/berlin-bg2q.c +++ b/drivers/pinctrl/berlin/berlin-bg2q.c | |||
@@ -425,7 +425,6 @@ static struct platform_driver berlin2q_pinctrl_driver = { | |||
425 | .probe = berlin2q_pinctrl_probe, | 425 | .probe = berlin2q_pinctrl_probe, |
426 | .driver = { | 426 | .driver = { |
427 | .name = "berlin-bg2q-pinctrl", | 427 | .name = "berlin-bg2q-pinctrl", |
428 | .owner = THIS_MODULE, | ||
429 | .of_match_table = berlin2q_pinctrl_match, | 428 | .of_match_table = berlin2q_pinctrl_match, |
430 | }, | 429 | }, |
431 | }; | 430 | }; |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx1.c b/drivers/pinctrl/freescale/pinctrl-imx1.c index 533a6e519648..d3bacb7d6d37 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx1.c +++ b/drivers/pinctrl/freescale/pinctrl-imx1.c | |||
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(of, imx1_pinctrl_of_match); | |||
267 | static struct platform_driver imx1_pinctrl_driver = { | 267 | static struct platform_driver imx1_pinctrl_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "imx1-pinctrl", | 269 | .name = "imx1-pinctrl", |
270 | .owner = THIS_MODULE, | ||
271 | .of_match_table = imx1_pinctrl_of_match, | 270 | .of_match_table = imx1_pinctrl_of_match, |
272 | }, | 271 | }, |
273 | .remove = imx1_pinctrl_core_remove, | 272 | .remove = imx1_pinctrl_core_remove, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c b/drivers/pinctrl/freescale/pinctrl-imx21.c index 1b3b2311b033..9d9aca3dbd7e 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx21.c +++ b/drivers/pinctrl/freescale/pinctrl-imx21.c | |||
@@ -330,7 +330,6 @@ MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); | |||
330 | static struct platform_driver imx21_pinctrl_driver = { | 330 | static struct platform_driver imx21_pinctrl_driver = { |
331 | .driver = { | 331 | .driver = { |
332 | .name = "imx21-pinctrl", | 332 | .name = "imx21-pinctrl", |
333 | .owner = THIS_MODULE, | ||
334 | .of_match_table = imx21_pinctrl_of_match, | 333 | .of_match_table = imx21_pinctrl_of_match, |
335 | }, | 334 | }, |
336 | .remove = imx1_pinctrl_core_remove, | 335 | .remove = imx1_pinctrl_core_remove, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx23.c b/drivers/pinctrl/freescale/pinctrl-imx23.c index df79096becb0..955cbf4f094f 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx23.c +++ b/drivers/pinctrl/freescale/pinctrl-imx23.c | |||
@@ -281,7 +281,6 @@ MODULE_DEVICE_TABLE(of, imx23_pinctrl_of_match); | |||
281 | static struct platform_driver imx23_pinctrl_driver = { | 281 | static struct platform_driver imx23_pinctrl_driver = { |
282 | .driver = { | 282 | .driver = { |
283 | .name = "imx23-pinctrl", | 283 | .name = "imx23-pinctrl", |
284 | .owner = THIS_MODULE, | ||
285 | .of_match_table = imx23_pinctrl_of_match, | 284 | .of_match_table = imx23_pinctrl_of_match, |
286 | }, | 285 | }, |
287 | .probe = imx23_pinctrl_probe, | 286 | .probe = imx23_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx25.c b/drivers/pinctrl/freescale/pinctrl-imx25.c index 550e6d77ac2b..8d1013a040c9 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx25.c +++ b/drivers/pinctrl/freescale/pinctrl-imx25.c | |||
@@ -328,7 +328,6 @@ static int imx25_pinctrl_probe(struct platform_device *pdev) | |||
328 | static struct platform_driver imx25_pinctrl_driver = { | 328 | static struct platform_driver imx25_pinctrl_driver = { |
329 | .driver = { | 329 | .driver = { |
330 | .name = "imx25-pinctrl", | 330 | .name = "imx25-pinctrl", |
331 | .owner = THIS_MODULE, | ||
332 | .of_match_table = of_match_ptr(imx25_pinctrl_of_match), | 331 | .of_match_table = of_match_ptr(imx25_pinctrl_of_match), |
333 | }, | 332 | }, |
334 | .probe = imx25_pinctrl_probe, | 333 | .probe = imx25_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx27.c b/drivers/pinctrl/freescale/pinctrl-imx27.c index 945eccadea74..a461d5881f37 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx27.c +++ b/drivers/pinctrl/freescale/pinctrl-imx27.c | |||
@@ -402,7 +402,6 @@ static int imx27_pinctrl_probe(struct platform_device *pdev) | |||
402 | static struct platform_driver imx27_pinctrl_driver = { | 402 | static struct platform_driver imx27_pinctrl_driver = { |
403 | .driver = { | 403 | .driver = { |
404 | .name = "imx27-pinctrl", | 404 | .name = "imx27-pinctrl", |
405 | .owner = THIS_MODULE, | ||
406 | .of_match_table = of_match_ptr(imx27_pinctrl_of_match), | 405 | .of_match_table = of_match_ptr(imx27_pinctrl_of_match), |
407 | }, | 406 | }, |
408 | .probe = imx27_pinctrl_probe, | 407 | .probe = imx27_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx28.c b/drivers/pinctrl/freescale/pinctrl-imx28.c index 3bd45da21229..5082efec4f72 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx28.c +++ b/drivers/pinctrl/freescale/pinctrl-imx28.c | |||
@@ -397,7 +397,6 @@ MODULE_DEVICE_TABLE(of, imx28_pinctrl_of_match); | |||
397 | static struct platform_driver imx28_pinctrl_driver = { | 397 | static struct platform_driver imx28_pinctrl_driver = { |
398 | .driver = { | 398 | .driver = { |
399 | .name = "imx28-pinctrl", | 399 | .name = "imx28-pinctrl", |
400 | .owner = THIS_MODULE, | ||
401 | .of_match_table = imx28_pinctrl_of_match, | 400 | .of_match_table = imx28_pinctrl_of_match, |
402 | }, | 401 | }, |
403 | .probe = imx28_pinctrl_probe, | 402 | .probe = imx28_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx35.c b/drivers/pinctrl/freescale/pinctrl-imx35.c index 6bfbcd0112c1..9109c10c5dab 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx35.c +++ b/drivers/pinctrl/freescale/pinctrl-imx35.c | |||
@@ -1018,7 +1018,6 @@ static int imx35_pinctrl_probe(struct platform_device *pdev) | |||
1018 | static struct platform_driver imx35_pinctrl_driver = { | 1018 | static struct platform_driver imx35_pinctrl_driver = { |
1019 | .driver = { | 1019 | .driver = { |
1020 | .name = "imx35-pinctrl", | 1020 | .name = "imx35-pinctrl", |
1021 | .owner = THIS_MODULE, | ||
1022 | .of_match_table = imx35_pinctrl_of_match, | 1021 | .of_match_table = imx35_pinctrl_of_match, |
1023 | }, | 1022 | }, |
1024 | .probe = imx35_pinctrl_probe, | 1023 | .probe = imx35_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx50.c b/drivers/pinctrl/freescale/pinctrl-imx50.c index e8bd604ab147..51b31df96273 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx50.c +++ b/drivers/pinctrl/freescale/pinctrl-imx50.c | |||
@@ -404,7 +404,6 @@ static int imx50_pinctrl_probe(struct platform_device *pdev) | |||
404 | static struct platform_driver imx50_pinctrl_driver = { | 404 | static struct platform_driver imx50_pinctrl_driver = { |
405 | .driver = { | 405 | .driver = { |
406 | .name = "imx50-pinctrl", | 406 | .name = "imx50-pinctrl", |
407 | .owner = THIS_MODULE, | ||
408 | .of_match_table = of_match_ptr(imx50_pinctrl_of_match), | 407 | .of_match_table = of_match_ptr(imx50_pinctrl_of_match), |
409 | }, | 408 | }, |
410 | .probe = imx50_pinctrl_probe, | 409 | .probe = imx50_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx51.c b/drivers/pinctrl/freescale/pinctrl-imx51.c index b818051db7c9..8dec494aa2c6 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx51.c +++ b/drivers/pinctrl/freescale/pinctrl-imx51.c | |||
@@ -781,7 +781,6 @@ static int imx51_pinctrl_probe(struct platform_device *pdev) | |||
781 | static struct platform_driver imx51_pinctrl_driver = { | 781 | static struct platform_driver imx51_pinctrl_driver = { |
782 | .driver = { | 782 | .driver = { |
783 | .name = "imx51-pinctrl", | 783 | .name = "imx51-pinctrl", |
784 | .owner = THIS_MODULE, | ||
785 | .of_match_table = imx51_pinctrl_of_match, | 784 | .of_match_table = imx51_pinctrl_of_match, |
786 | }, | 785 | }, |
787 | .probe = imx51_pinctrl_probe, | 786 | .probe = imx51_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx53.c b/drivers/pinctrl/freescale/pinctrl-imx53.c index 1884d53cf750..7344d340013c 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx53.c +++ b/drivers/pinctrl/freescale/pinctrl-imx53.c | |||
@@ -467,7 +467,6 @@ static int imx53_pinctrl_probe(struct platform_device *pdev) | |||
467 | static struct platform_driver imx53_pinctrl_driver = { | 467 | static struct platform_driver imx53_pinctrl_driver = { |
468 | .driver = { | 468 | .driver = { |
469 | .name = "imx53-pinctrl", | 469 | .name = "imx53-pinctrl", |
470 | .owner = THIS_MODULE, | ||
471 | .of_match_table = imx53_pinctrl_of_match, | 470 | .of_match_table = imx53_pinctrl_of_match, |
472 | }, | 471 | }, |
473 | .probe = imx53_pinctrl_probe, | 472 | .probe = imx53_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6dl.c b/drivers/pinctrl/freescale/pinctrl-imx6dl.c index 656c4b08cc2e..6805c678c3b2 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6dl.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6dl.c | |||
@@ -473,7 +473,6 @@ static int imx6dl_pinctrl_probe(struct platform_device *pdev) | |||
473 | static struct platform_driver imx6dl_pinctrl_driver = { | 473 | static struct platform_driver imx6dl_pinctrl_driver = { |
474 | .driver = { | 474 | .driver = { |
475 | .name = "imx6dl-pinctrl", | 475 | .name = "imx6dl-pinctrl", |
476 | .owner = THIS_MODULE, | ||
477 | .of_match_table = imx6dl_pinctrl_of_match, | 476 | .of_match_table = imx6dl_pinctrl_of_match, |
478 | }, | 477 | }, |
479 | .probe = imx6dl_pinctrl_probe, | 478 | .probe = imx6dl_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6q.c b/drivers/pinctrl/freescale/pinctrl-imx6q.c index 59bb5b4ec0f6..4d1fcb861ac1 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6q.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6q.c | |||
@@ -479,7 +479,6 @@ static int imx6q_pinctrl_probe(struct platform_device *pdev) | |||
479 | static struct platform_driver imx6q_pinctrl_driver = { | 479 | static struct platform_driver imx6q_pinctrl_driver = { |
480 | .driver = { | 480 | .driver = { |
481 | .name = "imx6q-pinctrl", | 481 | .name = "imx6q-pinctrl", |
482 | .owner = THIS_MODULE, | ||
483 | .of_match_table = imx6q_pinctrl_of_match, | 482 | .of_match_table = imx6q_pinctrl_of_match, |
484 | }, | 483 | }, |
485 | .probe = imx6q_pinctrl_probe, | 484 | .probe = imx6q_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sl.c b/drivers/pinctrl/freescale/pinctrl-imx6sl.c index e0924bd7b98c..83fa5f19ae89 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6sl.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6sl.c | |||
@@ -380,7 +380,6 @@ static int imx6sl_pinctrl_probe(struct platform_device *pdev) | |||
380 | static struct platform_driver imx6sl_pinctrl_driver = { | 380 | static struct platform_driver imx6sl_pinctrl_driver = { |
381 | .driver = { | 381 | .driver = { |
382 | .name = "imx6sl-pinctrl", | 382 | .name = "imx6sl-pinctrl", |
383 | .owner = THIS_MODULE, | ||
384 | .of_match_table = imx6sl_pinctrl_of_match, | 383 | .of_match_table = imx6sl_pinctrl_of_match, |
385 | }, | 384 | }, |
386 | .probe = imx6sl_pinctrl_probe, | 385 | .probe = imx6sl_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-imx6sx.c b/drivers/pinctrl/freescale/pinctrl-imx6sx.c index 840344c8580d..0d78fe690818 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx6sx.c +++ b/drivers/pinctrl/freescale/pinctrl-imx6sx.c | |||
@@ -383,7 +383,6 @@ static int imx6sx_pinctrl_probe(struct platform_device *pdev) | |||
383 | static struct platform_driver imx6sx_pinctrl_driver = { | 383 | static struct platform_driver imx6sx_pinctrl_driver = { |
384 | .driver = { | 384 | .driver = { |
385 | .name = "imx6sx-pinctrl", | 385 | .name = "imx6sx-pinctrl", |
386 | .owner = THIS_MODULE, | ||
387 | .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match), | 386 | .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match), |
388 | }, | 387 | }, |
389 | .probe = imx6sx_pinctrl_probe, | 388 | .probe = imx6sx_pinctrl_probe, |
diff --git a/drivers/pinctrl/freescale/pinctrl-vf610.c b/drivers/pinctrl/freescale/pinctrl-vf610.c index b788e1578954..fc86276892fd 100644 --- a/drivers/pinctrl/freescale/pinctrl-vf610.c +++ b/drivers/pinctrl/freescale/pinctrl-vf610.c | |||
@@ -315,7 +315,6 @@ static int vf610_pinctrl_probe(struct platform_device *pdev) | |||
315 | static struct platform_driver vf610_pinctrl_driver = { | 315 | static struct platform_driver vf610_pinctrl_driver = { |
316 | .driver = { | 316 | .driver = { |
317 | .name = "vf610-pinctrl", | 317 | .name = "vf610-pinctrl", |
318 | .owner = THIS_MODULE, | ||
319 | .of_match_table = vf610_pinctrl_of_match, | 318 | .of_match_table = vf610_pinctrl_of_match, |
320 | }, | 319 | }, |
321 | .probe = vf610_pinctrl_probe, | 320 | .probe = vf610_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-370.c b/drivers/pinctrl/mvebu/pinctrl-armada-370.c index 670e5b01c678..c4f51d0cd2cc 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-370.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-370.c | |||
@@ -425,7 +425,6 @@ static int armada_370_pinctrl_remove(struct platform_device *pdev) | |||
425 | static struct platform_driver armada_370_pinctrl_driver = { | 425 | static struct platform_driver armada_370_pinctrl_driver = { |
426 | .driver = { | 426 | .driver = { |
427 | .name = "armada-370-pinctrl", | 427 | .name = "armada-370-pinctrl", |
428 | .owner = THIS_MODULE, | ||
429 | .of_match_table = armada_370_pinctrl_of_match, | 428 | .of_match_table = armada_370_pinctrl_of_match, |
430 | }, | 429 | }, |
431 | .probe = armada_370_pinctrl_probe, | 430 | .probe = armada_370_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-375.c b/drivers/pinctrl/mvebu/pinctrl-armada-375.c index db078fe7ace6..cd7c8f51f7d9 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-375.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-375.c | |||
@@ -445,7 +445,6 @@ static int armada_375_pinctrl_remove(struct platform_device *pdev) | |||
445 | static struct platform_driver armada_375_pinctrl_driver = { | 445 | static struct platform_driver armada_375_pinctrl_driver = { |
446 | .driver = { | 446 | .driver = { |
447 | .name = "armada-375-pinctrl", | 447 | .name = "armada-375-pinctrl", |
448 | .owner = THIS_MODULE, | ||
449 | .of_match_table = of_match_ptr(armada_375_pinctrl_of_match), | 448 | .of_match_table = of_match_ptr(armada_375_pinctrl_of_match), |
450 | }, | 449 | }, |
451 | .probe = armada_375_pinctrl_probe, | 450 | .probe = armada_375_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-38x.c b/drivers/pinctrl/mvebu/pinctrl-armada-38x.c index 1049f82fb62f..224c6cff6aa2 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-38x.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-38x.c | |||
@@ -448,7 +448,6 @@ static int armada_38x_pinctrl_remove(struct platform_device *pdev) | |||
448 | static struct platform_driver armada_38x_pinctrl_driver = { | 448 | static struct platform_driver armada_38x_pinctrl_driver = { |
449 | .driver = { | 449 | .driver = { |
450 | .name = "armada-38x-pinctrl", | 450 | .name = "armada-38x-pinctrl", |
451 | .owner = THIS_MODULE, | ||
452 | .of_match_table = of_match_ptr(armada_38x_pinctrl_of_match), | 451 | .of_match_table = of_match_ptr(armada_38x_pinctrl_of_match), |
453 | }, | 452 | }, |
454 | .probe = armada_38x_pinctrl_probe, | 453 | .probe = armada_38x_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c index de311129f7a0..fc3376147c18 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-xp.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-xp.c | |||
@@ -472,7 +472,6 @@ static int armada_xp_pinctrl_remove(struct platform_device *pdev) | |||
472 | static struct platform_driver armada_xp_pinctrl_driver = { | 472 | static struct platform_driver armada_xp_pinctrl_driver = { |
473 | .driver = { | 473 | .driver = { |
474 | .name = "armada-xp-pinctrl", | 474 | .name = "armada-xp-pinctrl", |
475 | .owner = THIS_MODULE, | ||
476 | .of_match_table = armada_xp_pinctrl_of_match, | 475 | .of_match_table = armada_xp_pinctrl_of_match, |
477 | }, | 476 | }, |
478 | .probe = armada_xp_pinctrl_probe, | 477 | .probe = armada_xp_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c b/drivers/pinctrl/mvebu/pinctrl-dove.c index 3b022178a566..89a52e15f0ae 100644 --- a/drivers/pinctrl/mvebu/pinctrl-dove.c +++ b/drivers/pinctrl/mvebu/pinctrl-dove.c | |||
@@ -851,7 +851,6 @@ static int dove_pinctrl_remove(struct platform_device *pdev) | |||
851 | static struct platform_driver dove_pinctrl_driver = { | 851 | static struct platform_driver dove_pinctrl_driver = { |
852 | .driver = { | 852 | .driver = { |
853 | .name = "dove-pinctrl", | 853 | .name = "dove-pinctrl", |
854 | .owner = THIS_MODULE, | ||
855 | .of_match_table = dove_pinctrl_of_match, | 854 | .of_match_table = dove_pinctrl_of_match, |
856 | }, | 855 | }, |
857 | .probe = dove_pinctrl_probe, | 856 | .probe = dove_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-kirkwood.c b/drivers/pinctrl/mvebu/pinctrl-kirkwood.c index 0d0211a1a0b0..dbc673cf7131 100644 --- a/drivers/pinctrl/mvebu/pinctrl-kirkwood.c +++ b/drivers/pinctrl/mvebu/pinctrl-kirkwood.c | |||
@@ -489,7 +489,6 @@ static int kirkwood_pinctrl_remove(struct platform_device *pdev) | |||
489 | static struct platform_driver kirkwood_pinctrl_driver = { | 489 | static struct platform_driver kirkwood_pinctrl_driver = { |
490 | .driver = { | 490 | .driver = { |
491 | .name = "kirkwood-pinctrl", | 491 | .name = "kirkwood-pinctrl", |
492 | .owner = THIS_MODULE, | ||
493 | .of_match_table = kirkwood_pinctrl_of_match, | 492 | .of_match_table = kirkwood_pinctrl_of_match, |
494 | }, | 493 | }, |
495 | .probe = kirkwood_pinctrl_probe, | 494 | .probe = kirkwood_pinctrl_probe, |
diff --git a/drivers/pinctrl/mvebu/pinctrl-orion.c b/drivers/pinctrl/mvebu/pinctrl-orion.c index dda1e7254e15..3a632efb56bb 100644 --- a/drivers/pinctrl/mvebu/pinctrl-orion.c +++ b/drivers/pinctrl/mvebu/pinctrl-orion.c | |||
@@ -247,7 +247,6 @@ static int orion_pinctrl_remove(struct platform_device *pdev) | |||
247 | static struct platform_driver orion_pinctrl_driver = { | 247 | static struct platform_driver orion_pinctrl_driver = { |
248 | .driver = { | 248 | .driver = { |
249 | .name = "orion-pinctrl", | 249 | .name = "orion-pinctrl", |
250 | .owner = THIS_MODULE, | ||
251 | .of_match_table = of_match_ptr(orion_pinctrl_of_match), | 250 | .of_match_table = of_match_ptr(orion_pinctrl_of_match), |
252 | }, | 251 | }, |
253 | .probe = orion_pinctrl_probe, | 252 | .probe = orion_pinctrl_probe, |
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index 228972827132..37af8fb15c71 100644 --- a/drivers/pinctrl/nomadik/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c | |||
@@ -1285,7 +1285,6 @@ static int abx500_gpio_remove(struct platform_device *pdev) | |||
1285 | static struct platform_driver abx500_gpio_driver = { | 1285 | static struct platform_driver abx500_gpio_driver = { |
1286 | .driver = { | 1286 | .driver = { |
1287 | .name = "abx500-gpio", | 1287 | .name = "abx500-gpio", |
1288 | .owner = THIS_MODULE, | ||
1289 | .of_match_table = abx500_gpio_match, | 1288 | .of_match_table = abx500_gpio_match, |
1290 | }, | 1289 | }, |
1291 | .probe = abx500_gpio_probe, | 1290 | .probe = abx500_gpio_probe, |
diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index 746db6acf648..97a7724dcdf8 100644 --- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c | |||
@@ -2047,7 +2047,6 @@ static const struct of_device_id nmk_gpio_match[] = { | |||
2047 | 2047 | ||
2048 | static struct platform_driver nmk_gpio_driver = { | 2048 | static struct platform_driver nmk_gpio_driver = { |
2049 | .driver = { | 2049 | .driver = { |
2050 | .owner = THIS_MODULE, | ||
2051 | .name = "gpio", | 2050 | .name = "gpio", |
2052 | .of_match_table = nmk_gpio_match, | 2051 | .of_match_table = nmk_gpio_match, |
2053 | }, | 2052 | }, |
@@ -2060,7 +2059,6 @@ static SIMPLE_DEV_PM_OPS(nmk_pinctrl_pm_ops, | |||
2060 | 2059 | ||
2061 | static struct platform_driver nmk_pinctrl_driver = { | 2060 | static struct platform_driver nmk_pinctrl_driver = { |
2062 | .driver = { | 2061 | .driver = { |
2063 | .owner = THIS_MODULE, | ||
2064 | .name = "pinctrl-nomadik", | 2062 | .name = "pinctrl-nomadik", |
2065 | .of_match_table = nmk_pinctrl_match, | 2063 | .of_match_table = nmk_pinctrl_match, |
2066 | .pm = &nmk_pinctrl_pm_ops, | 2064 | .pm = &nmk_pinctrl_pm_ops, |
diff --git a/drivers/pinctrl/pinctrl-as3722.c b/drivers/pinctrl/pinctrl-as3722.c index 1f790a4b83fe..169b1bfa00c8 100644 --- a/drivers/pinctrl/pinctrl-as3722.c +++ b/drivers/pinctrl/pinctrl-as3722.c | |||
@@ -634,7 +634,6 @@ MODULE_DEVICE_TABLE(of, as3722_pinctrl_of_match); | |||
634 | static struct platform_driver as3722_pinctrl_driver = { | 634 | static struct platform_driver as3722_pinctrl_driver = { |
635 | .driver = { | 635 | .driver = { |
636 | .name = "as3722-pinctrl", | 636 | .name = "as3722-pinctrl", |
637 | .owner = THIS_MODULE, | ||
638 | .of_match_table = as3722_pinctrl_of_match, | 637 | .of_match_table = as3722_pinctrl_of_match, |
639 | }, | 638 | }, |
640 | .probe = as3722_pinctrl_probe, | 639 | .probe = as3722_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 354a81d40925..654b36517f96 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c | |||
@@ -1832,7 +1832,6 @@ err: | |||
1832 | static struct platform_driver at91_gpio_driver = { | 1832 | static struct platform_driver at91_gpio_driver = { |
1833 | .driver = { | 1833 | .driver = { |
1834 | .name = "gpio-at91", | 1834 | .name = "gpio-at91", |
1835 | .owner = THIS_MODULE, | ||
1836 | .of_match_table = at91_gpio_of_match, | 1835 | .of_match_table = at91_gpio_of_match, |
1837 | }, | 1836 | }, |
1838 | .probe = at91_gpio_probe, | 1837 | .probe = at91_gpio_probe, |
@@ -1841,7 +1840,6 @@ static struct platform_driver at91_gpio_driver = { | |||
1841 | static struct platform_driver at91_pinctrl_driver = { | 1840 | static struct platform_driver at91_pinctrl_driver = { |
1842 | .driver = { | 1841 | .driver = { |
1843 | .name = "pinctrl-at91", | 1842 | .name = "pinctrl-at91", |
1844 | .owner = THIS_MODULE, | ||
1845 | .of_match_table = at91_pinctrl_of_match, | 1843 | .of_match_table = at91_pinctrl_of_match, |
1846 | }, | 1844 | }, |
1847 | .probe = at91_pinctrl_probe, | 1845 | .probe = at91_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-baytrail.c b/drivers/pinctrl/pinctrl-baytrail.c index e12e5b07f6d7..e0d3ca2fab8f 100644 --- a/drivers/pinctrl/pinctrl-baytrail.c +++ b/drivers/pinctrl/pinctrl-baytrail.c | |||
@@ -602,7 +602,6 @@ static struct platform_driver byt_gpio_driver = { | |||
602 | .remove = byt_gpio_remove, | 602 | .remove = byt_gpio_remove, |
603 | .driver = { | 603 | .driver = { |
604 | .name = "byt_gpio", | 604 | .name = "byt_gpio", |
605 | .owner = THIS_MODULE, | ||
606 | .pm = &byt_gpio_pm_ops, | 605 | .pm = &byt_gpio_pm_ops, |
607 | .acpi_match_table = ACPI_PTR(byt_gpio_acpi_match), | 606 | .acpi_match_table = ACPI_PTR(byt_gpio_acpi_match), |
608 | }, | 607 | }, |
diff --git a/drivers/pinctrl/pinctrl-bcm281xx.c b/drivers/pinctrl/pinctrl-bcm281xx.c index a26e0c2ba33e..1db69857de09 100644 --- a/drivers/pinctrl/pinctrl-bcm281xx.c +++ b/drivers/pinctrl/pinctrl-bcm281xx.c | |||
@@ -1448,7 +1448,6 @@ static struct of_device_id bcm281xx_pinctrl_of_match[] = { | |||
1448 | static struct platform_driver bcm281xx_pinctrl_driver = { | 1448 | static struct platform_driver bcm281xx_pinctrl_driver = { |
1449 | .driver = { | 1449 | .driver = { |
1450 | .name = "bcm281xx-pinctrl", | 1450 | .name = "bcm281xx-pinctrl", |
1451 | .owner = THIS_MODULE, | ||
1452 | .of_match_table = bcm281xx_pinctrl_of_match, | 1451 | .of_match_table = bcm281xx_pinctrl_of_match, |
1453 | }, | 1452 | }, |
1454 | }; | 1453 | }; |
diff --git a/drivers/pinctrl/pinctrl-bcm2835.c b/drivers/pinctrl/pinctrl-bcm2835.c index eabba02f71f9..9aa8a3f10b10 100644 --- a/drivers/pinctrl/pinctrl-bcm2835.c +++ b/drivers/pinctrl/pinctrl-bcm2835.c | |||
@@ -1062,7 +1062,6 @@ static struct platform_driver bcm2835_pinctrl_driver = { | |||
1062 | .remove = bcm2835_pinctrl_remove, | 1062 | .remove = bcm2835_pinctrl_remove, |
1063 | .driver = { | 1063 | .driver = { |
1064 | .name = MODULE_NAME, | 1064 | .name = MODULE_NAME, |
1065 | .owner = THIS_MODULE, | ||
1066 | .of_match_table = bcm2835_pinctrl_match, | 1065 | .of_match_table = bcm2835_pinctrl_match, |
1067 | }, | 1066 | }, |
1068 | }; | 1067 | }; |
diff --git a/drivers/pinctrl/pinctrl-falcon.c b/drivers/pinctrl/pinctrl-falcon.c index 2e62689b5e9f..1d21dc226920 100644 --- a/drivers/pinctrl/pinctrl-falcon.c +++ b/drivers/pinctrl/pinctrl-falcon.c | |||
@@ -500,7 +500,6 @@ static struct platform_driver pinctrl_falcon_driver = { | |||
500 | .probe = pinctrl_falcon_probe, | 500 | .probe = pinctrl_falcon_probe, |
501 | .driver = { | 501 | .driver = { |
502 | .name = "pinctrl-falcon", | 502 | .name = "pinctrl-falcon", |
503 | .owner = THIS_MODULE, | ||
504 | .of_match_table = falcon_match, | 503 | .of_match_table = falcon_match, |
505 | }, | 504 | }, |
506 | }; | 505 | }; |
diff --git a/drivers/pinctrl/pinctrl-palmas.c b/drivers/pinctrl/pinctrl-palmas.c index e3079d3d19fe..26461e30f0ae 100644 --- a/drivers/pinctrl/pinctrl-palmas.c +++ b/drivers/pinctrl/pinctrl-palmas.c | |||
@@ -1062,7 +1062,6 @@ static int palmas_pinctrl_remove(struct platform_device *pdev) | |||
1062 | static struct platform_driver palmas_pinctrl_driver = { | 1062 | static struct platform_driver palmas_pinctrl_driver = { |
1063 | .driver = { | 1063 | .driver = { |
1064 | .name = "palmas-pinctrl", | 1064 | .name = "palmas-pinctrl", |
1065 | .owner = THIS_MODULE, | ||
1066 | .of_match_table = palmas_pinctrl_of_match, | 1065 | .of_match_table = palmas_pinctrl_of_match, |
1067 | }, | 1066 | }, |
1068 | .probe = palmas_pinctrl_probe, | 1067 | .probe = palmas_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 016f4578e494..71d5835d864b 100644 --- a/drivers/pinctrl/pinctrl-rockchip.c +++ b/drivers/pinctrl/pinctrl-rockchip.c | |||
@@ -1982,7 +1982,6 @@ static struct platform_driver rockchip_pinctrl_driver = { | |||
1982 | .probe = rockchip_pinctrl_probe, | 1982 | .probe = rockchip_pinctrl_probe, |
1983 | .driver = { | 1983 | .driver = { |
1984 | .name = "rockchip-pinctrl", | 1984 | .name = "rockchip-pinctrl", |
1985 | .owner = THIS_MODULE, | ||
1986 | .of_match_table = rockchip_pinctrl_dt_match, | 1985 | .of_match_table = rockchip_pinctrl_dt_match, |
1987 | }, | 1986 | }, |
1988 | }; | 1987 | }; |
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index fb94b772ad62..69e84427f913 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c | |||
@@ -2016,7 +2016,6 @@ static struct platform_driver pcs_driver = { | |||
2016 | .probe = pcs_probe, | 2016 | .probe = pcs_probe, |
2017 | .remove = pcs_remove, | 2017 | .remove = pcs_remove, |
2018 | .driver = { | 2018 | .driver = { |
2019 | .owner = THIS_MODULE, | ||
2020 | .name = DRIVER_NAME, | 2019 | .name = DRIVER_NAME, |
2021 | .of_match_table = pcs_of_match, | 2020 | .of_match_table = pcs_of_match, |
2022 | }, | 2021 | }, |
diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c index 4b1792aad3d8..a23e8729a473 100644 --- a/drivers/pinctrl/pinctrl-st.c +++ b/drivers/pinctrl/pinctrl-st.c | |||
@@ -1689,7 +1689,6 @@ static int st_pctl_probe(struct platform_device *pdev) | |||
1689 | static struct platform_driver st_pctl_driver = { | 1689 | static struct platform_driver st_pctl_driver = { |
1690 | .driver = { | 1690 | .driver = { |
1691 | .name = "st-pinctrl", | 1691 | .name = "st-pinctrl", |
1692 | .owner = THIS_MODULE, | ||
1693 | .of_match_table = st_pctl_of_match, | 1692 | .of_match_table = st_pctl_of_match, |
1694 | }, | 1693 | }, |
1695 | .probe = st_pctl_probe, | 1694 | .probe = st_pctl_probe, |
diff --git a/drivers/pinctrl/pinctrl-tb10x.c b/drivers/pinctrl/pinctrl-tb10x.c index 3b9bfcf717ac..6474bbd936f7 100644 --- a/drivers/pinctrl/pinctrl-tb10x.c +++ b/drivers/pinctrl/pinctrl-tb10x.c | |||
@@ -847,7 +847,6 @@ static struct platform_driver tb10x_pinctrl_pdrv = { | |||
847 | .driver = { | 847 | .driver = { |
848 | .name = "tb10x_pinctrl", | 848 | .name = "tb10x_pinctrl", |
849 | .of_match_table = of_match_ptr(tb10x_pinctrl_dt_ids), | 849 | .of_match_table = of_match_ptr(tb10x_pinctrl_dt_ids), |
850 | .owner = THIS_MODULE | ||
851 | } | 850 | } |
852 | }; | 851 | }; |
853 | 852 | ||
diff --git a/drivers/pinctrl/pinctrl-tegra114.c b/drivers/pinctrl/pinctrl-tegra114.c index a3db85b0b75f..52e4ec6386b4 100644 --- a/drivers/pinctrl/pinctrl-tegra114.c +++ b/drivers/pinctrl/pinctrl-tegra114.c | |||
@@ -1859,7 +1859,6 @@ MODULE_DEVICE_TABLE(of, tegra114_pinctrl_of_match); | |||
1859 | static struct platform_driver tegra114_pinctrl_driver = { | 1859 | static struct platform_driver tegra114_pinctrl_driver = { |
1860 | .driver = { | 1860 | .driver = { |
1861 | .name = "tegra114-pinctrl", | 1861 | .name = "tegra114-pinctrl", |
1862 | .owner = THIS_MODULE, | ||
1863 | .of_match_table = tegra114_pinctrl_of_match, | 1862 | .of_match_table = tegra114_pinctrl_of_match, |
1864 | }, | 1863 | }, |
1865 | .probe = tegra114_pinctrl_probe, | 1864 | .probe = tegra114_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-tegra124.c b/drivers/pinctrl/pinctrl-tegra124.c index 2f9b75c14967..2b20906c5356 100644 --- a/drivers/pinctrl/pinctrl-tegra124.c +++ b/drivers/pinctrl/pinctrl-tegra124.c | |||
@@ -2072,7 +2072,6 @@ MODULE_DEVICE_TABLE(of, tegra124_pinctrl_of_match); | |||
2072 | static struct platform_driver tegra124_pinctrl_driver = { | 2072 | static struct platform_driver tegra124_pinctrl_driver = { |
2073 | .driver = { | 2073 | .driver = { |
2074 | .name = "tegra124-pinctrl", | 2074 | .name = "tegra124-pinctrl", |
2075 | .owner = THIS_MODULE, | ||
2076 | .of_match_table = tegra124_pinctrl_of_match, | 2075 | .of_match_table = tegra124_pinctrl_of_match, |
2077 | }, | 2076 | }, |
2078 | .probe = tegra124_pinctrl_probe, | 2077 | .probe = tegra124_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-tegra20.c b/drivers/pinctrl/pinctrl-tegra20.c index c9805d2e71b0..d3a5722e4acb 100644 --- a/drivers/pinctrl/pinctrl-tegra20.c +++ b/drivers/pinctrl/pinctrl-tegra20.c | |||
@@ -2236,7 +2236,6 @@ static const struct of_device_id tegra20_pinctrl_of_match[] = { | |||
2236 | static struct platform_driver tegra20_pinctrl_driver = { | 2236 | static struct platform_driver tegra20_pinctrl_driver = { |
2237 | .driver = { | 2237 | .driver = { |
2238 | .name = "tegra20-pinctrl", | 2238 | .name = "tegra20-pinctrl", |
2239 | .owner = THIS_MODULE, | ||
2240 | .of_match_table = tegra20_pinctrl_of_match, | 2239 | .of_match_table = tegra20_pinctrl_of_match, |
2241 | }, | 2240 | }, |
2242 | .probe = tegra20_pinctrl_probe, | 2241 | .probe = tegra20_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-tegra30.c b/drivers/pinctrl/pinctrl-tegra30.c index e7b72e916558..f6edc2ff5494 100644 --- a/drivers/pinctrl/pinctrl-tegra30.c +++ b/drivers/pinctrl/pinctrl-tegra30.c | |||
@@ -2493,7 +2493,6 @@ MODULE_DEVICE_TABLE(of, tegra30_pinctrl_of_match); | |||
2493 | static struct platform_driver tegra30_pinctrl_driver = { | 2493 | static struct platform_driver tegra30_pinctrl_driver = { |
2494 | .driver = { | 2494 | .driver = { |
2495 | .name = "tegra30-pinctrl", | 2495 | .name = "tegra30-pinctrl", |
2496 | .owner = THIS_MODULE, | ||
2497 | .of_match_table = tegra30_pinctrl_of_match, | 2496 | .of_match_table = tegra30_pinctrl_of_match, |
2498 | }, | 2497 | }, |
2499 | .probe = tegra30_pinctrl_probe, | 2498 | .probe = tegra30_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-tz1090-pdc.c b/drivers/pinctrl/pinctrl-tz1090-pdc.c index 3bb6a3b78864..146e48a9b839 100644 --- a/drivers/pinctrl/pinctrl-tz1090-pdc.c +++ b/drivers/pinctrl/pinctrl-tz1090-pdc.c | |||
@@ -977,7 +977,6 @@ static struct of_device_id tz1090_pdc_pinctrl_of_match[] = { | |||
977 | static struct platform_driver tz1090_pdc_pinctrl_driver = { | 977 | static struct platform_driver tz1090_pdc_pinctrl_driver = { |
978 | .driver = { | 978 | .driver = { |
979 | .name = "tz1090-pdc-pinctrl", | 979 | .name = "tz1090-pdc-pinctrl", |
980 | .owner = THIS_MODULE, | ||
981 | .of_match_table = tz1090_pdc_pinctrl_of_match, | 980 | .of_match_table = tz1090_pdc_pinctrl_of_match, |
982 | }, | 981 | }, |
983 | .probe = tz1090_pdc_pinctrl_probe, | 982 | .probe = tz1090_pdc_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-tz1090.c b/drivers/pinctrl/pinctrl-tz1090.c index 48d36413b99f..df8cb1e5b7b4 100644 --- a/drivers/pinctrl/pinctrl-tz1090.c +++ b/drivers/pinctrl/pinctrl-tz1090.c | |||
@@ -1992,7 +1992,6 @@ static struct of_device_id tz1090_pinctrl_of_match[] = { | |||
1992 | static struct platform_driver tz1090_pinctrl_driver = { | 1992 | static struct platform_driver tz1090_pinctrl_driver = { |
1993 | .driver = { | 1993 | .driver = { |
1994 | .name = "tz1090-pinctrl", | 1994 | .name = "tz1090-pinctrl", |
1995 | .owner = THIS_MODULE, | ||
1996 | .of_match_table = tz1090_pinctrl_of_match, | 1995 | .of_match_table = tz1090_pinctrl_of_match, |
1997 | }, | 1996 | }, |
1998 | .probe = tz1090_pinctrl_probe, | 1997 | .probe = tz1090_pinctrl_probe, |
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c index e9c7113d81f2..f931e65aba3a 100644 --- a/drivers/pinctrl/pinctrl-u300.c +++ b/drivers/pinctrl/pinctrl-u300.c | |||
@@ -1098,7 +1098,6 @@ static const struct of_device_id u300_pinctrl_match[] = { | |||
1098 | static struct platform_driver u300_pmx_driver = { | 1098 | static struct platform_driver u300_pmx_driver = { |
1099 | .driver = { | 1099 | .driver = { |
1100 | .name = DRIVER_NAME, | 1100 | .name = DRIVER_NAME, |
1101 | .owner = THIS_MODULE, | ||
1102 | .of_match_table = u300_pinctrl_match, | 1101 | .of_match_table = u300_pinctrl_match, |
1103 | }, | 1102 | }, |
1104 | .probe = u300_pmx_probe, | 1103 | .probe = u300_pmx_probe, |
diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c index 37040ab42890..c5cef59f5965 100644 --- a/drivers/pinctrl/pinctrl-xway.c +++ b/drivers/pinctrl/pinctrl-xway.c | |||
@@ -840,7 +840,6 @@ static struct platform_driver pinmux_xway_driver = { | |||
840 | .probe = pinmux_xway_probe, | 840 | .probe = pinmux_xway_probe, |
841 | .driver = { | 841 | .driver = { |
842 | .name = "pinctrl-xway", | 842 | .name = "pinctrl-xway", |
843 | .owner = THIS_MODULE, | ||
844 | .of_match_table = xway_match, | 843 | .of_match_table = xway_match, |
845 | }, | 844 | }, |
846 | }; | 845 | }; |
diff --git a/drivers/pinctrl/qcom/pinctrl-apq8064.c b/drivers/pinctrl/qcom/pinctrl-apq8064.c index c832d7d6b912..cd96699b1929 100644 --- a/drivers/pinctrl/qcom/pinctrl-apq8064.c +++ b/drivers/pinctrl/qcom/pinctrl-apq8064.c | |||
@@ -612,7 +612,6 @@ static const struct of_device_id apq8064_pinctrl_of_match[] = { | |||
612 | static struct platform_driver apq8064_pinctrl_driver = { | 612 | static struct platform_driver apq8064_pinctrl_driver = { |
613 | .driver = { | 613 | .driver = { |
614 | .name = "apq8064-pinctrl", | 614 | .name = "apq8064-pinctrl", |
615 | .owner = THIS_MODULE, | ||
616 | .of_match_table = apq8064_pinctrl_of_match, | 615 | .of_match_table = apq8064_pinctrl_of_match, |
617 | }, | 616 | }, |
618 | .probe = apq8064_pinctrl_probe, | 617 | .probe = apq8064_pinctrl_probe, |
diff --git a/drivers/pinctrl/qcom/pinctrl-apq8084.c b/drivers/pinctrl/qcom/pinctrl-apq8084.c index 138cbf6134a5..d07e8df43b90 100644 --- a/drivers/pinctrl/qcom/pinctrl-apq8084.c +++ b/drivers/pinctrl/qcom/pinctrl-apq8084.c | |||
@@ -1221,7 +1221,6 @@ static const struct of_device_id apq8084_pinctrl_of_match[] = { | |||
1221 | static struct platform_driver apq8084_pinctrl_driver = { | 1221 | static struct platform_driver apq8084_pinctrl_driver = { |
1222 | .driver = { | 1222 | .driver = { |
1223 | .name = "apq8084-pinctrl", | 1223 | .name = "apq8084-pinctrl", |
1224 | .owner = THIS_MODULE, | ||
1225 | .of_match_table = apq8084_pinctrl_of_match, | 1224 | .of_match_table = apq8084_pinctrl_of_match, |
1226 | }, | 1225 | }, |
1227 | .probe = apq8084_pinctrl_probe, | 1226 | .probe = apq8084_pinctrl_probe, |
diff --git a/drivers/pinctrl/qcom/pinctrl-ipq8064.c b/drivers/pinctrl/qcom/pinctrl-ipq8064.c index 81f49a9b4dbe..bcb29c02f4b0 100644 --- a/drivers/pinctrl/qcom/pinctrl-ipq8064.c +++ b/drivers/pinctrl/qcom/pinctrl-ipq8064.c | |||
@@ -645,7 +645,6 @@ static const struct of_device_id ipq8064_pinctrl_of_match[] = { | |||
645 | static struct platform_driver ipq8064_pinctrl_driver = { | 645 | static struct platform_driver ipq8064_pinctrl_driver = { |
646 | .driver = { | 646 | .driver = { |
647 | .name = "ipq8064-pinctrl", | 647 | .name = "ipq8064-pinctrl", |
648 | .owner = THIS_MODULE, | ||
649 | .of_match_table = ipq8064_pinctrl_of_match, | 648 | .of_match_table = ipq8064_pinctrl_of_match, |
650 | }, | 649 | }, |
651 | .probe = ipq8064_pinctrl_probe, | 650 | .probe = ipq8064_pinctrl_probe, |
diff --git a/drivers/pinctrl/qcom/pinctrl-msm8960.c b/drivers/pinctrl/qcom/pinctrl-msm8960.c index 2ab21ce5575a..ed23e367fe89 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8960.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8960.c | |||
@@ -1259,7 +1259,6 @@ static const struct of_device_id msm8960_pinctrl_of_match[] = { | |||
1259 | static struct platform_driver msm8960_pinctrl_driver = { | 1259 | static struct platform_driver msm8960_pinctrl_driver = { |
1260 | .driver = { | 1260 | .driver = { |
1261 | .name = "msm8960-pinctrl", | 1261 | .name = "msm8960-pinctrl", |
1262 | .owner = THIS_MODULE, | ||
1263 | .of_match_table = msm8960_pinctrl_of_match, | 1262 | .of_match_table = msm8960_pinctrl_of_match, |
1264 | }, | 1263 | }, |
1265 | .probe = msm8960_pinctrl_probe, | 1264 | .probe = msm8960_pinctrl_probe, |
diff --git a/drivers/pinctrl/qcom/pinctrl-msm8x74.c b/drivers/pinctrl/qcom/pinctrl-msm8x74.c index 3c858384d041..46fe6ad5f97e 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8x74.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8x74.c | |||
@@ -1043,7 +1043,6 @@ static const struct of_device_id msm8x74_pinctrl_of_match[] = { | |||
1043 | static struct platform_driver msm8x74_pinctrl_driver = { | 1043 | static struct platform_driver msm8x74_pinctrl_driver = { |
1044 | .driver = { | 1044 | .driver = { |
1045 | .name = "msm8x74-pinctrl", | 1045 | .name = "msm8x74-pinctrl", |
1046 | .owner = THIS_MODULE, | ||
1047 | .of_match_table = msm8x74_pinctrl_of_match, | 1046 | .of_match_table = msm8x74_pinctrl_of_match, |
1048 | }, | 1047 | }, |
1049 | .probe = msm8x74_pinctrl_probe, | 1048 | .probe = msm8x74_pinctrl_probe, |
diff --git a/drivers/pinctrl/samsung/pinctrl-exynos5440.c b/drivers/pinctrl/samsung/pinctrl-exynos5440.c index 88acfc0efd54..86192be3b679 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos5440.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos5440.c | |||
@@ -1036,7 +1036,6 @@ static struct platform_driver exynos5440_pinctrl_driver = { | |||
1036 | .probe = exynos5440_pinctrl_probe, | 1036 | .probe = exynos5440_pinctrl_probe, |
1037 | .driver = { | 1037 | .driver = { |
1038 | .name = "exynos5440-pinctrl", | 1038 | .name = "exynos5440-pinctrl", |
1039 | .owner = THIS_MODULE, | ||
1040 | .of_match_table = exynos5440_pinctrl_dt_match, | 1039 | .of_match_table = exynos5440_pinctrl_dt_match, |
1041 | }, | 1040 | }, |
1042 | }; | 1041 | }; |
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index 2d37c8f49f3c..2fd05e2c2ce6 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c | |||
@@ -1249,7 +1249,6 @@ static struct platform_driver samsung_pinctrl_driver = { | |||
1249 | .probe = samsung_pinctrl_probe, | 1249 | .probe = samsung_pinctrl_probe, |
1250 | .driver = { | 1250 | .driver = { |
1251 | .name = "samsung-pinctrl", | 1251 | .name = "samsung-pinctrl", |
1252 | .owner = THIS_MODULE, | ||
1253 | .of_match_table = samsung_pinctrl_dt_match, | 1252 | .of_match_table = samsung_pinctrl_dt_match, |
1254 | }, | 1253 | }, |
1255 | }; | 1254 | }; |
diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c index 6572c233f73d..66dc62d2156c 100644 --- a/drivers/pinctrl/sh-pfc/core.c +++ b/drivers/pinctrl/sh-pfc/core.c | |||
@@ -650,7 +650,6 @@ static struct platform_driver sh_pfc_driver = { | |||
650 | .id_table = sh_pfc_id_table, | 650 | .id_table = sh_pfc_id_table, |
651 | .driver = { | 651 | .driver = { |
652 | .name = DRV_NAME, | 652 | .name = DRV_NAME, |
653 | .owner = THIS_MODULE, | ||
654 | .of_match_table = of_match_ptr(sh_pfc_of_table), | 653 | .of_match_table = of_match_ptr(sh_pfc_of_table), |
655 | }, | 654 | }, |
656 | }; | 655 | }; |
diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c index 4c831fdfcc2f..4871647c7f85 100644 --- a/drivers/pinctrl/sirf/pinctrl-sirf.c +++ b/drivers/pinctrl/sirf/pinctrl-sirf.c | |||
@@ -406,7 +406,6 @@ static const struct dev_pm_ops sirfsoc_pinmux_pm_ops = { | |||
406 | static struct platform_driver sirfsoc_pinmux_driver = { | 406 | static struct platform_driver sirfsoc_pinmux_driver = { |
407 | .driver = { | 407 | .driver = { |
408 | .name = DRIVER_NAME, | 408 | .name = DRIVER_NAME, |
409 | .owner = THIS_MODULE, | ||
410 | .of_match_table = pinmux_ids, | 409 | .of_match_table = pinmux_ids, |
411 | #ifdef CONFIG_PM_SLEEP | 410 | #ifdef CONFIG_PM_SLEEP |
412 | .pm = &sirfsoc_pinmux_pm_ops, | 411 | .pm = &sirfsoc_pinmux_pm_ops, |
diff --git a/drivers/pinctrl/spear/pinctrl-plgpio.c b/drivers/pinctrl/spear/pinctrl-plgpio.c index bddb79105d67..59a6b6bcfae4 100644 --- a/drivers/pinctrl/spear/pinctrl-plgpio.c +++ b/drivers/pinctrl/spear/pinctrl-plgpio.c | |||
@@ -710,7 +710,6 @@ MODULE_DEVICE_TABLE(of, plgpio_of_match); | |||
710 | static struct platform_driver plgpio_driver = { | 710 | static struct platform_driver plgpio_driver = { |
711 | .probe = plgpio_probe, | 711 | .probe = plgpio_probe, |
712 | .driver = { | 712 | .driver = { |
713 | .owner = THIS_MODULE, | ||
714 | .name = "spear-plgpio", | 713 | .name = "spear-plgpio", |
715 | .pm = &plgpio_dev_pm_ops, | 714 | .pm = &plgpio_dev_pm_ops, |
716 | .of_match_table = plgpio_of_match, | 715 | .of_match_table = plgpio_of_match, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear1310.c b/drivers/pinctrl/spear/pinctrl-spear1310.c index 6d57d43ab640..a7bdc537efa7 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1310.c +++ b/drivers/pinctrl/spear/pinctrl-spear1310.c | |||
@@ -2712,7 +2712,6 @@ static int spear1310_pinctrl_remove(struct platform_device *pdev) | |||
2712 | static struct platform_driver spear1310_pinctrl_driver = { | 2712 | static struct platform_driver spear1310_pinctrl_driver = { |
2713 | .driver = { | 2713 | .driver = { |
2714 | .name = DRIVER_NAME, | 2714 | .name = DRIVER_NAME, |
2715 | .owner = THIS_MODULE, | ||
2716 | .of_match_table = spear1310_pinctrl_of_match, | 2715 | .of_match_table = spear1310_pinctrl_of_match, |
2717 | }, | 2716 | }, |
2718 | .probe = spear1310_pinctrl_probe, | 2717 | .probe = spear1310_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear1340.c b/drivers/pinctrl/spear/pinctrl-spear1340.c index d243e43e7f6d..f43ec85a0328 100644 --- a/drivers/pinctrl/spear/pinctrl-spear1340.c +++ b/drivers/pinctrl/spear/pinctrl-spear1340.c | |||
@@ -2028,7 +2028,6 @@ static int spear1340_pinctrl_remove(struct platform_device *pdev) | |||
2028 | static struct platform_driver spear1340_pinctrl_driver = { | 2028 | static struct platform_driver spear1340_pinctrl_driver = { |
2029 | .driver = { | 2029 | .driver = { |
2030 | .name = DRIVER_NAME, | 2030 | .name = DRIVER_NAME, |
2031 | .owner = THIS_MODULE, | ||
2032 | .of_match_table = spear1340_pinctrl_of_match, | 2031 | .of_match_table = spear1340_pinctrl_of_match, |
2033 | }, | 2032 | }, |
2034 | .probe = spear1340_pinctrl_probe, | 2033 | .probe = spear1340_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear300.c b/drivers/pinctrl/spear/pinctrl-spear300.c index 9db83e9ee18c..da8990a8eeef 100644 --- a/drivers/pinctrl/spear/pinctrl-spear300.c +++ b/drivers/pinctrl/spear/pinctrl-spear300.c | |||
@@ -685,7 +685,6 @@ static int spear300_pinctrl_remove(struct platform_device *pdev) | |||
685 | static struct platform_driver spear300_pinctrl_driver = { | 685 | static struct platform_driver spear300_pinctrl_driver = { |
686 | .driver = { | 686 | .driver = { |
687 | .name = DRIVER_NAME, | 687 | .name = DRIVER_NAME, |
688 | .owner = THIS_MODULE, | ||
689 | .of_match_table = spear300_pinctrl_of_match, | 688 | .of_match_table = spear300_pinctrl_of_match, |
690 | }, | 689 | }, |
691 | .probe = spear300_pinctrl_probe, | 690 | .probe = spear300_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear310.c b/drivers/pinctrl/spear/pinctrl-spear310.c index db775a414b7a..31ede51e819b 100644 --- a/drivers/pinctrl/spear/pinctrl-spear310.c +++ b/drivers/pinctrl/spear/pinctrl-spear310.c | |||
@@ -408,7 +408,6 @@ static int spear310_pinctrl_remove(struct platform_device *pdev) | |||
408 | static struct platform_driver spear310_pinctrl_driver = { | 408 | static struct platform_driver spear310_pinctrl_driver = { |
409 | .driver = { | 409 | .driver = { |
410 | .name = DRIVER_NAME, | 410 | .name = DRIVER_NAME, |
411 | .owner = THIS_MODULE, | ||
412 | .of_match_table = spear310_pinctrl_of_match, | 411 | .of_match_table = spear310_pinctrl_of_match, |
413 | }, | 412 | }, |
414 | .probe = spear310_pinctrl_probe, | 413 | .probe = spear310_pinctrl_probe, |
diff --git a/drivers/pinctrl/spear/pinctrl-spear320.c b/drivers/pinctrl/spear/pinctrl-spear320.c index 80fbd68e17bc..506e40b641e0 100644 --- a/drivers/pinctrl/spear/pinctrl-spear320.c +++ b/drivers/pinctrl/spear/pinctrl-spear320.c | |||
@@ -3449,7 +3449,6 @@ static int spear320_pinctrl_remove(struct platform_device *pdev) | |||
3449 | static struct platform_driver spear320_pinctrl_driver = { | 3449 | static struct platform_driver spear320_pinctrl_driver = { |
3450 | .driver = { | 3450 | .driver = { |
3451 | .name = DRIVER_NAME, | 3451 | .name = DRIVER_NAME, |
3452 | .owner = THIS_MODULE, | ||
3453 | .of_match_table = spear320_pinctrl_of_match, | 3452 | .of_match_table = spear320_pinctrl_of_match, |
3454 | }, | 3453 | }, |
3455 | .probe = spear320_pinctrl_probe, | 3454 | .probe = spear320_pinctrl_probe, |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c b/drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c index 86b608bedca6..24c5d88f943f 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c | |||
@@ -1029,7 +1029,6 @@ static struct platform_driver sun4i_a10_pinctrl_driver = { | |||
1029 | .probe = sun4i_a10_pinctrl_probe, | 1029 | .probe = sun4i_a10_pinctrl_probe, |
1030 | .driver = { | 1030 | .driver = { |
1031 | .name = "sun4i-pinctrl", | 1031 | .name = "sun4i-pinctrl", |
1032 | .owner = THIS_MODULE, | ||
1033 | .of_match_table = sun4i_a10_pinctrl_match, | 1032 | .of_match_table = sun4i_a10_pinctrl_match, |
1034 | }, | 1033 | }, |
1035 | }; | 1034 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c b/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c index 2fa7430cabaf..45a351affa59 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c | |||
@@ -680,7 +680,6 @@ static struct platform_driver sun5i_a10s_pinctrl_driver = { | |||
680 | .probe = sun5i_a10s_pinctrl_probe, | 680 | .probe = sun5i_a10s_pinctrl_probe, |
681 | .driver = { | 681 | .driver = { |
682 | .name = "sun5i-a10s-pinctrl", | 682 | .name = "sun5i-a10s-pinctrl", |
683 | .owner = THIS_MODULE, | ||
684 | .of_match_table = sun5i_a10s_pinctrl_match, | 683 | .of_match_table = sun5i_a10s_pinctrl_match, |
685 | }, | 684 | }, |
686 | }; | 685 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c b/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c index e47c33dbae3a..4bd23471412c 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c | |||
@@ -398,7 +398,6 @@ static struct platform_driver sun5i_a13_pinctrl_driver = { | |||
398 | .probe = sun5i_a13_pinctrl_probe, | 398 | .probe = sun5i_a13_pinctrl_probe, |
399 | .driver = { | 399 | .driver = { |
400 | .name = "sun5i-a13-pinctrl", | 400 | .name = "sun5i-a13-pinctrl", |
401 | .owner = THIS_MODULE, | ||
402 | .of_match_table = sun5i_a13_pinctrl_match, | 401 | .of_match_table = sun5i_a13_pinctrl_match, |
403 | }, | 402 | }, |
404 | }; | 403 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c index 9a2517b65113..02174fa57997 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c | |||
@@ -130,7 +130,6 @@ static struct platform_driver sun6i_a31_r_pinctrl_driver = { | |||
130 | .probe = sun6i_a31_r_pinctrl_probe, | 130 | .probe = sun6i_a31_r_pinctrl_probe, |
131 | .driver = { | 131 | .driver = { |
132 | .name = "sun6i-a31-r-pinctrl", | 132 | .name = "sun6i-a31-r-pinctrl", |
133 | .owner = THIS_MODULE, | ||
134 | .of_match_table = sun6i_a31_r_pinctrl_match, | 133 | .of_match_table = sun6i_a31_r_pinctrl_match, |
135 | }, | 134 | }, |
136 | }; | 135 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c index a2b4b85c5ad5..f42858eaca28 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c | |||
@@ -927,7 +927,6 @@ static struct platform_driver sun6i_a31_pinctrl_driver = { | |||
927 | .probe = sun6i_a31_pinctrl_probe, | 927 | .probe = sun6i_a31_pinctrl_probe, |
928 | .driver = { | 928 | .driver = { |
929 | .name = "sun6i-a31-pinctrl", | 929 | .name = "sun6i-a31-pinctrl", |
930 | .owner = THIS_MODULE, | ||
931 | .of_match_table = sun6i_a31_pinctrl_match, | 930 | .of_match_table = sun6i_a31_pinctrl_match, |
932 | }, | 931 | }, |
933 | }; | 932 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c b/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c index dac99e02bfdb..6af6cc8547b0 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c | |||
@@ -1055,7 +1055,6 @@ static struct platform_driver sun7i_a20_pinctrl_driver = { | |||
1055 | .probe = sun7i_a20_pinctrl_probe, | 1055 | .probe = sun7i_a20_pinctrl_probe, |
1056 | .driver = { | 1056 | .driver = { |
1057 | .name = "sun7i-a20-pinctrl", | 1057 | .name = "sun7i-a20-pinctrl", |
1058 | .owner = THIS_MODULE, | ||
1059 | .of_match_table = sun7i_a20_pinctrl_match, | 1058 | .of_match_table = sun7i_a20_pinctrl_match, |
1060 | }, | 1059 | }, |
1061 | }; | 1060 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c b/drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c index 90f3b3a7c51e..327e03ff7c4d 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver sun8i_a23_r_pinctrl_driver = { | |||
129 | .probe = sun8i_a23_r_pinctrl_probe, | 129 | .probe = sun8i_a23_r_pinctrl_probe, |
130 | .driver = { | 130 | .driver = { |
131 | .name = "sun8i-a23-r-pinctrl", | 131 | .name = "sun8i-a23-r-pinctrl", |
132 | .owner = THIS_MODULE, | ||
133 | .of_match_table = sun8i_a23_r_pinctrl_match, | 132 | .of_match_table = sun8i_a23_r_pinctrl_match, |
134 | }, | 133 | }, |
135 | }; | 134 | }; |
diff --git a/drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c b/drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c index ac71e8c5901b..62695c9a92c2 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c +++ b/drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c | |||
@@ -581,7 +581,6 @@ static struct platform_driver sun8i_a23_pinctrl_driver = { | |||
581 | .probe = sun8i_a23_pinctrl_probe, | 581 | .probe = sun8i_a23_pinctrl_probe, |
582 | .driver = { | 582 | .driver = { |
583 | .name = "sun8i-a23-pinctrl", | 583 | .name = "sun8i-a23-pinctrl", |
584 | .owner = THIS_MODULE, | ||
585 | .of_match_table = sun8i_a23_pinctrl_match, | 584 | .of_match_table = sun8i_a23_pinctrl_match, |
586 | }, | 585 | }, |
587 | }; | 586 | }; |
diff --git a/drivers/pinctrl/vt8500/pinctrl-vt8500.c b/drivers/pinctrl/vt8500/pinctrl-vt8500.c index f2fe9f85cfa6..cf8bbc946ff7 100644 --- a/drivers/pinctrl/vt8500/pinctrl-vt8500.c +++ b/drivers/pinctrl/vt8500/pinctrl-vt8500.c | |||
@@ -488,7 +488,6 @@ static struct platform_driver wmt_pinctrl_driver = { | |||
488 | .remove = vt8500_pinctrl_remove, | 488 | .remove = vt8500_pinctrl_remove, |
489 | .driver = { | 489 | .driver = { |
490 | .name = "pinctrl-vt8500", | 490 | .name = "pinctrl-vt8500", |
491 | .owner = THIS_MODULE, | ||
492 | .of_match_table = wmt_pinctrl_of_match, | 491 | .of_match_table = wmt_pinctrl_of_match, |
493 | }, | 492 | }, |
494 | }; | 493 | }; |
diff --git a/drivers/pinctrl/vt8500/pinctrl-wm8505.c b/drivers/pinctrl/vt8500/pinctrl-wm8505.c index 483ba732694e..3f9c32dcb3d0 100644 --- a/drivers/pinctrl/vt8500/pinctrl-wm8505.c +++ b/drivers/pinctrl/vt8500/pinctrl-wm8505.c | |||
@@ -519,7 +519,6 @@ static struct platform_driver wmt_pinctrl_driver = { | |||
519 | .remove = wm8505_pinctrl_remove, | 519 | .remove = wm8505_pinctrl_remove, |
520 | .driver = { | 520 | .driver = { |
521 | .name = "pinctrl-wm8505", | 521 | .name = "pinctrl-wm8505", |
522 | .owner = THIS_MODULE, | ||
523 | .of_match_table = wmt_pinctrl_of_match, | 522 | .of_match_table = wmt_pinctrl_of_match, |
524 | }, | 523 | }, |
525 | }; | 524 | }; |
diff --git a/drivers/pinctrl/vt8500/pinctrl-wm8650.c b/drivers/pinctrl/vt8500/pinctrl-wm8650.c index 7de57f063153..4e80f98c2ba7 100644 --- a/drivers/pinctrl/vt8500/pinctrl-wm8650.c +++ b/drivers/pinctrl/vt8500/pinctrl-wm8650.c | |||
@@ -357,7 +357,6 @@ static struct platform_driver wmt_pinctrl_driver = { | |||
357 | .remove = wm8650_pinctrl_remove, | 357 | .remove = wm8650_pinctrl_remove, |
358 | .driver = { | 358 | .driver = { |
359 | .name = "pinctrl-wm8650", | 359 | .name = "pinctrl-wm8650", |
360 | .owner = THIS_MODULE, | ||
361 | .of_match_table = wmt_pinctrl_of_match, | 360 | .of_match_table = wmt_pinctrl_of_match, |
362 | }, | 361 | }, |
363 | }; | 362 | }; |
diff --git a/drivers/pinctrl/vt8500/pinctrl-wm8750.c b/drivers/pinctrl/vt8500/pinctrl-wm8750.c index de43262398db..47b52a7cacac 100644 --- a/drivers/pinctrl/vt8500/pinctrl-wm8750.c +++ b/drivers/pinctrl/vt8500/pinctrl-wm8750.c | |||
@@ -396,7 +396,6 @@ static struct platform_driver wmt_pinctrl_driver = { | |||
396 | .remove = wm8750_pinctrl_remove, | 396 | .remove = wm8750_pinctrl_remove, |
397 | .driver = { | 397 | .driver = { |
398 | .name = "pinctrl-wm8750", | 398 | .name = "pinctrl-wm8750", |
399 | .owner = THIS_MODULE, | ||
400 | .of_match_table = wmt_pinctrl_of_match, | 399 | .of_match_table = wmt_pinctrl_of_match, |
401 | }, | 400 | }, |
402 | }; | 401 | }; |
diff --git a/drivers/pinctrl/vt8500/pinctrl-wm8850.c b/drivers/pinctrl/vt8500/pinctrl-wm8850.c index ecadce9c91d5..8bbb38c931f6 100644 --- a/drivers/pinctrl/vt8500/pinctrl-wm8850.c +++ b/drivers/pinctrl/vt8500/pinctrl-wm8850.c | |||
@@ -375,7 +375,6 @@ static struct platform_driver wmt_pinctrl_driver = { | |||
375 | .remove = wm8850_pinctrl_remove, | 375 | .remove = wm8850_pinctrl_remove, |
376 | .driver = { | 376 | .driver = { |
377 | .name = "pinctrl-wm8850", | 377 | .name = "pinctrl-wm8850", |
378 | .owner = THIS_MODULE, | ||
379 | .of_match_table = wmt_pinctrl_of_match, | 378 | .of_match_table = wmt_pinctrl_of_match, |
380 | }, | 379 | }, |
381 | }; | 380 | }; |
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index d866db80b4fd..b84fdd6b629b 100644 --- a/drivers/platform/chrome/chromeos_laptop.c +++ b/drivers/platform/chrome/chromeos_laptop.c | |||
@@ -571,7 +571,6 @@ static struct platform_device *cros_platform_device; | |||
571 | static struct platform_driver cros_platform_driver = { | 571 | static struct platform_driver cros_platform_driver = { |
572 | .driver = { | 572 | .driver = { |
573 | .name = "chromeos_laptop", | 573 | .name = "chromeos_laptop", |
574 | .owner = THIS_MODULE, | ||
575 | }, | 574 | }, |
576 | .probe = chromeos_laptop_probe, | 575 | .probe = chromeos_laptop_probe, |
577 | }; | 576 | }; |
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 96a0b75c52c9..5b3bca5470e3 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c | |||
@@ -2106,7 +2106,6 @@ static void acer_platform_shutdown(struct platform_device *device) | |||
2106 | static struct platform_driver acer_platform_driver = { | 2106 | static struct platform_driver acer_platform_driver = { |
2107 | .driver = { | 2107 | .driver = { |
2108 | .name = "acer-wmi", | 2108 | .name = "acer-wmi", |
2109 | .owner = THIS_MODULE, | ||
2110 | .pm = &acer_pm, | 2109 | .pm = &acer_pm, |
2111 | }, | 2110 | }, |
2112 | .probe = acer_platform_probe, | 2111 | .probe = acer_platform_probe, |
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index f94467c05225..aaf37c5f12f9 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c | |||
@@ -533,7 +533,6 @@ static const struct dev_pm_ops acerhdf_pm_ops = { | |||
533 | static struct platform_driver acerhdf_driver = { | 533 | static struct platform_driver acerhdf_driver = { |
534 | .driver = { | 534 | .driver = { |
535 | .name = "acerhdf", | 535 | .name = "acerhdf", |
536 | .owner = THIS_MODULE, | ||
537 | .pm = &acerhdf_pm_ops, | 536 | .pm = &acerhdf_pm_ops, |
538 | }, | 537 | }, |
539 | .probe = acerhdf_probe, | 538 | .probe = acerhdf_probe, |
diff --git a/drivers/platform/x86/alienware-wmi.c b/drivers/platform/x86/alienware-wmi.c index c5af23b64438..1e1e59423889 100644 --- a/drivers/platform/x86/alienware-wmi.c +++ b/drivers/platform/x86/alienware-wmi.c | |||
@@ -157,7 +157,6 @@ static struct platform_zone *zone_data; | |||
157 | static struct platform_driver platform_driver = { | 157 | static struct platform_driver platform_driver = { |
158 | .driver = { | 158 | .driver = { |
159 | .name = "alienware-wmi", | 159 | .name = "alienware-wmi", |
160 | .owner = THIS_MODULE, | ||
161 | } | 160 | } |
162 | }; | 161 | }; |
163 | 162 | ||
diff --git a/drivers/platform/x86/amilo-rfkill.c b/drivers/platform/x86/amilo-rfkill.c index da36b5e824d4..0157625cb918 100644 --- a/drivers/platform/x86/amilo-rfkill.c +++ b/drivers/platform/x86/amilo-rfkill.c | |||
@@ -138,7 +138,6 @@ static int amilo_rfkill_remove(struct platform_device *device) | |||
138 | static struct platform_driver amilo_rfkill_driver = { | 138 | static struct platform_driver amilo_rfkill_driver = { |
139 | .driver = { | 139 | .driver = { |
140 | .name = KBUILD_MODNAME, | 140 | .name = KBUILD_MODNAME, |
141 | .owner = THIS_MODULE, | ||
142 | }, | 141 | }, |
143 | .probe = amilo_rfkill_probe, | 142 | .probe = amilo_rfkill_probe, |
144 | .remove = amilo_rfkill_remove, | 143 | .remove = amilo_rfkill_remove, |
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 7f4dc6f51f8a..05647f1a427e 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c | |||
@@ -1699,7 +1699,6 @@ static void asus_platform_exit(struct asus_laptop *asus) | |||
1699 | static struct platform_driver platform_driver = { | 1699 | static struct platform_driver platform_driver = { |
1700 | .driver = { | 1700 | .driver = { |
1701 | .name = ASUS_LAPTOP_FILE, | 1701 | .name = ASUS_LAPTOP_FILE, |
1702 | .owner = THIS_MODULE, | ||
1703 | }, | 1702 | }, |
1704 | }; | 1703 | }; |
1705 | 1704 | ||
diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c index 26bfd7bb5c13..15c0fab2bfa1 100644 --- a/drivers/platform/x86/compal-laptop.c +++ b/drivers/platform/x86/compal-laptop.c | |||
@@ -710,7 +710,6 @@ static int compal_remove(struct platform_device *); | |||
710 | static struct platform_driver compal_driver = { | 710 | static struct platform_driver compal_driver = { |
711 | .driver = { | 711 | .driver = { |
712 | .name = DRIVER_NAME, | 712 | .name = DRIVER_NAME, |
713 | .owner = THIS_MODULE, | ||
714 | }, | 713 | }, |
715 | .probe = compal_probe, | 714 | .probe = compal_probe, |
716 | .remove = compal_remove, | 715 | .remove = compal_remove, |
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 233d2ee598a6..f6a28d7161f5 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c | |||
@@ -84,7 +84,6 @@ static struct calling_interface_token *da_tokens; | |||
84 | static struct platform_driver platform_driver = { | 84 | static struct platform_driver platform_driver = { |
85 | .driver = { | 85 | .driver = { |
86 | .name = "dell-laptop", | 86 | .name = "dell-laptop", |
87 | .owner = THIS_MODULE, | ||
88 | } | 87 | } |
89 | }; | 88 | }; |
90 | 89 | ||
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index db79902c4a8e..5a54d35a61de 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -961,7 +961,6 @@ static const struct dev_pm_ops eeepc_pm_ops = { | |||
961 | static struct platform_driver platform_driver = { | 961 | static struct platform_driver platform_driver = { |
962 | .driver = { | 962 | .driver = { |
963 | .name = EEEPC_LAPTOP_FILE, | 963 | .name = EEEPC_LAPTOP_FILE, |
964 | .owner = THIS_MODULE, | ||
965 | .pm = &eeepc_pm_ops, | 964 | .pm = &eeepc_pm_ops, |
966 | } | 965 | } |
967 | }; | 966 | }; |
diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 2655d4a988f3..be55bd78b503 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
@@ -559,7 +559,6 @@ static struct attribute_group fujitsupf_attribute_group = { | |||
559 | static struct platform_driver fujitsupf_driver = { | 559 | static struct platform_driver fujitsupf_driver = { |
560 | .driver = { | 560 | .driver = { |
561 | .name = "fujitsu-laptop", | 561 | .name = "fujitsu-laptop", |
562 | .owner = THIS_MODULE, | ||
563 | } | 562 | } |
564 | }; | 563 | }; |
565 | 564 | ||
diff --git a/drivers/platform/x86/hdaps.c b/drivers/platform/x86/hdaps.c index 777c7e3dda51..458e6c948c11 100644 --- a/drivers/platform/x86/hdaps.c +++ b/drivers/platform/x86/hdaps.c | |||
@@ -318,7 +318,6 @@ static struct platform_driver hdaps_driver = { | |||
318 | .probe = hdaps_probe, | 318 | .probe = hdaps_probe, |
319 | .driver = { | 319 | .driver = { |
320 | .name = "hdaps", | 320 | .name = "hdaps", |
321 | .owner = THIS_MODULE, | ||
322 | .pm = &hdaps_pm, | 321 | .pm = &hdaps_pm, |
323 | }, | 322 | }, |
324 | }; | 323 | }; |
diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index 4c559640dcba..0ab2b377a778 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c | |||
@@ -1006,7 +1006,6 @@ static const struct dev_pm_ops hp_wmi_pm_ops = { | |||
1006 | static struct platform_driver hp_wmi_driver = { | 1006 | static struct platform_driver hp_wmi_driver = { |
1007 | .driver = { | 1007 | .driver = { |
1008 | .name = "hp-wmi", | 1008 | .name = "hp-wmi", |
1009 | .owner = THIS_MODULE, | ||
1010 | .pm = &hp_wmi_pm_ops, | 1009 | .pm = &hp_wmi_pm_ops, |
1011 | }, | 1010 | }, |
1012 | .remove = __exit_p(hp_wmi_bios_remove), | 1011 | .remove = __exit_p(hp_wmi_bios_remove), |
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 02152de135b5..60499bc1fded 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c | |||
@@ -959,7 +959,6 @@ static struct platform_driver ideapad_acpi_driver = { | |||
959 | .remove = ideapad_acpi_remove, | 959 | .remove = ideapad_acpi_remove, |
960 | .driver = { | 960 | .driver = { |
961 | .name = "ideapad_acpi", | 961 | .name = "ideapad_acpi", |
962 | .owner = THIS_MODULE, | ||
963 | .pm = &ideapad_pm, | 962 | .pm = &ideapad_pm, |
964 | .acpi_match_table = ACPI_PTR(ideapad_device_ids), | 963 | .acpi_match_table = ACPI_PTR(ideapad_device_ids), |
965 | }, | 964 | }, |
diff --git a/drivers/platform/x86/intel_mid_powerbtn.c b/drivers/platform/x86/intel_mid_powerbtn.c index 8d6775266d66..22606d6b2af3 100644 --- a/drivers/platform/x86/intel_mid_powerbtn.c +++ b/drivers/platform/x86/intel_mid_powerbtn.c | |||
@@ -133,7 +133,6 @@ static int mfld_pb_remove(struct platform_device *pdev) | |||
133 | static struct platform_driver mfld_pb_driver = { | 133 | static struct platform_driver mfld_pb_driver = { |
134 | .driver = { | 134 | .driver = { |
135 | .name = DRIVER_NAME, | 135 | .name = DRIVER_NAME, |
136 | .owner = THIS_MODULE, | ||
137 | }, | 136 | }, |
138 | .probe = mfld_pb_probe, | 137 | .probe = mfld_pb_probe, |
139 | .remove = mfld_pb_remove, | 138 | .remove = mfld_pb_remove, |
diff --git a/drivers/platform/x86/intel_mid_thermal.c b/drivers/platform/x86/intel_mid_thermal.c index ab7860a21a22..0944e834af8d 100644 --- a/drivers/platform/x86/intel_mid_thermal.c +++ b/drivers/platform/x86/intel_mid_thermal.c | |||
@@ -555,7 +555,6 @@ static const struct platform_device_id therm_id_table[] = { | |||
555 | static struct platform_driver mid_thermal_driver = { | 555 | static struct platform_driver mid_thermal_driver = { |
556 | .driver = { | 556 | .driver = { |
557 | .name = DRIVER_NAME, | 557 | .name = DRIVER_NAME, |
558 | .owner = THIS_MODULE, | ||
559 | .pm = &mid_thermal_pm, | 558 | .pm = &mid_thermal_pm, |
560 | }, | 559 | }, |
561 | .probe = mid_thermal_probe, | 560 | .probe = mid_thermal_probe, |
diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c index 4bc960416785..0afaaef5711f 100644 --- a/drivers/platform/x86/intel_oaktrail.c +++ b/drivers/platform/x86/intel_oaktrail.c | |||
@@ -288,7 +288,6 @@ static int oaktrail_remove(struct platform_device *pdev) | |||
288 | static struct platform_driver oaktrail_driver = { | 288 | static struct platform_driver oaktrail_driver = { |
289 | .driver = { | 289 | .driver = { |
290 | .name = DRIVER_NAME, | 290 | .name = DRIVER_NAME, |
291 | .owner = THIS_MODULE, | ||
292 | }, | 291 | }, |
293 | .probe = oaktrail_probe, | 292 | .probe = oaktrail_probe, |
294 | .remove = oaktrail_remove, | 293 | .remove = oaktrail_remove, |
diff --git a/drivers/platform/x86/intel_pmic_gpio.c b/drivers/platform/x86/intel_pmic_gpio.c index 04fed00b88e9..709f0afdafa8 100644 --- a/drivers/platform/x86/intel_pmic_gpio.c +++ b/drivers/platform/x86/intel_pmic_gpio.c | |||
@@ -314,7 +314,6 @@ err2: | |||
314 | static struct platform_driver platform_pmic_gpio_driver = { | 314 | static struct platform_driver platform_pmic_gpio_driver = { |
315 | .driver = { | 315 | .driver = { |
316 | .name = DRIVER_NAME, | 316 | .name = DRIVER_NAME, |
317 | .owner = THIS_MODULE, | ||
318 | }, | 317 | }, |
319 | .probe = platform_pmic_gpio_probe, | 318 | .probe = platform_pmic_gpio_probe, |
320 | }; | 319 | }; |
diff --git a/drivers/platform/x86/msi-laptop.c b/drivers/platform/x86/msi-laptop.c index 62f8030b9e77..a3f06cb1063f 100644 --- a/drivers/platform/x86/msi-laptop.c +++ b/drivers/platform/x86/msi-laptop.c | |||
@@ -573,7 +573,6 @@ static struct attribute_group msipf_old_attribute_group = { | |||
573 | static struct platform_driver msipf_driver = { | 573 | static struct platform_driver msipf_driver = { |
574 | .driver = { | 574 | .driver = { |
575 | .name = "msi-laptop-pf", | 575 | .name = "msi-laptop-pf", |
576 | .owner = THIS_MODULE, | ||
577 | .pm = &msi_laptop_pm, | 576 | .pm = &msi_laptop_pm, |
578 | }, | 577 | }, |
579 | }; | 578 | }; |
diff --git a/drivers/platform/x86/samsung-q10.c b/drivers/platform/x86/samsung-q10.c index 28d12bda3ac1..e6aac725a0af 100644 --- a/drivers/platform/x86/samsung-q10.c +++ b/drivers/platform/x86/samsung-q10.c | |||
@@ -82,7 +82,6 @@ static int samsungq10_remove(struct platform_device *pdev) | |||
82 | static struct platform_driver samsungq10_driver = { | 82 | static struct platform_driver samsungq10_driver = { |
83 | .driver = { | 83 | .driver = { |
84 | .name = KBUILD_MODNAME, | 84 | .name = KBUILD_MODNAME, |
85 | .owner = THIS_MODULE, | ||
86 | }, | 85 | }, |
87 | .probe = samsungq10_probe, | 86 | .probe = samsungq10_probe, |
88 | .remove = samsungq10_remove, | 87 | .remove = samsungq10_remove, |
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 26ad9ff12ac5..a1a0fd72e9bf 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -581,7 +581,6 @@ static atomic_t sony_pf_users = ATOMIC_INIT(0); | |||
581 | static struct platform_driver sony_pf_driver = { | 581 | static struct platform_driver sony_pf_driver = { |
582 | .driver = { | 582 | .driver = { |
583 | .name = "sony-laptop", | 583 | .name = "sony-laptop", |
584 | .owner = THIS_MODULE, | ||
585 | } | 584 | } |
586 | }; | 585 | }; |
587 | static struct platform_device *sony_pf_device; | 586 | static struct platform_device *sony_pf_device; |
diff --git a/drivers/platform/x86/tc1100-wmi.c b/drivers/platform/x86/tc1100-wmi.c index 6a6ea28a7e51..e36542564131 100644 --- a/drivers/platform/x86/tc1100-wmi.c +++ b/drivers/platform/x86/tc1100-wmi.c | |||
@@ -234,7 +234,6 @@ static const struct dev_pm_ops tc1100_pm_ops = { | |||
234 | static struct platform_driver tc1100_driver = { | 234 | static struct platform_driver tc1100_driver = { |
235 | .driver = { | 235 | .driver = { |
236 | .name = "tc1100-wmi", | 236 | .name = "tc1100-wmi", |
237 | .owner = THIS_MODULE, | ||
238 | #ifdef CONFIG_PM | 237 | #ifdef CONFIG_PM |
239 | .pm = &tc1100_pm_ops, | 238 | .pm = &tc1100_pm_ops, |
240 | #endif | 239 | #endif |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index cf0f89364d44..6414cfe5d848 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -972,7 +972,6 @@ static void tpacpi_shutdown_handler(struct platform_device *pdev) | |||
972 | static struct platform_driver tpacpi_pdriver = { | 972 | static struct platform_driver tpacpi_pdriver = { |
973 | .driver = { | 973 | .driver = { |
974 | .name = TPACPI_DRVR_NAME, | 974 | .name = TPACPI_DRVR_NAME, |
975 | .owner = THIS_MODULE, | ||
976 | .pm = &tpacpi_pm, | 975 | .pm = &tpacpi_pm, |
977 | }, | 976 | }, |
978 | .shutdown = tpacpi_shutdown_handler, | 977 | .shutdown = tpacpi_shutdown_handler, |
@@ -981,7 +980,6 @@ static struct platform_driver tpacpi_pdriver = { | |||
981 | static struct platform_driver tpacpi_hwmon_pdriver = { | 980 | static struct platform_driver tpacpi_hwmon_pdriver = { |
982 | .driver = { | 981 | .driver = { |
983 | .name = TPACPI_HWMON_DRVR_NAME, | 982 | .name = TPACPI_HWMON_DRVR_NAME, |
984 | .owner = THIS_MODULE, | ||
985 | }, | 983 | }, |
986 | }; | 984 | }; |
987 | 985 | ||
diff --git a/drivers/platform/x86/xo1-rfkill.c b/drivers/platform/x86/xo1-rfkill.c index 4bd17248dfc6..e46fa9cebc7d 100644 --- a/drivers/platform/x86/xo1-rfkill.c +++ b/drivers/platform/x86/xo1-rfkill.c | |||
@@ -71,7 +71,6 @@ static int xo1_rfkill_remove(struct platform_device *pdev) | |||
71 | static struct platform_driver xo1_rfkill_driver = { | 71 | static struct platform_driver xo1_rfkill_driver = { |
72 | .driver = { | 72 | .driver = { |
73 | .name = "xo1-rfkill", | 73 | .name = "xo1-rfkill", |
74 | .owner = THIS_MODULE, | ||
75 | }, | 74 | }, |
76 | .probe = xo1_rfkill_probe, | 75 | .probe = xo1_rfkill_probe, |
77 | .remove = xo1_rfkill_remove, | 76 | .remove = xo1_rfkill_remove, |
diff --git a/drivers/power/88pm860x_battery.c b/drivers/power/88pm860x_battery.c index dfcda3a49403..bd3c997f4fee 100644 --- a/drivers/power/88pm860x_battery.c +++ b/drivers/power/88pm860x_battery.c | |||
@@ -1023,7 +1023,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_battery_pm_ops, | |||
1023 | static struct platform_driver pm860x_battery_driver = { | 1023 | static struct platform_driver pm860x_battery_driver = { |
1024 | .driver = { | 1024 | .driver = { |
1025 | .name = "88pm860x-battery", | 1025 | .name = "88pm860x-battery", |
1026 | .owner = THIS_MODULE, | ||
1027 | .pm = &pm860x_battery_pm_ops, | 1026 | .pm = &pm860x_battery_pm_ops, |
1028 | }, | 1027 | }, |
1029 | .probe = pm860x_battery_probe, | 1028 | .probe = pm860x_battery_probe, |
diff --git a/drivers/power/88pm860x_charger.c b/drivers/power/88pm860x_charger.c index de029bbc1cc1..650930e4fa79 100644 --- a/drivers/power/88pm860x_charger.c +++ b/drivers/power/88pm860x_charger.c | |||
@@ -732,7 +732,6 @@ static int pm860x_charger_remove(struct platform_device *pdev) | |||
732 | static struct platform_driver pm860x_charger_driver = { | 732 | static struct platform_driver pm860x_charger_driver = { |
733 | .driver = { | 733 | .driver = { |
734 | .name = "88pm860x-charger", | 734 | .name = "88pm860x-charger", |
735 | .owner = THIS_MODULE, | ||
736 | }, | 735 | }, |
737 | .probe = pm860x_charger_probe, | 736 | .probe = pm860x_charger_probe, |
738 | .remove = pm860x_charger_remove, | 737 | .remove = pm860x_charger_remove, |
diff --git a/drivers/power/ab8500_btemp.c b/drivers/power/ab8500_btemp.c index 7f9a4547dccd..4ebf7b0819f7 100644 --- a/drivers/power/ab8500_btemp.c +++ b/drivers/power/ab8500_btemp.c | |||
@@ -1195,7 +1195,6 @@ static struct platform_driver ab8500_btemp_driver = { | |||
1195 | .resume = ab8500_btemp_resume, | 1195 | .resume = ab8500_btemp_resume, |
1196 | .driver = { | 1196 | .driver = { |
1197 | .name = "ab8500-btemp", | 1197 | .name = "ab8500-btemp", |
1198 | .owner = THIS_MODULE, | ||
1199 | .of_match_table = ab8500_btemp_match, | 1198 | .of_match_table = ab8500_btemp_match, |
1200 | }, | 1199 | }, |
1201 | }; | 1200 | }; |
diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c index 19110aa613a1..8c8d170ff0f8 100644 --- a/drivers/power/ab8500_charger.c +++ b/drivers/power/ab8500_charger.c | |||
@@ -3733,7 +3733,6 @@ static struct platform_driver ab8500_charger_driver = { | |||
3733 | .resume = ab8500_charger_resume, | 3733 | .resume = ab8500_charger_resume, |
3734 | .driver = { | 3734 | .driver = { |
3735 | .name = "ab8500-charger", | 3735 | .name = "ab8500-charger", |
3736 | .owner = THIS_MODULE, | ||
3737 | .of_match_table = ab8500_charger_match, | 3736 | .of_match_table = ab8500_charger_match, |
3738 | }, | 3737 | }, |
3739 | }; | 3738 | }; |
diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index 217da4b2ca86..a71834793b19 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c | |||
@@ -3280,7 +3280,6 @@ static struct platform_driver ab8500_fg_driver = { | |||
3280 | .resume = ab8500_fg_resume, | 3280 | .resume = ab8500_fg_resume, |
3281 | .driver = { | 3281 | .driver = { |
3282 | .name = "ab8500-fg", | 3282 | .name = "ab8500-fg", |
3283 | .owner = THIS_MODULE, | ||
3284 | .of_match_table = ab8500_fg_match, | 3283 | .of_match_table = ab8500_fg_match, |
3285 | }, | 3284 | }, |
3286 | }; | 3285 | }; |
diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c index 6d2723664a01..ab54b8dea670 100644 --- a/drivers/power/abx500_chargalg.c +++ b/drivers/power/abx500_chargalg.c | |||
@@ -2156,7 +2156,6 @@ static struct platform_driver abx500_chargalg_driver = { | |||
2156 | .resume = abx500_chargalg_resume, | 2156 | .resume = abx500_chargalg_resume, |
2157 | .driver = { | 2157 | .driver = { |
2158 | .name = "ab8500-chargalg", | 2158 | .name = "ab8500-chargalg", |
2159 | .owner = THIS_MODULE, | ||
2160 | .of_match_table = ab8500_chargalg_match, | 2159 | .of_match_table = ab8500_chargalg_match, |
2161 | }, | 2160 | }, |
2162 | }; | 2161 | }; |
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index e3bacfe3bcd0..a78ac201828e 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers/power/bq27x00_battery.c | |||
@@ -1014,7 +1014,6 @@ static struct platform_driver bq27000_battery_driver = { | |||
1014 | .remove = bq27000_battery_remove, | 1014 | .remove = bq27000_battery_remove, |
1015 | .driver = { | 1015 | .driver = { |
1016 | .name = "bq27000-battery", | 1016 | .name = "bq27000-battery", |
1017 | .owner = THIS_MODULE, | ||
1018 | }, | 1017 | }, |
1019 | }; | 1018 | }; |
1020 | 1019 | ||
diff --git a/drivers/power/charger-manager.c b/drivers/power/charger-manager.c index 7098a1ce2d3c..3d3c12f1d6e1 100644 --- a/drivers/power/charger-manager.c +++ b/drivers/power/charger-manager.c | |||
@@ -2028,7 +2028,6 @@ static const struct dev_pm_ops charger_manager_pm = { | |||
2028 | static struct platform_driver charger_manager_driver = { | 2028 | static struct platform_driver charger_manager_driver = { |
2029 | .driver = { | 2029 | .driver = { |
2030 | .name = "charger-manager", | 2030 | .name = "charger-manager", |
2031 | .owner = THIS_MODULE, | ||
2032 | .pm = &charger_manager_pm, | 2031 | .pm = &charger_manager_pm, |
2033 | .of_match_table = charger_manager_match, | 2032 | .of_match_table = charger_manager_match, |
2034 | }, | 2033 | }, |
diff --git a/drivers/power/da9030_battery.c b/drivers/power/da9030_battery.c index ae6c41835ee6..78cd5d66144b 100644 --- a/drivers/power/da9030_battery.c +++ b/drivers/power/da9030_battery.c | |||
@@ -579,7 +579,6 @@ static int da9030_battery_remove(struct platform_device *dev) | |||
579 | static struct platform_driver da903x_battery_driver = { | 579 | static struct platform_driver da903x_battery_driver = { |
580 | .driver = { | 580 | .driver = { |
581 | .name = "da903x-battery", | 581 | .name = "da903x-battery", |
582 | .owner = THIS_MODULE, | ||
583 | }, | 582 | }, |
584 | .probe = da9030_battery_probe, | 583 | .probe = da9030_battery_probe, |
585 | .remove = da9030_battery_remove, | 584 | .remove = da9030_battery_remove, |
diff --git a/drivers/power/da9052-battery.c b/drivers/power/da9052-battery.c index f8f4c0f7c17d..d17250f745c2 100644 --- a/drivers/power/da9052-battery.c +++ b/drivers/power/da9052-battery.c | |||
@@ -656,7 +656,6 @@ static struct platform_driver da9052_bat_driver = { | |||
656 | .remove = da9052_bat_remove, | 656 | .remove = da9052_bat_remove, |
657 | .driver = { | 657 | .driver = { |
658 | .name = "da9052-bat", | 658 | .name = "da9052-bat", |
659 | .owner = THIS_MODULE, | ||
660 | }, | 659 | }, |
661 | }; | 660 | }; |
662 | module_platform_driver(da9052_bat_driver); | 661 | module_platform_driver(da9052_bat_driver); |
diff --git a/drivers/power/generic-adc-battery.c b/drivers/power/generic-adc-battery.c index 59a1421f9288..d72733e4f93a 100644 --- a/drivers/power/generic-adc-battery.c +++ b/drivers/power/generic-adc-battery.c | |||
@@ -414,7 +414,6 @@ static const struct dev_pm_ops gab_pm_ops = { | |||
414 | static struct platform_driver gab_driver = { | 414 | static struct platform_driver gab_driver = { |
415 | .driver = { | 415 | .driver = { |
416 | .name = "generic-adc-battery", | 416 | .name = "generic-adc-battery", |
417 | .owner = THIS_MODULE, | ||
418 | .pm = GAB_PM_OPS | 417 | .pm = GAB_PM_OPS |
419 | }, | 418 | }, |
420 | .probe = gab_probe, | 419 | .probe = gab_probe, |
diff --git a/drivers/power/gpio-charger.c b/drivers/power/gpio-charger.c index 7536933d0ab9..3ee889fe0021 100644 --- a/drivers/power/gpio-charger.c +++ b/drivers/power/gpio-charger.c | |||
@@ -194,7 +194,6 @@ static struct platform_driver gpio_charger_driver = { | |||
194 | .remove = gpio_charger_remove, | 194 | .remove = gpio_charger_remove, |
195 | .driver = { | 195 | .driver = { |
196 | .name = "gpio-charger", | 196 | .name = "gpio-charger", |
197 | .owner = THIS_MODULE, | ||
198 | .pm = &gpio_charger_pm_ops, | 197 | .pm = &gpio_charger_pm_ops, |
199 | }, | 198 | }, |
200 | }; | 199 | }; |
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index 4520811168ad..de3f39e6fa8e 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c | |||
@@ -773,7 +773,6 @@ static int platform_pmic_battery_remove(struct platform_device *pdev) | |||
773 | static struct platform_driver platform_pmic_battery_driver = { | 773 | static struct platform_driver platform_pmic_battery_driver = { |
774 | .driver = { | 774 | .driver = { |
775 | .name = DRIVER_NAME, | 775 | .name = DRIVER_NAME, |
776 | .owner = THIS_MODULE, | ||
777 | }, | 776 | }, |
778 | .probe = platform_pmic_battery_probe, | 777 | .probe = platform_pmic_battery_probe, |
779 | .remove = platform_pmic_battery_remove, | 778 | .remove = platform_pmic_battery_remove, |
diff --git a/drivers/power/jz4740-battery.c b/drivers/power/jz4740-battery.c index 6c8931d4ad62..9cd391d61819 100644 --- a/drivers/power/jz4740-battery.c +++ b/drivers/power/jz4740-battery.c | |||
@@ -406,7 +406,6 @@ static struct platform_driver jz_battery_driver = { | |||
406 | .remove = jz_battery_remove, | 406 | .remove = jz_battery_remove, |
407 | .driver = { | 407 | .driver = { |
408 | .name = "jz4740-battery", | 408 | .name = "jz4740-battery", |
409 | .owner = THIS_MODULE, | ||
410 | .pm = JZ_BATTERY_PM_OPS, | 409 | .pm = JZ_BATTERY_PM_OPS, |
411 | }, | 410 | }, |
412 | }; | 411 | }; |
diff --git a/drivers/power/lp8788-charger.c b/drivers/power/lp8788-charger.c index ed49b50b220b..21fc233c7d61 100644 --- a/drivers/power/lp8788-charger.c +++ b/drivers/power/lp8788-charger.c | |||
@@ -740,7 +740,6 @@ static struct platform_driver lp8788_charger_driver = { | |||
740 | .remove = lp8788_charger_remove, | 740 | .remove = lp8788_charger_remove, |
741 | .driver = { | 741 | .driver = { |
742 | .name = LP8788_DEV_CHARGER, | 742 | .name = LP8788_DEV_CHARGER, |
743 | .owner = THIS_MODULE, | ||
744 | }, | 743 | }, |
745 | }; | 744 | }; |
746 | module_platform_driver(lp8788_charger_driver); | 745 | module_platform_driver(lp8788_charger_driver); |
diff --git a/drivers/power/max14577_charger.c b/drivers/power/max14577_charger.c index 0a2bc7277026..ef4103ee6021 100644 --- a/drivers/power/max14577_charger.c +++ b/drivers/power/max14577_charger.c | |||
@@ -599,7 +599,6 @@ MODULE_DEVICE_TABLE(platform, max14577_charger_id); | |||
599 | 599 | ||
600 | static struct platform_driver max14577_charger_driver = { | 600 | static struct platform_driver max14577_charger_driver = { |
601 | .driver = { | 601 | .driver = { |
602 | .owner = THIS_MODULE, | ||
603 | .name = "max14577-charger", | 602 | .name = "max14577-charger", |
604 | }, | 603 | }, |
605 | .probe = max14577_charger_probe, | 604 | .probe = max14577_charger_probe, |
diff --git a/drivers/power/max8903_charger.c b/drivers/power/max8903_charger.c index 08f0d7909b6b..99e3cdcd3e11 100644 --- a/drivers/power/max8903_charger.c +++ b/drivers/power/max8903_charger.c | |||
@@ -368,7 +368,6 @@ static struct platform_driver max8903_driver = { | |||
368 | .remove = max8903_remove, | 368 | .remove = max8903_remove, |
369 | .driver = { | 369 | .driver = { |
370 | .name = "max8903-charger", | 370 | .name = "max8903-charger", |
371 | .owner = THIS_MODULE, | ||
372 | }, | 371 | }, |
373 | }; | 372 | }; |
374 | 373 | ||
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c index 4bdedfed936d..aefa0c9a3007 100644 --- a/drivers/power/max8997_charger.c +++ b/drivers/power/max8997_charger.c | |||
@@ -181,7 +181,6 @@ static const struct platform_device_id max8997_battery_id[] = { | |||
181 | static struct platform_driver max8997_battery_driver = { | 181 | static struct platform_driver max8997_battery_driver = { |
182 | .driver = { | 182 | .driver = { |
183 | .name = "max8997-battery", | 183 | .name = "max8997-battery", |
184 | .owner = THIS_MODULE, | ||
185 | }, | 184 | }, |
186 | .probe = max8997_battery_probe, | 185 | .probe = max8997_battery_probe, |
187 | .remove = max8997_battery_remove, | 186 | .remove = max8997_battery_remove, |
diff --git a/drivers/power/max8998_charger.c b/drivers/power/max8998_charger.c index 5017470c2fc9..08694c7a9f38 100644 --- a/drivers/power/max8998_charger.c +++ b/drivers/power/max8998_charger.c | |||
@@ -195,7 +195,6 @@ static const struct platform_device_id max8998_battery_id[] = { | |||
195 | static struct platform_driver max8998_battery_driver = { | 195 | static struct platform_driver max8998_battery_driver = { |
196 | .driver = { | 196 | .driver = { |
197 | .name = "max8998-battery", | 197 | .name = "max8998-battery", |
198 | .owner = THIS_MODULE, | ||
199 | }, | 198 | }, |
200 | .probe = max8998_battery_probe, | 199 | .probe = max8998_battery_probe, |
201 | .remove = max8998_battery_remove, | 200 | .remove = max8998_battery_remove, |
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c index 1ec810ada5ed..ad9cde705de1 100644 --- a/drivers/power/olpc_battery.c +++ b/drivers/power/olpc_battery.c | |||
@@ -677,7 +677,6 @@ MODULE_DEVICE_TABLE(of, olpc_battery_ids); | |||
677 | static struct platform_driver olpc_battery_driver = { | 677 | static struct platform_driver olpc_battery_driver = { |
678 | .driver = { | 678 | .driver = { |
679 | .name = "olpc-battery", | 679 | .name = "olpc-battery", |
680 | .owner = THIS_MODULE, | ||
681 | .of_match_table = olpc_battery_ids, | 680 | .of_match_table = olpc_battery_ids, |
682 | }, | 681 | }, |
683 | .probe = olpc_battery_probe, | 682 | .probe = olpc_battery_probe, |
diff --git a/drivers/power/reset/as3722-poweroff.c b/drivers/power/reset/as3722-poweroff.c index 684971199bd3..60d0295fffb1 100644 --- a/drivers/power/reset/as3722-poweroff.c +++ b/drivers/power/reset/as3722-poweroff.c | |||
@@ -82,7 +82,6 @@ static int as3722_poweroff_remove(struct platform_device *pdev) | |||
82 | static struct platform_driver as3722_poweroff_driver = { | 82 | static struct platform_driver as3722_poweroff_driver = { |
83 | .driver = { | 83 | .driver = { |
84 | .name = "as3722-power-off", | 84 | .name = "as3722-power-off", |
85 | .owner = THIS_MODULE, | ||
86 | }, | 85 | }, |
87 | .probe = as3722_poweroff_probe, | 86 | .probe = as3722_poweroff_probe, |
88 | .remove = as3722_poweroff_remove, | 87 | .remove = as3722_poweroff_remove, |
diff --git a/drivers/power/reset/brcmstb-reboot.c b/drivers/power/reset/brcmstb-reboot.c index 3f236924742a..c523ea7a90ee 100644 --- a/drivers/power/reset/brcmstb-reboot.c +++ b/drivers/power/reset/brcmstb-reboot.c | |||
@@ -107,7 +107,6 @@ static struct platform_driver brcmstb_reboot_driver = { | |||
107 | .probe = brcmstb_reboot_probe, | 107 | .probe = brcmstb_reboot_probe, |
108 | .driver = { | 108 | .driver = { |
109 | .name = "brcmstb-reboot", | 109 | .name = "brcmstb-reboot", |
110 | .owner = THIS_MODULE, | ||
111 | .of_match_table = of_match, | 110 | .of_match_table = of_match, |
112 | }, | 111 | }, |
113 | }; | 112 | }; |
diff --git a/drivers/power/reset/gpio-poweroff.c b/drivers/power/reset/gpio-poweroff.c index ce849bc9b269..e5332f1db8a7 100644 --- a/drivers/power/reset/gpio-poweroff.c +++ b/drivers/power/reset/gpio-poweroff.c | |||
@@ -99,7 +99,6 @@ static struct platform_driver gpio_poweroff_driver = { | |||
99 | .remove = gpio_poweroff_remove, | 99 | .remove = gpio_poweroff_remove, |
100 | .driver = { | 100 | .driver = { |
101 | .name = "poweroff-gpio", | 101 | .name = "poweroff-gpio", |
102 | .owner = THIS_MODULE, | ||
103 | .of_match_table = of_gpio_poweroff_match, | 102 | .of_match_table = of_gpio_poweroff_match, |
104 | }, | 103 | }, |
105 | }; | 104 | }; |
diff --git a/drivers/power/reset/gpio-restart.c b/drivers/power/reset/gpio-restart.c index a76829b3f1cd..edb327efee8b 100644 --- a/drivers/power/reset/gpio-restart.c +++ b/drivers/power/reset/gpio-restart.c | |||
@@ -137,7 +137,6 @@ static struct platform_driver gpio_restart_driver = { | |||
137 | .remove = gpio_restart_remove, | 137 | .remove = gpio_restart_remove, |
138 | .driver = { | 138 | .driver = { |
139 | .name = "restart-gpio", | 139 | .name = "restart-gpio", |
140 | .owner = THIS_MODULE, | ||
141 | .of_match_table = of_gpio_restart_match, | 140 | .of_match_table = of_gpio_restart_match, |
142 | }, | 141 | }, |
143 | }; | 142 | }; |
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c index 408a18fd91cb..86bc100818b2 100644 --- a/drivers/power/reset/keystone-reset.c +++ b/drivers/power/reset/keystone-reset.c | |||
@@ -153,7 +153,6 @@ static int rsctrl_probe(struct platform_device *pdev) | |||
153 | static struct platform_driver rsctrl_driver = { | 153 | static struct platform_driver rsctrl_driver = { |
154 | .probe = rsctrl_probe, | 154 | .probe = rsctrl_probe, |
155 | .driver = { | 155 | .driver = { |
156 | .owner = THIS_MODULE, | ||
157 | .name = KBUILD_MODNAME, | 156 | .name = KBUILD_MODNAME, |
158 | .of_match_table = rsctrl_of_match, | 157 | .of_match_table = rsctrl_of_match, |
159 | }, | 158 | }, |
diff --git a/drivers/power/reset/ltc2952-poweroff.c b/drivers/power/reset/ltc2952-poweroff.c index 116a1cef8f7b..34f38a3dc3ff 100644 --- a/drivers/power/reset/ltc2952-poweroff.c +++ b/drivers/power/reset/ltc2952-poweroff.c | |||
@@ -342,7 +342,6 @@ static struct platform_driver ltc2952_poweroff_driver = { | |||
342 | .remove = ltc2952_poweroff_remove, | 342 | .remove = ltc2952_poweroff_remove, |
343 | .driver = { | 343 | .driver = { |
344 | .name = "ltc2952-poweroff", | 344 | .name = "ltc2952-poweroff", |
345 | .owner = THIS_MODULE, | ||
346 | .of_match_table = of_ltc2952_poweroff_match, | 345 | .of_match_table = of_ltc2952_poweroff_match, |
347 | }, | 346 | }, |
348 | .suspend = ltc2952_poweroff_suspend, | 347 | .suspend = ltc2952_poweroff_suspend, |
diff --git a/drivers/power/reset/qnap-poweroff.c b/drivers/power/reset/qnap-poweroff.c index a75db7f8a92f..2789a61cec68 100644 --- a/drivers/power/reset/qnap-poweroff.c +++ b/drivers/power/reset/qnap-poweroff.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver qnap_power_off_driver = { | |||
129 | .probe = qnap_power_off_probe, | 129 | .probe = qnap_power_off_probe, |
130 | .remove = qnap_power_off_remove, | 130 | .remove = qnap_power_off_remove, |
131 | .driver = { | 131 | .driver = { |
132 | .owner = THIS_MODULE, | ||
133 | .name = "qnap_power_off", | 132 | .name = "qnap_power_off", |
134 | .of_match_table = of_match_ptr(qnap_power_off_of_match_table), | 133 | .of_match_table = of_match_ptr(qnap_power_off_of_match_table), |
135 | }, | 134 | }, |
diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c index edd707ee7281..f46f2c2e4648 100644 --- a/drivers/power/reset/restart-poweroff.c +++ b/drivers/power/reset/restart-poweroff.c | |||
@@ -55,7 +55,6 @@ static struct platform_driver restart_poweroff_driver = { | |||
55 | .remove = restart_poweroff_remove, | 55 | .remove = restart_poweroff_remove, |
56 | .driver = { | 56 | .driver = { |
57 | .name = "poweroff-restart", | 57 | .name = "poweroff-restart", |
58 | .owner = THIS_MODULE, | ||
59 | .of_match_table = of_restart_poweroff_match, | 58 | .of_match_table = of_restart_poweroff_match, |
60 | }, | 59 | }, |
61 | }; | 60 | }; |
diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c index d5a2acfb8821..a01aacb32f59 100644 --- a/drivers/power/rx51_battery.c +++ b/drivers/power/rx51_battery.c | |||
@@ -281,7 +281,6 @@ static struct platform_driver rx51_battery_driver = { | |||
281 | .remove = rx51_battery_remove, | 281 | .remove = rx51_battery_remove, |
282 | .driver = { | 282 | .driver = { |
283 | .name = "rx51-battery", | 283 | .name = "rx51-battery", |
284 | .owner = THIS_MODULE, | ||
285 | .of_match_table = of_match_ptr(n900_battery_of_match), | 284 | .of_match_table = of_match_ptr(n900_battery_of_match), |
286 | }, | 285 | }, |
287 | }; | 286 | }; |
diff --git a/drivers/power/tps65090-charger.c b/drivers/power/tps65090-charger.c index 3e8ba97c8169..0f4e5971dff5 100644 --- a/drivers/power/tps65090-charger.c +++ b/drivers/power/tps65090-charger.c | |||
@@ -353,7 +353,6 @@ static struct platform_driver tps65090_charger_driver = { | |||
353 | .driver = { | 353 | .driver = { |
354 | .name = "tps65090-charger", | 354 | .name = "tps65090-charger", |
355 | .of_match_table = of_tps65090_charger_match, | 355 | .of_match_table = of_tps65090_charger_match, |
356 | .owner = THIS_MODULE, | ||
357 | }, | 356 | }, |
358 | .probe = tps65090_charger_probe, | 357 | .probe = tps65090_charger_probe, |
359 | .remove = tps65090_charger_remove, | 358 | .remove = tps65090_charger_remove, |
diff --git a/drivers/power/twl4030_charger.c b/drivers/power/twl4030_charger.c index 2598c588006e..d35b83e635b5 100644 --- a/drivers/power/twl4030_charger.c +++ b/drivers/power/twl4030_charger.c | |||
@@ -716,7 +716,6 @@ MODULE_DEVICE_TABLE(of, twl_bci_of_match); | |||
716 | static struct platform_driver twl4030_bci_driver = { | 716 | static struct platform_driver twl4030_bci_driver = { |
717 | .driver = { | 717 | .driver = { |
718 | .name = "twl4030_bci", | 718 | .name = "twl4030_bci", |
719 | .owner = THIS_MODULE, | ||
720 | .of_match_table = of_match_ptr(twl_bci_of_match), | 719 | .of_match_table = of_match_ptr(twl_bci_of_match), |
721 | }, | 720 | }, |
722 | .remove = __exit_p(twl4030_bci_remove), | 721 | .remove = __exit_p(twl4030_bci_remove), |
diff --git a/drivers/power/wm97xx_battery.c b/drivers/power/wm97xx_battery.c index 58f7348e6c22..a8e6203673ad 100644 --- a/drivers/power/wm97xx_battery.c +++ b/drivers/power/wm97xx_battery.c | |||
@@ -281,7 +281,6 @@ static int wm97xx_bat_remove(struct platform_device *dev) | |||
281 | static struct platform_driver wm97xx_bat_driver = { | 281 | static struct platform_driver wm97xx_bat_driver = { |
282 | .driver = { | 282 | .driver = { |
283 | .name = "wm97xx-battery", | 283 | .name = "wm97xx-battery", |
284 | .owner = THIS_MODULE, | ||
285 | #ifdef CONFIG_PM | 284 | #ifdef CONFIG_PM |
286 | .pm = &wm97xx_bat_pm_ops, | 285 | .pm = &wm97xx_bat_pm_ops, |
287 | #endif | 286 | #endif |
diff --git a/drivers/pps/clients/pps-gpio.c b/drivers/pps/clients/pps-gpio.c index f41bacfdc3dc..333ad7d5b45b 100644 --- a/drivers/pps/clients/pps-gpio.c +++ b/drivers/pps/clients/pps-gpio.c | |||
@@ -200,7 +200,6 @@ static struct platform_driver pps_gpio_driver = { | |||
200 | .remove = pps_gpio_remove, | 200 | .remove = pps_gpio_remove, |
201 | .driver = { | 201 | .driver = { |
202 | .name = PPS_GPIO_NAME, | 202 | .name = PPS_GPIO_NAME, |
203 | .owner = THIS_MODULE, | ||
204 | .of_match_table = pps_gpio_dt_ids, | 203 | .of_match_table = pps_gpio_dt_ids, |
205 | }, | 204 | }, |
206 | }; | 205 | }; |
diff --git a/drivers/pwm/pwm-ab8500.c b/drivers/pwm/pwm-ab8500.c index 4c07a8420b37..f39399273426 100644 --- a/drivers/pwm/pwm-ab8500.c +++ b/drivers/pwm/pwm-ab8500.c | |||
@@ -131,7 +131,6 @@ static int ab8500_pwm_remove(struct platform_device *pdev) | |||
131 | static struct platform_driver ab8500_pwm_driver = { | 131 | static struct platform_driver ab8500_pwm_driver = { |
132 | .driver = { | 132 | .driver = { |
133 | .name = "ab8500-pwm", | 133 | .name = "ab8500-pwm", |
134 | .owner = THIS_MODULE, | ||
135 | }, | 134 | }, |
136 | .probe = ab8500_pwm_probe, | 135 | .probe = ab8500_pwm_probe, |
137 | .remove = ab8500_pwm_remove, | 136 | .remove = ab8500_pwm_remove, |
diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c index d56e5b717431..d14e0677c92d 100644 --- a/drivers/pwm/pwm-atmel-tcb.c +++ b/drivers/pwm/pwm-atmel-tcb.c | |||
@@ -436,7 +436,6 @@ MODULE_DEVICE_TABLE(of, atmel_tcb_pwm_dt_ids); | |||
436 | static struct platform_driver atmel_tcb_pwm_driver = { | 436 | static struct platform_driver atmel_tcb_pwm_driver = { |
437 | .driver = { | 437 | .driver = { |
438 | .name = "atmel-tcb-pwm", | 438 | .name = "atmel-tcb-pwm", |
439 | .owner = THIS_MODULE, | ||
440 | .of_match_table = atmel_tcb_pwm_dt_ids, | 439 | .of_match_table = atmel_tcb_pwm_dt_ids, |
441 | }, | 440 | }, |
442 | .probe = atmel_tcb_pwm_probe, | 441 | .probe = atmel_tcb_pwm_probe, |
diff --git a/drivers/pwm/pwm-bfin.c b/drivers/pwm/pwm-bfin.c index 9985d830e554..7631ef194de7 100644 --- a/drivers/pwm/pwm-bfin.c +++ b/drivers/pwm/pwm-bfin.c | |||
@@ -149,7 +149,6 @@ static int bfin_pwm_remove(struct platform_device *pdev) | |||
149 | static struct platform_driver bfin_pwm_driver = { | 149 | static struct platform_driver bfin_pwm_driver = { |
150 | .driver = { | 150 | .driver = { |
151 | .name = "bfin-pwm", | 151 | .name = "bfin-pwm", |
152 | .owner = THIS_MODULE, | ||
153 | }, | 152 | }, |
154 | .probe = bfin_pwm_probe, | 153 | .probe = bfin_pwm_probe, |
155 | .remove = bfin_pwm_remove, | 154 | .remove = bfin_pwm_remove, |
diff --git a/drivers/pwm/pwm-clps711x.c b/drivers/pwm/pwm-clps711x.c index fafb6a0111b0..a80c10803636 100644 --- a/drivers/pwm/pwm-clps711x.c +++ b/drivers/pwm/pwm-clps711x.c | |||
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(of, clps711x_pwm_dt_ids); | |||
163 | static struct platform_driver clps711x_pwm_driver = { | 163 | static struct platform_driver clps711x_pwm_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .name = "clps711x-pwm", | 165 | .name = "clps711x-pwm", |
166 | .owner = THIS_MODULE, | ||
167 | .of_match_table = of_match_ptr(clps711x_pwm_dt_ids), | 166 | .of_match_table = of_match_ptr(clps711x_pwm_dt_ids), |
168 | }, | 167 | }, |
169 | .probe = clps711x_pwm_probe, | 168 | .probe = clps711x_pwm_probe, |
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index f8b5f109c1ab..66d6f0c5c421 100644 --- a/drivers/pwm/pwm-imx.c +++ b/drivers/pwm/pwm-imx.c | |||
@@ -336,7 +336,6 @@ static int imx_pwm_remove(struct platform_device *pdev) | |||
336 | static struct platform_driver imx_pwm_driver = { | 336 | static struct platform_driver imx_pwm_driver = { |
337 | .driver = { | 337 | .driver = { |
338 | .name = "imx-pwm", | 338 | .name = "imx-pwm", |
339 | .owner = THIS_MODULE, | ||
340 | .of_match_table = imx_pwm_dt_ids, | 339 | .of_match_table = imx_pwm_dt_ids, |
341 | }, | 340 | }, |
342 | .probe = imx_pwm_probe, | 341 | .probe = imx_pwm_probe, |
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c index 9c46209e1d02..76d13150283f 100644 --- a/drivers/pwm/pwm-jz4740.c +++ b/drivers/pwm/pwm-jz4740.c | |||
@@ -194,7 +194,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev) | |||
194 | static struct platform_driver jz4740_pwm_driver = { | 194 | static struct platform_driver jz4740_pwm_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "jz4740-pwm", | 196 | .name = "jz4740-pwm", |
197 | .owner = THIS_MODULE, | ||
198 | }, | 197 | }, |
199 | .probe = jz4740_pwm_probe, | 198 | .probe = jz4740_pwm_probe, |
200 | .remove = jz4740_pwm_remove, | 199 | .remove = jz4740_pwm_remove, |
diff --git a/drivers/pwm/pwm-lp3943.c b/drivers/pwm/pwm-lp3943.c index 2c39b0e50fa4..872ea76a4f19 100644 --- a/drivers/pwm/pwm-lp3943.c +++ b/drivers/pwm/pwm-lp3943.c | |||
@@ -305,7 +305,6 @@ static struct platform_driver lp3943_pwm_driver = { | |||
305 | .remove = lp3943_pwm_remove, | 305 | .remove = lp3943_pwm_remove, |
306 | .driver = { | 306 | .driver = { |
307 | .name = "lp3943-pwm", | 307 | .name = "lp3943-pwm", |
308 | .owner = THIS_MODULE, | ||
309 | .of_match_table = of_match_ptr(lp3943_pwm_of_match), | 308 | .of_match_table = of_match_ptr(lp3943_pwm_of_match), |
310 | }, | 309 | }, |
311 | }; | 310 | }; |
diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c index 9dc0f9d42bfa..9fde60ce8e7b 100644 --- a/drivers/pwm/pwm-lpc32xx.c +++ b/drivers/pwm/pwm-lpc32xx.c | |||
@@ -168,7 +168,6 @@ MODULE_DEVICE_TABLE(of, lpc32xx_pwm_dt_ids); | |||
168 | static struct platform_driver lpc32xx_pwm_driver = { | 168 | static struct platform_driver lpc32xx_pwm_driver = { |
169 | .driver = { | 169 | .driver = { |
170 | .name = "lpc32xx-pwm", | 170 | .name = "lpc32xx-pwm", |
171 | .owner = THIS_MODULE, | ||
172 | .of_match_table = lpc32xx_pwm_dt_ids, | 171 | .of_match_table = lpc32xx_pwm_dt_ids, |
173 | }, | 172 | }, |
174 | .probe = lpc32xx_pwm_probe, | 173 | .probe = lpc32xx_pwm_probe, |
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index 4f1bb4e0a426..f75ecb09d97d 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c | |||
@@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, mxs_pwm_dt_ids); | |||
189 | static struct platform_driver mxs_pwm_driver = { | 189 | static struct platform_driver mxs_pwm_driver = { |
190 | .driver = { | 190 | .driver = { |
191 | .name = "mxs-pwm", | 191 | .name = "mxs-pwm", |
192 | .owner = THIS_MODULE, | ||
193 | .of_match_table = mxs_pwm_dt_ids, | 192 | .of_match_table = mxs_pwm_dt_ids, |
194 | }, | 193 | }, |
195 | .probe = mxs_pwm_probe, | 194 | .probe = mxs_pwm_probe, |
diff --git a/drivers/pwm/pwm-puv3.c b/drivers/pwm/pwm-puv3.c index a9a28083f245..ed6007b27585 100644 --- a/drivers/pwm/pwm-puv3.c +++ b/drivers/pwm/pwm-puv3.c | |||
@@ -146,7 +146,6 @@ static int pwm_remove(struct platform_device *pdev) | |||
146 | static struct platform_driver puv3_pwm_driver = { | 146 | static struct platform_driver puv3_pwm_driver = { |
147 | .driver = { | 147 | .driver = { |
148 | .name = "PKUnity-v3-PWM", | 148 | .name = "PKUnity-v3-PWM", |
149 | .owner = THIS_MODULE, | ||
150 | }, | 149 | }, |
151 | .probe = pwm_probe, | 150 | .probe = pwm_probe, |
152 | .remove = pwm_remove, | 151 | .remove = pwm_remove, |
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index 0b312ec420b6..cb2f7024cf68 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c | |||
@@ -225,7 +225,6 @@ static int pwm_remove(struct platform_device *pdev) | |||
225 | static struct platform_driver pwm_driver = { | 225 | static struct platform_driver pwm_driver = { |
226 | .driver = { | 226 | .driver = { |
227 | .name = "pxa25x-pwm", | 227 | .name = "pxa25x-pwm", |
228 | .owner = THIS_MODULE, | ||
229 | .of_match_table = pwm_of_match, | 228 | .of_match_table = pwm_of_match, |
230 | }, | 229 | }, |
231 | .probe = pwm_probe, | 230 | .probe = pwm_probe, |
diff --git a/drivers/pwm/pwm-renesas-tpu.c b/drivers/pwm/pwm-renesas-tpu.c index 3b71b42e89d5..ee63f9e9d0fb 100644 --- a/drivers/pwm/pwm-renesas-tpu.c +++ b/drivers/pwm/pwm-renesas-tpu.c | |||
@@ -468,7 +468,6 @@ static struct platform_driver tpu_driver = { | |||
468 | .remove = tpu_remove, | 468 | .remove = tpu_remove, |
469 | .driver = { | 469 | .driver = { |
470 | .name = "renesas-tpu-pwm", | 470 | .name = "renesas-tpu-pwm", |
471 | .owner = THIS_MODULE, | ||
472 | .of_match_table = of_match_ptr(tpu_of_table), | 471 | .of_match_table = of_match_ptr(tpu_of_table), |
473 | } | 472 | } |
474 | }; | 473 | }; |
diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index ba6b650cf8dc..3e9b5835a4af 100644 --- a/drivers/pwm/pwm-samsung.c +++ b/drivers/pwm/pwm-samsung.c | |||
@@ -601,7 +601,6 @@ static SIMPLE_DEV_PM_OPS(pwm_samsung_pm_ops, pwm_samsung_suspend, | |||
601 | static struct platform_driver pwm_samsung_driver = { | 601 | static struct platform_driver pwm_samsung_driver = { |
602 | .driver = { | 602 | .driver = { |
603 | .name = "samsung-pwm", | 603 | .name = "samsung-pwm", |
604 | .owner = THIS_MODULE, | ||
605 | .pm = &pwm_samsung_pm_ops, | 604 | .pm = &pwm_samsung_pm_ops, |
606 | .of_match_table = of_match_ptr(samsung_pwm_matches), | 605 | .of_match_table = of_match_ptr(samsung_pwm_matches), |
607 | }, | 606 | }, |
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c index 6fd93e6a4122..6c6b44fd3f43 100644 --- a/drivers/pwm/pwm-spear.c +++ b/drivers/pwm/pwm-spear.c | |||
@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, spear_pwm_of_match); | |||
252 | static struct platform_driver spear_pwm_driver = { | 252 | static struct platform_driver spear_pwm_driver = { |
253 | .driver = { | 253 | .driver = { |
254 | .name = "spear-pwm", | 254 | .name = "spear-pwm", |
255 | .owner = THIS_MODULE, | ||
256 | .of_match_table = spear_pwm_of_match, | 255 | .of_match_table = spear_pwm_of_match, |
257 | }, | 256 | }, |
258 | .probe = spear_pwm_probe, | 257 | .probe = spear_pwm_probe, |
diff --git a/drivers/pwm/pwm-tegra.c b/drivers/pwm/pwm-tegra.c index 61d86b9498ca..5b97cae5423a 100644 --- a/drivers/pwm/pwm-tegra.c +++ b/drivers/pwm/pwm-tegra.c | |||
@@ -237,7 +237,6 @@ MODULE_DEVICE_TABLE(of, tegra_pwm_of_match); | |||
237 | static struct platform_driver tegra_pwm_driver = { | 237 | static struct platform_driver tegra_pwm_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = "tegra-pwm", | 239 | .name = "tegra-pwm", |
240 | .owner = THIS_MODULE, | ||
241 | .of_match_table = tegra_pwm_of_match, | 240 | .of_match_table = tegra_pwm_of_match, |
242 | }, | 241 | }, |
243 | .probe = tegra_pwm_probe, | 242 | .probe = tegra_pwm_probe, |
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c index 74efbe7f20c3..e557befdf4e6 100644 --- a/drivers/pwm/pwm-tiecap.c +++ b/drivers/pwm/pwm-tiecap.c | |||
@@ -331,7 +331,6 @@ static SIMPLE_DEV_PM_OPS(ecap_pwm_pm_ops, ecap_pwm_suspend, ecap_pwm_resume); | |||
331 | static struct platform_driver ecap_pwm_driver = { | 331 | static struct platform_driver ecap_pwm_driver = { |
332 | .driver = { | 332 | .driver = { |
333 | .name = "ecap", | 333 | .name = "ecap", |
334 | .owner = THIS_MODULE, | ||
335 | .of_match_table = ecap_of_match, | 334 | .of_match_table = ecap_of_match, |
336 | .pm = &ecap_pwm_pm_ops, | 335 | .pm = &ecap_pwm_pm_ops, |
337 | }, | 336 | }, |
diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c index cb75133085a8..694b3cf7694b 100644 --- a/drivers/pwm/pwm-tiehrpwm.c +++ b/drivers/pwm/pwm-tiehrpwm.c | |||
@@ -599,7 +599,6 @@ static SIMPLE_DEV_PM_OPS(ehrpwm_pwm_pm_ops, ehrpwm_pwm_suspend, | |||
599 | static struct platform_driver ehrpwm_pwm_driver = { | 599 | static struct platform_driver ehrpwm_pwm_driver = { |
600 | .driver = { | 600 | .driver = { |
601 | .name = "ehrpwm", | 601 | .name = "ehrpwm", |
602 | .owner = THIS_MODULE, | ||
603 | .of_match_table = ehrpwm_of_match, | 602 | .of_match_table = ehrpwm_of_match, |
604 | .pm = &ehrpwm_pwm_pm_ops, | 603 | .pm = &ehrpwm_pwm_pm_ops, |
605 | }, | 604 | }, |
diff --git a/drivers/pwm/pwm-tipwmss.c b/drivers/pwm/pwm-tipwmss.c index 67481dc6da3f..5cf65a15d021 100644 --- a/drivers/pwm/pwm-tipwmss.c +++ b/drivers/pwm/pwm-tipwmss.c | |||
@@ -119,7 +119,6 @@ static SIMPLE_DEV_PM_OPS(pwmss_pm_ops, pwmss_suspend, pwmss_resume); | |||
119 | static struct platform_driver pwmss_driver = { | 119 | static struct platform_driver pwmss_driver = { |
120 | .driver = { | 120 | .driver = { |
121 | .name = "pwmss", | 121 | .name = "pwmss", |
122 | .owner = THIS_MODULE, | ||
123 | .pm = &pwmss_pm_ops, | 122 | .pm = &pwmss_pm_ops, |
124 | .of_match_table = pwmss_of_match, | 123 | .of_match_table = pwmss_of_match, |
125 | }, | 124 | }, |
diff --git a/drivers/pwm/pwm-vt8500.c b/drivers/pwm/pwm-vt8500.c index 652e6b5b859b..cdb58fd4619d 100644 --- a/drivers/pwm/pwm-vt8500.c +++ b/drivers/pwm/pwm-vt8500.c | |||
@@ -266,7 +266,6 @@ static struct platform_driver vt8500_pwm_driver = { | |||
266 | .remove = vt8500_pwm_remove, | 266 | .remove = vt8500_pwm_remove, |
267 | .driver = { | 267 | .driver = { |
268 | .name = "vt8500-pwm", | 268 | .name = "vt8500-pwm", |
269 | .owner = THIS_MODULE, | ||
270 | .of_match_table = vt8500_pwm_dt_ids, | 269 | .of_match_table = vt8500_pwm_dt_ids, |
271 | }, | 270 | }, |
272 | }; | 271 | }; |
diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c index 4e6c8c611905..832932bdc977 100644 --- a/drivers/regulator/88pm800.c +++ b/drivers/regulator/88pm800.c | |||
@@ -362,7 +362,6 @@ static int pm800_regulator_remove(struct platform_device *pdev) | |||
362 | static struct platform_driver pm800_regulator_driver = { | 362 | static struct platform_driver pm800_regulator_driver = { |
363 | .driver = { | 363 | .driver = { |
364 | .name = "88pm80x-regulator", | 364 | .name = "88pm80x-regulator", |
365 | .owner = THIS_MODULE, | ||
366 | }, | 365 | }, |
367 | .probe = pm800_regulator_probe, | 366 | .probe = pm800_regulator_probe, |
368 | .remove = pm800_regulator_remove, | 367 | .remove = pm800_regulator_remove, |
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 6d77dcd7dcf6..e04b333cc108 100644 --- a/drivers/regulator/88pm8607.c +++ b/drivers/regulator/88pm8607.c | |||
@@ -418,7 +418,6 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids); | |||
418 | static struct platform_driver pm8607_regulator_driver = { | 418 | static struct platform_driver pm8607_regulator_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .name = "88pm860x-regulator", | 420 | .name = "88pm860x-regulator", |
421 | .owner = THIS_MODULE, | ||
422 | }, | 421 | }, |
423 | .probe = pm8607_regulator_probe, | 422 | .probe = pm8607_regulator_probe, |
424 | .id_table = pm8607_regulator_driver_ids, | 423 | .id_table = pm8607_regulator_driver_ids, |
diff --git a/drivers/regulator/aat2870-regulator.c b/drivers/regulator/aat2870-regulator.c index c873ee0082cf..9dfabda8f478 100644 --- a/drivers/regulator/aat2870-regulator.c +++ b/drivers/regulator/aat2870-regulator.c | |||
@@ -191,7 +191,6 @@ static int aat2870_regulator_probe(struct platform_device *pdev) | |||
191 | static struct platform_driver aat2870_regulator_driver = { | 191 | static struct platform_driver aat2870_regulator_driver = { |
192 | .driver = { | 192 | .driver = { |
193 | .name = "aat2870-regulator", | 193 | .name = "aat2870-regulator", |
194 | .owner = THIS_MODULE, | ||
195 | }, | 194 | }, |
196 | .probe = aat2870_regulator_probe, | 195 | .probe = aat2870_regulator_probe, |
197 | }; | 196 | }; |
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index e10febe9ec34..de2644490f0d 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
@@ -721,7 +721,6 @@ static int ab3100_regulators_probe(struct platform_device *pdev) | |||
721 | static struct platform_driver ab3100_regulators_driver = { | 721 | static struct platform_driver ab3100_regulators_driver = { |
722 | .driver = { | 722 | .driver = { |
723 | .name = "ab3100-regulators", | 723 | .name = "ab3100-regulators", |
724 | .owner = THIS_MODULE, | ||
725 | }, | 724 | }, |
726 | .probe = ab3100_regulators_probe, | 725 | .probe = ab3100_regulators_probe, |
727 | .remove = ab3100_regulators_remove, | 726 | .remove = ab3100_regulators_remove, |
diff --git a/drivers/regulator/ab8500-ext.c b/drivers/regulator/ab8500-ext.c index 29c0faaf8eba..84c1ee39ddae 100644 --- a/drivers/regulator/ab8500-ext.c +++ b/drivers/regulator/ab8500-ext.c | |||
@@ -433,7 +433,6 @@ static struct platform_driver ab8500_ext_regulator_driver = { | |||
433 | .probe = ab8500_ext_regulator_probe, | 433 | .probe = ab8500_ext_regulator_probe, |
434 | .driver = { | 434 | .driver = { |
435 | .name = "ab8500-ext-regulator", | 435 | .name = "ab8500-ext-regulator", |
436 | .owner = THIS_MODULE, | ||
437 | }, | 436 | }, |
438 | }; | 437 | }; |
439 | 438 | ||
diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 1fda14e12ea8..0f97514e3474 100644 --- a/drivers/regulator/ab8500.c +++ b/drivers/regulator/ab8500.c | |||
@@ -3075,7 +3075,6 @@ static struct platform_driver ab8500_regulator_driver = { | |||
3075 | .probe = ab8500_regulator_probe, | 3075 | .probe = ab8500_regulator_probe, |
3076 | .driver = { | 3076 | .driver = { |
3077 | .name = "ab8500-regulator", | 3077 | .name = "ab8500-regulator", |
3078 | .owner = THIS_MODULE, | ||
3079 | }, | 3078 | }, |
3080 | }; | 3079 | }; |
3081 | 3080 | ||
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c index 4f730af70e7c..1d4d8e572786 100644 --- a/drivers/regulator/anatop-regulator.c +++ b/drivers/regulator/anatop-regulator.c | |||
@@ -308,7 +308,6 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = { | |||
308 | static struct platform_driver anatop_regulator_driver = { | 308 | static struct platform_driver anatop_regulator_driver = { |
309 | .driver = { | 309 | .driver = { |
310 | .name = "anatop_regulator", | 310 | .name = "anatop_regulator", |
311 | .owner = THIS_MODULE, | ||
312 | .of_match_table = of_anatop_regulator_match_tbl, | 311 | .of_match_table = of_anatop_regulator_match_tbl, |
313 | }, | 312 | }, |
314 | .probe = anatop_regulator_probe, | 313 | .probe = anatop_regulator_probe, |
diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index 4c9db589f6c1..9b0e96919578 100644 --- a/drivers/regulator/arizona-ldo1.c +++ b/drivers/regulator/arizona-ldo1.c | |||
@@ -296,7 +296,6 @@ static struct platform_driver arizona_ldo1_driver = { | |||
296 | .probe = arizona_ldo1_probe, | 296 | .probe = arizona_ldo1_probe, |
297 | .driver = { | 297 | .driver = { |
298 | .name = "arizona-ldo1", | 298 | .name = "arizona-ldo1", |
299 | .owner = THIS_MODULE, | ||
300 | }, | 299 | }, |
301 | }; | 300 | }; |
302 | 301 | ||
diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index ce9aca5f8ee7..9857c9f2f621 100644 --- a/drivers/regulator/arizona-micsupp.c +++ b/drivers/regulator/arizona-micsupp.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver arizona_micsupp_driver = { | |||
300 | .probe = arizona_micsupp_probe, | 300 | .probe = arizona_micsupp_probe, |
301 | .driver = { | 301 | .driver = { |
302 | .name = "arizona-micsupp", | 302 | .name = "arizona-micsupp", |
303 | .owner = THIS_MODULE, | ||
304 | }, | 303 | }, |
305 | }; | 304 | }; |
306 | 305 | ||
diff --git a/drivers/regulator/as3711-regulator.c b/drivers/regulator/as3711-regulator.c index 8459b0b648cd..c0e93b1332f7 100644 --- a/drivers/regulator/as3711-regulator.c +++ b/drivers/regulator/as3711-regulator.c | |||
@@ -267,7 +267,6 @@ static int as3711_regulator_probe(struct platform_device *pdev) | |||
267 | static struct platform_driver as3711_regulator_driver = { | 267 | static struct platform_driver as3711_regulator_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "as3711-regulator", | 269 | .name = "as3711-regulator", |
270 | .owner = THIS_MODULE, | ||
271 | }, | 270 | }, |
272 | .probe = as3711_regulator_probe, | 271 | .probe = as3711_regulator_probe, |
273 | }; | 272 | }; |
diff --git a/drivers/regulator/as3722-regulator.c b/drivers/regulator/as3722-regulator.c index b68f05f38537..8b046eec6ae0 100644 --- a/drivers/regulator/as3722-regulator.c +++ b/drivers/regulator/as3722-regulator.c | |||
@@ -916,7 +916,6 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match); | |||
916 | static struct platform_driver as3722_regulator_driver = { | 916 | static struct platform_driver as3722_regulator_driver = { |
917 | .driver = { | 917 | .driver = { |
918 | .name = "as3722-regulator", | 918 | .name = "as3722-regulator", |
919 | .owner = THIS_MODULE, | ||
920 | .of_match_table = of_as3722_regulator_match, | 919 | .of_match_table = of_as3722_regulator_match, |
921 | }, | 920 | }, |
922 | .probe = as3722_regulator_probe, | 921 | .probe = as3722_regulator_probe, |
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c index 2e1010a34ddc..f23d7e1f2ee7 100644 --- a/drivers/regulator/axp20x-regulator.c +++ b/drivers/regulator/axp20x-regulator.c | |||
@@ -275,7 +275,6 @@ static struct platform_driver axp20x_regulator_driver = { | |||
275 | .probe = axp20x_regulator_probe, | 275 | .probe = axp20x_regulator_probe, |
276 | .driver = { | 276 | .driver = { |
277 | .name = "axp20x-regulator", | 277 | .name = "axp20x-regulator", |
278 | .owner = THIS_MODULE, | ||
279 | }, | 278 | }, |
280 | }; | 279 | }; |
281 | 280 | ||
diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c index fe6ac69549a6..628430bdc312 100644 --- a/drivers/regulator/bcm590xx-regulator.c +++ b/drivers/regulator/bcm590xx-regulator.c | |||
@@ -453,7 +453,6 @@ static int bcm590xx_probe(struct platform_device *pdev) | |||
453 | static struct platform_driver bcm590xx_regulator_driver = { | 453 | static struct platform_driver bcm590xx_regulator_driver = { |
454 | .driver = { | 454 | .driver = { |
455 | .name = "bcm590xx-vregs", | 455 | .name = "bcm590xx-vregs", |
456 | .owner = THIS_MODULE, | ||
457 | }, | 456 | }, |
458 | .probe = bcm590xx_probe, | 457 | .probe = bcm590xx_probe, |
459 | }; | 458 | }; |
diff --git a/drivers/regulator/da903x.c b/drivers/regulator/da903x.c index b431ae357fcd..affa1b191314 100644 --- a/drivers/regulator/da903x.c +++ b/drivers/regulator/da903x.c | |||
@@ -475,7 +475,6 @@ static int da903x_regulator_probe(struct platform_device *pdev) | |||
475 | static struct platform_driver da903x_regulator_driver = { | 475 | static struct platform_driver da903x_regulator_driver = { |
476 | .driver = { | 476 | .driver = { |
477 | .name = "da903x-regulator", | 477 | .name = "da903x-regulator", |
478 | .owner = THIS_MODULE, | ||
479 | }, | 478 | }, |
480 | .probe = da903x_regulator_probe, | 479 | .probe = da903x_regulator_probe, |
481 | }; | 480 | }; |
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index 00033625a09c..8f42ae741774 100644 --- a/drivers/regulator/da9052-regulator.c +++ b/drivers/regulator/da9052-regulator.c | |||
@@ -463,7 +463,6 @@ static struct platform_driver da9052_regulator_driver = { | |||
463 | .probe = da9052_regulator_probe, | 463 | .probe = da9052_regulator_probe, |
464 | .driver = { | 464 | .driver = { |
465 | .name = "da9052-regulator", | 465 | .name = "da9052-regulator", |
466 | .owner = THIS_MODULE, | ||
467 | }, | 466 | }, |
468 | }; | 467 | }; |
469 | 468 | ||
diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index 9516317e1a9f..cafdafbffcaf 100644 --- a/drivers/regulator/da9055-regulator.c +++ b/drivers/regulator/da9055-regulator.c | |||
@@ -665,7 +665,6 @@ static struct platform_driver da9055_regulator_driver = { | |||
665 | .probe = da9055_regulator_probe, | 665 | .probe = da9055_regulator_probe, |
666 | .driver = { | 666 | .driver = { |
667 | .name = "da9055-regulator", | 667 | .name = "da9055-regulator", |
668 | .owner = THIS_MODULE, | ||
669 | }, | 668 | }, |
670 | }; | 669 | }; |
671 | 670 | ||
diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regulator.c index 7c9461d13313..82e6cd39942d 100644 --- a/drivers/regulator/da9063-regulator.c +++ b/drivers/regulator/da9063-regulator.c | |||
@@ -896,7 +896,6 @@ static int da9063_regulator_remove(struct platform_device *pdev) | |||
896 | static struct platform_driver da9063_regulator_driver = { | 896 | static struct platform_driver da9063_regulator_driver = { |
897 | .driver = { | 897 | .driver = { |
898 | .name = DA9063_DRVNAME_REGULATORS, | 898 | .name = DA9063_DRVNAME_REGULATORS, |
899 | .owner = THIS_MODULE, | ||
900 | }, | 899 | }, |
901 | .probe = da9063_regulator_probe, | 900 | .probe = da9063_regulator_probe, |
902 | .remove = da9063_regulator_remove, | 901 | .remove = da9063_regulator_remove, |
diff --git a/drivers/regulator/db8500-prcmu.c b/drivers/regulator/db8500-prcmu.c index 617c1adca816..7cec535cf0bc 100644 --- a/drivers/regulator/db8500-prcmu.c +++ b/drivers/regulator/db8500-prcmu.c | |||
@@ -534,7 +534,6 @@ static int db8500_regulator_remove(struct platform_device *pdev) | |||
534 | static struct platform_driver db8500_regulator_driver = { | 534 | static struct platform_driver db8500_regulator_driver = { |
535 | .driver = { | 535 | .driver = { |
536 | .name = "db8500-prcmu-regulators", | 536 | .name = "db8500-prcmu-regulators", |
537 | .owner = THIS_MODULE, | ||
538 | }, | 537 | }, |
539 | .probe = db8500_regulator_probe, | 538 | .probe = db8500_regulator_probe, |
540 | .remove = db8500_regulator_remove, | 539 | .remove = db8500_regulator_remove, |
diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c index 2436db9e2ca3..933b529ac27f 100644 --- a/drivers/regulator/dummy.c +++ b/drivers/regulator/dummy.c | |||
@@ -63,7 +63,6 @@ static struct platform_driver dummy_regulator_driver = { | |||
63 | .probe = dummy_regulator_probe, | 63 | .probe = dummy_regulator_probe, |
64 | .driver = { | 64 | .driver = { |
65 | .name = "reg-dummy", | 65 | .name = "reg-dummy", |
66 | .owner = THIS_MODULE, | ||
67 | }, | 66 | }, |
68 | }; | 67 | }; |
69 | 68 | ||
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 354105eff1f8..47e9043a3a4f 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c | |||
@@ -207,7 +207,6 @@ static struct platform_driver regulator_fixed_voltage_driver = { | |||
207 | .probe = reg_fixed_voltage_probe, | 207 | .probe = reg_fixed_voltage_probe, |
208 | .driver = { | 208 | .driver = { |
209 | .name = "reg-fixed-voltage", | 209 | .name = "reg-fixed-voltage", |
210 | .owner = THIS_MODULE, | ||
211 | .of_match_table = of_match_ptr(fixed_of_match), | 210 | .of_match_table = of_match_ptr(fixed_of_match), |
212 | }, | 211 | }, |
213 | }; | 212 | }; |
diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index 989b23b377c0..17fa02554c3d 100644 --- a/drivers/regulator/gpio-regulator.c +++ b/drivers/regulator/gpio-regulator.c | |||
@@ -388,7 +388,6 @@ static struct platform_driver gpio_regulator_driver = { | |||
388 | .remove = gpio_regulator_remove, | 388 | .remove = gpio_regulator_remove, |
389 | .driver = { | 389 | .driver = { |
390 | .name = "gpio-regulator", | 390 | .name = "gpio-regulator", |
391 | .owner = THIS_MODULE, | ||
392 | .of_match_table = of_match_ptr(regulator_gpio_of_match), | 391 | .of_match_table = of_match_ptr(regulator_gpio_of_match), |
393 | }, | 392 | }, |
394 | }; | 393 | }; |
diff --git a/drivers/regulator/hi6421-regulator.c b/drivers/regulator/hi6421-regulator.c index 156d0d1a55f1..42dc5fb8c899 100644 --- a/drivers/regulator/hi6421-regulator.c +++ b/drivers/regulator/hi6421-regulator.c | |||
@@ -623,7 +623,6 @@ static int hi6421_regulator_probe(struct platform_device *pdev) | |||
623 | static struct platform_driver hi6421_regulator_driver = { | 623 | static struct platform_driver hi6421_regulator_driver = { |
624 | .driver = { | 624 | .driver = { |
625 | .name = "hi6421-regulator", | 625 | .name = "hi6421-regulator", |
626 | .owner = THIS_MODULE, | ||
627 | }, | 626 | }, |
628 | .probe = hi6421_regulator_probe, | 627 | .probe = hi6421_regulator_probe, |
629 | }; | 628 | }; |
diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c index 948afc249e29..a97bed90d39b 100644 --- a/drivers/regulator/lp8788-buck.c +++ b/drivers/regulator/lp8788-buck.c | |||
@@ -533,7 +533,6 @@ static struct platform_driver lp8788_buck_driver = { | |||
533 | .probe = lp8788_buck_probe, | 533 | .probe = lp8788_buck_probe, |
534 | .driver = { | 534 | .driver = { |
535 | .name = LP8788_DEV_BUCK, | 535 | .name = LP8788_DEV_BUCK, |
536 | .owner = THIS_MODULE, | ||
537 | }, | 536 | }, |
538 | }; | 537 | }; |
539 | 538 | ||
diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c index b9a29a29933f..9f22d079c8cc 100644 --- a/drivers/regulator/lp8788-ldo.c +++ b/drivers/regulator/lp8788-ldo.c | |||
@@ -561,7 +561,6 @@ static struct platform_driver lp8788_dldo_driver = { | |||
561 | .probe = lp8788_dldo_probe, | 561 | .probe = lp8788_dldo_probe, |
562 | .driver = { | 562 | .driver = { |
563 | .name = LP8788_DEV_DLDO, | 563 | .name = LP8788_DEV_DLDO, |
564 | .owner = THIS_MODULE, | ||
565 | }, | 564 | }, |
566 | }; | 565 | }; |
567 | 566 | ||
@@ -611,7 +610,6 @@ static struct platform_driver lp8788_aldo_driver = { | |||
611 | .probe = lp8788_aldo_probe, | 610 | .probe = lp8788_aldo_probe, |
612 | .driver = { | 611 | .driver = { |
613 | .name = LP8788_DEV_ALDO, | 612 | .name = LP8788_DEV_ALDO, |
614 | .owner = THIS_MODULE, | ||
615 | }, | 613 | }, |
616 | }; | 614 | }; |
617 | 615 | ||
diff --git a/drivers/regulator/max14577.c b/drivers/regulator/max14577.c index 0ff5a20ac958..bf9a44c5fdd2 100644 --- a/drivers/regulator/max14577.c +++ b/drivers/regulator/max14577.c | |||
@@ -371,7 +371,6 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id); | |||
371 | 371 | ||
372 | static struct platform_driver max14577_regulator_driver = { | 372 | static struct platform_driver max14577_regulator_driver = { |
373 | .driver = { | 373 | .driver = { |
374 | .owner = THIS_MODULE, | ||
375 | .name = "max14577-regulator", | 374 | .name = "max14577-regulator", |
376 | }, | 375 | }, |
377 | .probe = max14577_regulator_probe, | 376 | .probe = max14577_regulator_probe, |
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c index ef1af2debbd2..a95689631bf8 100644 --- a/drivers/regulator/max77686.c +++ b/drivers/regulator/max77686.c | |||
@@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id); | |||
500 | static struct platform_driver max77686_pmic_driver = { | 500 | static struct platform_driver max77686_pmic_driver = { |
501 | .driver = { | 501 | .driver = { |
502 | .name = "max77686-pmic", | 502 | .name = "max77686-pmic", |
503 | .owner = THIS_MODULE, | ||
504 | }, | 503 | }, |
505 | .probe = max77686_pmic_probe, | 504 | .probe = max77686_pmic_probe, |
506 | .id_table = max77686_pmic_id, | 505 | .id_table = max77686_pmic_id, |
diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c index c67ff05fc1dd..b0024e90e533 100644 --- a/drivers/regulator/max77693.c +++ b/drivers/regulator/max77693.c | |||
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id); | |||
267 | static struct platform_driver max77693_pmic_driver = { | 267 | static struct platform_driver max77693_pmic_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "max77693-pmic", | 269 | .name = "max77693-pmic", |
270 | .owner = THIS_MODULE, | ||
271 | }, | 270 | }, |
272 | .probe = max77693_pmic_probe, | 271 | .probe = max77693_pmic_probe, |
273 | .id_table = max77693_pmic_id, | 272 | .id_table = max77693_pmic_id, |
diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c index d89792b084e9..e873da75f351 100644 --- a/drivers/regulator/max77802.c +++ b/drivers/regulator/max77802.c | |||
@@ -573,7 +573,6 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id); | |||
573 | static struct platform_driver max77802_pmic_driver = { | 573 | static struct platform_driver max77802_pmic_driver = { |
574 | .driver = { | 574 | .driver = { |
575 | .name = "max77802-pmic", | 575 | .name = "max77802-pmic", |
576 | .owner = THIS_MODULE, | ||
577 | }, | 576 | }, |
578 | .probe = max77802_pmic_probe, | 577 | .probe = max77802_pmic_probe, |
579 | .id_table = max77802_pmic_id, | 578 | .id_table = max77802_pmic_id, |
diff --git a/drivers/regulator/max8907-regulator.c b/drivers/regulator/max8907-regulator.c index 3426be89c9f6..5e941db5ccaf 100644 --- a/drivers/regulator/max8907-regulator.c +++ b/drivers/regulator/max8907-regulator.c | |||
@@ -366,7 +366,6 @@ static int max8907_regulator_probe(struct platform_device *pdev) | |||
366 | static struct platform_driver max8907_regulator_driver = { | 366 | static struct platform_driver max8907_regulator_driver = { |
367 | .driver = { | 367 | .driver = { |
368 | .name = "max8907-regulator", | 368 | .name = "max8907-regulator", |
369 | .owner = THIS_MODULE, | ||
370 | }, | 369 | }, |
371 | .probe = max8907_regulator_probe, | 370 | .probe = max8907_regulator_probe, |
372 | }; | 371 | }; |
diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c index 7770777befc4..c802f0239dc7 100644 --- a/drivers/regulator/max8925-regulator.c +++ b/drivers/regulator/max8925-regulator.c | |||
@@ -324,7 +324,6 @@ static int max8925_regulator_probe(struct platform_device *pdev) | |||
324 | static struct platform_driver max8925_regulator_driver = { | 324 | static struct platform_driver max8925_regulator_driver = { |
325 | .driver = { | 325 | .driver = { |
326 | .name = "max8925-regulator", | 326 | .name = "max8925-regulator", |
327 | .owner = THIS_MODULE, | ||
328 | }, | 327 | }, |
329 | .probe = max8925_regulator_probe, | 328 | .probe = max8925_regulator_probe, |
330 | }; | 329 | }; |
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index 9c31e215a521..0767ae4f1280 100644 --- a/drivers/regulator/max8997.c +++ b/drivers/regulator/max8997.c | |||
@@ -1218,7 +1218,6 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id); | |||
1218 | static struct platform_driver max8997_pmic_driver = { | 1218 | static struct platform_driver max8997_pmic_driver = { |
1219 | .driver = { | 1219 | .driver = { |
1220 | .name = "max8997-pmic", | 1220 | .name = "max8997-pmic", |
1221 | .owner = THIS_MODULE, | ||
1222 | }, | 1221 | }, |
1223 | .probe = max8997_pmic_probe, | 1222 | .probe = max8997_pmic_probe, |
1224 | .id_table = max8997_pmic_id, | 1223 | .id_table = max8997_pmic_id, |
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index 961091b46557..9978d616125f 100644 --- a/drivers/regulator/max8998.c +++ b/drivers/regulator/max8998.c | |||
@@ -894,7 +894,6 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id); | |||
894 | static struct platform_driver max8998_pmic_driver = { | 894 | static struct platform_driver max8998_pmic_driver = { |
895 | .driver = { | 895 | .driver = { |
896 | .name = "max8998-pmic", | 896 | .name = "max8998-pmic", |
897 | .owner = THIS_MODULE, | ||
898 | }, | 897 | }, |
899 | .probe = max8998_pmic_probe, | 898 | .probe = max8998_pmic_probe, |
900 | .id_table = max8998_pmic_id, | 899 | .id_table = max8998_pmic_id, |
diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c index 7f4a67edf780..fe4c7d677f9c 100644 --- a/drivers/regulator/mc13783-regulator.c +++ b/drivers/regulator/mc13783-regulator.c | |||
@@ -459,7 +459,6 @@ static int mc13783_regulator_probe(struct platform_device *pdev) | |||
459 | static struct platform_driver mc13783_regulator_driver = { | 459 | static struct platform_driver mc13783_regulator_driver = { |
460 | .driver = { | 460 | .driver = { |
461 | .name = "mc13783-regulator", | 461 | .name = "mc13783-regulator", |
462 | .owner = THIS_MODULE, | ||
463 | }, | 462 | }, |
464 | .probe = mc13783_regulator_probe, | 463 | .probe = mc13783_regulator_probe, |
465 | }; | 464 | }; |
diff --git a/drivers/regulator/mc13892-regulator.c b/drivers/regulator/mc13892-regulator.c index 793b662a1967..0d17c9206816 100644 --- a/drivers/regulator/mc13892-regulator.c +++ b/drivers/regulator/mc13892-regulator.c | |||
@@ -633,7 +633,6 @@ err_unlock: | |||
633 | static struct platform_driver mc13892_regulator_driver = { | 633 | static struct platform_driver mc13892_regulator_driver = { |
634 | .driver = { | 634 | .driver = { |
635 | .name = "mc13892-regulator", | 635 | .name = "mc13892-regulator", |
636 | .owner = THIS_MODULE, | ||
637 | }, | 636 | }, |
638 | .probe = mc13892_regulator_probe, | 637 | .probe = mc13892_regulator_probe, |
639 | }; | 638 | }; |
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 1878e5b567ef..9205f433573c 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c | |||
@@ -1610,7 +1610,6 @@ static struct platform_driver palmas_driver = { | |||
1610 | .driver = { | 1610 | .driver = { |
1611 | .name = "palmas-pmic", | 1611 | .name = "palmas-pmic", |
1612 | .of_match_table = of_palmas_match_tbl, | 1612 | .of_match_table = of_palmas_match_tbl, |
1613 | .owner = THIS_MODULE, | ||
1614 | }, | 1613 | }, |
1615 | .probe = palmas_regulators_probe, | 1614 | .probe = palmas_regulators_probe, |
1616 | }; | 1615 | }; |
diff --git a/drivers/regulator/pbias-regulator.c b/drivers/regulator/pbias-regulator.c index 6d02d68dfb46..bd2b75c0d1d1 100644 --- a/drivers/regulator/pbias-regulator.c +++ b/drivers/regulator/pbias-regulator.c | |||
@@ -185,7 +185,6 @@ static struct platform_driver pbias_regulator_driver = { | |||
185 | .probe = pbias_regulator_probe, | 185 | .probe = pbias_regulator_probe, |
186 | .driver = { | 186 | .driver = { |
187 | .name = "pbias-regulator", | 187 | .name = "pbias-regulator", |
188 | .owner = THIS_MODULE, | ||
189 | .of_match_table = of_match_ptr(pbias_of_match), | 188 | .of_match_table = of_match_ptr(pbias_of_match), |
190 | }, | 189 | }, |
191 | }; | 190 | }; |
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c index 3727b7d0e9ac..9b16e6158f15 100644 --- a/drivers/regulator/pcap-regulator.c +++ b/drivers/regulator/pcap-regulator.c | |||
@@ -259,7 +259,6 @@ static int pcap_regulator_probe(struct platform_device *pdev) | |||
259 | static struct platform_driver pcap_regulator_driver = { | 259 | static struct platform_driver pcap_regulator_driver = { |
260 | .driver = { | 260 | .driver = { |
261 | .name = "pcap-regulator", | 261 | .name = "pcap-regulator", |
262 | .owner = THIS_MODULE, | ||
263 | }, | 262 | }, |
264 | .probe = pcap_regulator_probe, | 263 | .probe = pcap_regulator_probe, |
265 | }; | 264 | }; |
diff --git a/drivers/regulator/pwm-regulator.c b/drivers/regulator/pwm-regulator.c index d3f55eaea058..914b88ba370a 100644 --- a/drivers/regulator/pwm-regulator.c +++ b/drivers/regulator/pwm-regulator.c | |||
@@ -183,7 +183,6 @@ MODULE_DEVICE_TABLE(of, pwm_of_match); | |||
183 | static struct platform_driver pwm_regulator_driver = { | 183 | static struct platform_driver pwm_regulator_driver = { |
184 | .driver = { | 184 | .driver = { |
185 | .name = "pwm-regulator", | 185 | .name = "pwm-regulator", |
186 | .owner = THIS_MODULE, | ||
187 | .of_match_table = of_match_ptr(pwm_of_match), | 186 | .of_match_table = of_match_ptr(pwm_of_match), |
188 | }, | 187 | }, |
189 | .probe = pwm_regulator_probe, | 188 | .probe = pwm_regulator_probe, |
diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index b55cd5b50ebe..b8692546a7f3 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c | |||
@@ -777,7 +777,6 @@ static struct platform_driver rpm_reg_driver = { | |||
777 | .probe = rpm_reg_probe, | 777 | .probe = rpm_reg_probe, |
778 | .driver = { | 778 | .driver = { |
779 | .name = "qcom_rpm_reg", | 779 | .name = "qcom_rpm_reg", |
780 | .owner = THIS_MODULE, | ||
781 | .of_match_table = of_match_ptr(rpm_of_match), | 780 | .of_match_table = of_match_ptr(rpm_of_match), |
782 | }, | 781 | }, |
783 | }; | 782 | }; |
diff --git a/drivers/regulator/rc5t583-regulator.c b/drivers/regulator/rc5t583-regulator.c index 4c414ae109ae..d2e67c512195 100644 --- a/drivers/regulator/rc5t583-regulator.c +++ b/drivers/regulator/rc5t583-regulator.c | |||
@@ -179,7 +179,6 @@ skip_ext_pwr_config: | |||
179 | static struct platform_driver rc5t583_regulator_driver = { | 179 | static struct platform_driver rc5t583_regulator_driver = { |
180 | .driver = { | 180 | .driver = { |
181 | .name = "rc5t583-regulator", | 181 | .name = "rc5t583-regulator", |
182 | .owner = THIS_MODULE, | ||
183 | }, | 182 | }, |
184 | .probe = rc5t583_regulator_probe, | 183 | .probe = rc5t583_regulator_probe, |
185 | }; | 184 | }; |
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index 196a5c8838c4..93279581b62c 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c | |||
@@ -368,7 +368,6 @@ static struct platform_driver rk808_regulator_driver = { | |||
368 | .probe = rk808_regulator_probe, | 368 | .probe = rk808_regulator_probe, |
369 | .driver = { | 369 | .driver = { |
370 | .name = "rk808-regulator", | 370 | .name = "rk808-regulator", |
371 | .owner = THIS_MODULE, | ||
372 | }, | 371 | }, |
373 | }; | 372 | }; |
374 | 373 | ||
diff --git a/drivers/regulator/s2mpa01.c b/drivers/regulator/s2mpa01.c index 4acefa6b462e..5f4b7d3380d6 100644 --- a/drivers/regulator/s2mpa01.c +++ b/drivers/regulator/s2mpa01.c | |||
@@ -405,7 +405,6 @@ MODULE_DEVICE_TABLE(platform, s2mpa01_pmic_id); | |||
405 | static struct platform_driver s2mpa01_pmic_driver = { | 405 | static struct platform_driver s2mpa01_pmic_driver = { |
406 | .driver = { | 406 | .driver = { |
407 | .name = "s2mpa01-pmic", | 407 | .name = "s2mpa01-pmic", |
408 | .owner = THIS_MODULE, | ||
409 | }, | 408 | }, |
410 | .probe = s2mpa01_pmic_probe, | 409 | .probe = s2mpa01_pmic_probe, |
411 | .id_table = s2mpa01_pmic_id, | 410 | .id_table = s2mpa01_pmic_id, |
diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index adab82d5279f..5248d36927ff 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c | |||
@@ -936,7 +936,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id); | |||
936 | static struct platform_driver s2mps11_pmic_driver = { | 936 | static struct platform_driver s2mps11_pmic_driver = { |
937 | .driver = { | 937 | .driver = { |
938 | .name = "s2mps11-pmic", | 938 | .name = "s2mps11-pmic", |
939 | .owner = THIS_MODULE, | ||
940 | }, | 939 | }, |
941 | .probe = s2mps11_pmic_probe, | 940 | .probe = s2mps11_pmic_probe, |
942 | .id_table = s2mps11_pmic_id, | 941 | .id_table = s2mps11_pmic_id, |
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index 0ab5cbeeb797..684bd9ff9e02 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c | |||
@@ -986,7 +986,6 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id); | |||
986 | static struct platform_driver s5m8767_pmic_driver = { | 986 | static struct platform_driver s5m8767_pmic_driver = { |
987 | .driver = { | 987 | .driver = { |
988 | .name = "s5m8767-pmic", | 988 | .name = "s5m8767-pmic", |
989 | .owner = THIS_MODULE, | ||
990 | }, | 989 | }, |
991 | .probe = s5m8767_pmic_probe, | 990 | .probe = s5m8767_pmic_probe, |
992 | .id_table = s5m8767_pmic_id, | 991 | .id_table = s5m8767_pmic_id, |
diff --git a/drivers/regulator/stw481x-vmmc.c b/drivers/regulator/stw481x-vmmc.c index a7e152696a02..0cc35b1ccdab 100644 --- a/drivers/regulator/stw481x-vmmc.c +++ b/drivers/regulator/stw481x-vmmc.c | |||
@@ -94,7 +94,6 @@ static const struct of_device_id stw481x_vmmc_match[] = { | |||
94 | static struct platform_driver stw481x_vmmc_regulator_driver = { | 94 | static struct platform_driver stw481x_vmmc_regulator_driver = { |
95 | .driver = { | 95 | .driver = { |
96 | .name = "stw481x-vmmc-regulator", | 96 | .name = "stw481x-vmmc-regulator", |
97 | .owner = THIS_MODULE, | ||
98 | .of_match_table = stw481x_vmmc_match, | 97 | .of_match_table = stw481x_vmmc_match, |
99 | }, | 98 | }, |
100 | .probe = stw481x_vmmc_regulator_probe, | 99 | .probe = stw481x_vmmc_regulator_probe, |
diff --git a/drivers/regulator/ti-abb-regulator.c b/drivers/regulator/ti-abb-regulator.c index a2dabb575b97..340faf329fbb 100644 --- a/drivers/regulator/ti-abb-regulator.c +++ b/drivers/regulator/ti-abb-regulator.c | |||
@@ -891,7 +891,6 @@ static struct platform_driver ti_abb_driver = { | |||
891 | .probe = ti_abb_probe, | 891 | .probe = ti_abb_probe, |
892 | .driver = { | 892 | .driver = { |
893 | .name = "ti_abb", | 893 | .name = "ti_abb", |
894 | .owner = THIS_MODULE, | ||
895 | .of_match_table = of_match_ptr(ti_abb_of_match), | 894 | .of_match_table = of_match_ptr(ti_abb_of_match), |
896 | }, | 895 | }, |
897 | }; | 896 | }; |
diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c index c1e33a3d397b..3510b3e7330a 100644 --- a/drivers/regulator/tps6105x-regulator.c +++ b/drivers/regulator/tps6105x-regulator.c | |||
@@ -163,7 +163,6 @@ static int tps6105x_regulator_probe(struct platform_device *pdev) | |||
163 | static struct platform_driver tps6105x_regulator_driver = { | 163 | static struct platform_driver tps6105x_regulator_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .name = "tps6105x-regulator", | 165 | .name = "tps6105x-regulator", |
166 | .owner = THIS_MODULE, | ||
167 | }, | 166 | }, |
168 | .probe = tps6105x_regulator_probe, | 167 | .probe = tps6105x_regulator_probe, |
169 | }; | 168 | }; |
diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c index 98e66ce26723..dad0bac09ecf 100644 --- a/drivers/regulator/tps6507x-regulator.c +++ b/drivers/regulator/tps6507x-regulator.c | |||
@@ -519,7 +519,6 @@ static int tps6507x_pmic_probe(struct platform_device *pdev) | |||
519 | static struct platform_driver tps6507x_pmic_driver = { | 519 | static struct platform_driver tps6507x_pmic_driver = { |
520 | .driver = { | 520 | .driver = { |
521 | .name = "tps6507x-pmic", | 521 | .name = "tps6507x-pmic", |
522 | .owner = THIS_MODULE, | ||
523 | }, | 522 | }, |
524 | .probe = tps6507x_pmic_probe, | 523 | .probe = tps6507x_pmic_probe, |
525 | }; | 524 | }; |
diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index d5df1e9ad1da..5e1a67ade71f 100644 --- a/drivers/regulator/tps65090-regulator.c +++ b/drivers/regulator/tps65090-regulator.c | |||
@@ -507,7 +507,6 @@ static int tps65090_regulator_probe(struct platform_device *pdev) | |||
507 | static struct platform_driver tps65090_regulator_driver = { | 507 | static struct platform_driver tps65090_regulator_driver = { |
508 | .driver = { | 508 | .driver = { |
509 | .name = "tps65090-pmic", | 509 | .name = "tps65090-pmic", |
510 | .owner = THIS_MODULE, | ||
511 | }, | 510 | }, |
512 | .probe = tps65090_regulator_probe, | 511 | .probe = tps65090_regulator_probe, |
513 | }; | 512 | }; |
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c index f0a40281b9c1..e2b97ac6a9fa 100644 --- a/drivers/regulator/tps65218-regulator.c +++ b/drivers/regulator/tps65218-regulator.c | |||
@@ -255,7 +255,6 @@ static int tps65218_regulator_probe(struct platform_device *pdev) | |||
255 | static struct platform_driver tps65218_regulator_driver = { | 255 | static struct platform_driver tps65218_regulator_driver = { |
256 | .driver = { | 256 | .driver = { |
257 | .name = "tps65218-pmic", | 257 | .name = "tps65218-pmic", |
258 | .owner = THIS_MODULE, | ||
259 | .of_match_table = tps65218_of_match, | 258 | .of_match_table = tps65218_of_match, |
260 | }, | 259 | }, |
261 | .probe = tps65218_regulator_probe, | 260 | .probe = tps65218_regulator_probe, |
diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index ccbb9f150b4e..2852de05d64d 100644 --- a/drivers/regulator/tps6586x-regulator.c +++ b/drivers/regulator/tps6586x-regulator.c | |||
@@ -522,7 +522,6 @@ static int tps6586x_regulator_probe(struct platform_device *pdev) | |||
522 | static struct platform_driver tps6586x_regulator_driver = { | 522 | static struct platform_driver tps6586x_regulator_driver = { |
523 | .driver = { | 523 | .driver = { |
524 | .name = "tps6586x-regulator", | 524 | .name = "tps6586x-regulator", |
525 | .owner = THIS_MODULE, | ||
526 | }, | 525 | }, |
527 | .probe = tps6586x_regulator_probe, | 526 | .probe = tps6586x_regulator_probe, |
528 | }; | 527 | }; |
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c index 18fc991175bc..e2cffe01b807 100644 --- a/drivers/regulator/tps65910-regulator.c +++ b/drivers/regulator/tps65910-regulator.c | |||
@@ -1245,7 +1245,6 @@ static void tps65910_shutdown(struct platform_device *pdev) | |||
1245 | static struct platform_driver tps65910_driver = { | 1245 | static struct platform_driver tps65910_driver = { |
1246 | .driver = { | 1246 | .driver = { |
1247 | .name = "tps65910-pmic", | 1247 | .name = "tps65910-pmic", |
1248 | .owner = THIS_MODULE, | ||
1249 | }, | 1248 | }, |
1250 | .probe = tps65910_probe, | 1249 | .probe = tps65910_probe, |
1251 | .shutdown = tps65910_shutdown, | 1250 | .shutdown = tps65910_shutdown, |
diff --git a/drivers/regulator/tps65912-regulator.c b/drivers/regulator/tps65912-regulator.c index 9cafaa0f9455..9503d5481a52 100644 --- a/drivers/regulator/tps65912-regulator.c +++ b/drivers/regulator/tps65912-regulator.c | |||
@@ -519,7 +519,6 @@ static int tps65912_probe(struct platform_device *pdev) | |||
519 | static struct platform_driver tps65912_driver = { | 519 | static struct platform_driver tps65912_driver = { |
520 | .driver = { | 520 | .driver = { |
521 | .name = "tps65912-pmic", | 521 | .name = "tps65912-pmic", |
522 | .owner = THIS_MODULE, | ||
523 | }, | 522 | }, |
524 | .probe = tps65912_probe, | 523 | .probe = tps65912_probe, |
525 | }; | 524 | }; |
diff --git a/drivers/regulator/tps80031-regulator.c b/drivers/regulator/tps80031-regulator.c index 26aa6d9c308f..d4cc60ad18ae 100644 --- a/drivers/regulator/tps80031-regulator.c +++ b/drivers/regulator/tps80031-regulator.c | |||
@@ -746,7 +746,6 @@ static int tps80031_regulator_probe(struct platform_device *pdev) | |||
746 | static struct platform_driver tps80031_regulator_driver = { | 746 | static struct platform_driver tps80031_regulator_driver = { |
747 | .driver = { | 747 | .driver = { |
748 | .name = "tps80031-pmic", | 748 | .name = "tps80031-pmic", |
749 | .owner = THIS_MODULE, | ||
750 | }, | 749 | }, |
751 | .probe = tps80031_regulator_probe, | 750 | .probe = tps80031_regulator_probe, |
752 | }; | 751 | }; |
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c index 0b4f8660fdb4..00c49e7cb345 100644 --- a/drivers/regulator/twl-regulator.c +++ b/drivers/regulator/twl-regulator.c | |||
@@ -1220,7 +1220,6 @@ static struct platform_driver twlreg_driver = { | |||
1220 | */ | 1220 | */ |
1221 | .driver = { | 1221 | .driver = { |
1222 | .name = "twl_reg", | 1222 | .name = "twl_reg", |
1223 | .owner = THIS_MODULE, | ||
1224 | .of_match_table = of_match_ptr(twl_of_match), | 1223 | .of_match_table = of_match_ptr(twl_of_match), |
1225 | }, | 1224 | }, |
1226 | }; | 1225 | }; |
diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c index 02e7267ccf92..6ab78bdbe138 100644 --- a/drivers/regulator/vexpress.c +++ b/drivers/regulator/vexpress.c | |||
@@ -107,7 +107,6 @@ static struct platform_driver vexpress_regulator_driver = { | |||
107 | .probe = vexpress_regulator_probe, | 107 | .probe = vexpress_regulator_probe, |
108 | .driver = { | 108 | .driver = { |
109 | .name = DRVNAME, | 109 | .name = DRVNAME, |
110 | .owner = THIS_MODULE, | ||
111 | .of_match_table = vexpress_regulator_of_match, | 110 | .of_match_table = vexpress_regulator_of_match, |
112 | }, | 111 | }, |
113 | }; | 112 | }; |
diff --git a/drivers/regulator/virtual.c b/drivers/regulator/virtual.c index 6ff95b045984..a6f1c7a9914f 100644 --- a/drivers/regulator/virtual.c +++ b/drivers/regulator/virtual.c | |||
@@ -338,7 +338,6 @@ static struct platform_driver regulator_virtual_consumer_driver = { | |||
338 | .remove = regulator_virtual_remove, | 338 | .remove = regulator_virtual_remove, |
339 | .driver = { | 339 | .driver = { |
340 | .name = "reg-virt-consumer", | 340 | .name = "reg-virt-consumer", |
341 | .owner = THIS_MODULE, | ||
342 | }, | 341 | }, |
343 | }; | 342 | }; |
344 | 343 | ||
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c index 0d88a82ab2a2..0d7e164a5e76 100644 --- a/drivers/regulator/wm831x-dcdc.c +++ b/drivers/regulator/wm831x-dcdc.c | |||
@@ -562,7 +562,6 @@ static struct platform_driver wm831x_buckv_driver = { | |||
562 | .probe = wm831x_buckv_probe, | 562 | .probe = wm831x_buckv_probe, |
563 | .driver = { | 563 | .driver = { |
564 | .name = "wm831x-buckv", | 564 | .name = "wm831x-buckv", |
565 | .owner = THIS_MODULE, | ||
566 | }, | 565 | }, |
567 | }; | 566 | }; |
568 | 567 | ||
@@ -689,7 +688,6 @@ static struct platform_driver wm831x_buckp_driver = { | |||
689 | .probe = wm831x_buckp_probe, | 688 | .probe = wm831x_buckp_probe, |
690 | .driver = { | 689 | .driver = { |
691 | .name = "wm831x-buckp", | 690 | .name = "wm831x-buckp", |
692 | .owner = THIS_MODULE, | ||
693 | }, | 691 | }, |
694 | }; | 692 | }; |
695 | 693 | ||
@@ -804,7 +802,6 @@ static struct platform_driver wm831x_boostp_driver = { | |||
804 | .probe = wm831x_boostp_probe, | 802 | .probe = wm831x_boostp_probe, |
805 | .driver = { | 803 | .driver = { |
806 | .name = "wm831x-boostp", | 804 | .name = "wm831x-boostp", |
807 | .owner = THIS_MODULE, | ||
808 | }, | 805 | }, |
809 | }; | 806 | }; |
810 | 807 | ||
@@ -880,7 +877,6 @@ static struct platform_driver wm831x_epe_driver = { | |||
880 | .probe = wm831x_epe_probe, | 877 | .probe = wm831x_epe_probe, |
881 | .driver = { | 878 | .driver = { |
882 | .name = "wm831x-epe", | 879 | .name = "wm831x-epe", |
883 | .owner = THIS_MODULE, | ||
884 | }, | 880 | }, |
885 | }; | 881 | }; |
886 | 882 | ||
diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c index 72e385e76a9d..1e88391a1628 100644 --- a/drivers/regulator/wm831x-isink.c +++ b/drivers/regulator/wm831x-isink.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver wm831x_isink_driver = { | |||
224 | .probe = wm831x_isink_probe, | 224 | .probe = wm831x_isink_probe, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "wm831x-isink", | 226 | .name = "wm831x-isink", |
227 | .owner = THIS_MODULE, | ||
228 | }, | 227 | }, |
229 | }; | 228 | }; |
230 | 229 | ||
diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c index eca0eeb78acd..7ae2dc82f636 100644 --- a/drivers/regulator/wm831x-ldo.c +++ b/drivers/regulator/wm831x-ldo.c | |||
@@ -307,7 +307,6 @@ static struct platform_driver wm831x_gp_ldo_driver = { | |||
307 | .probe = wm831x_gp_ldo_probe, | 307 | .probe = wm831x_gp_ldo_probe, |
308 | .driver = { | 308 | .driver = { |
309 | .name = "wm831x-ldo", | 309 | .name = "wm831x-ldo", |
310 | .owner = THIS_MODULE, | ||
311 | }, | 310 | }, |
312 | }; | 311 | }; |
313 | 312 | ||
@@ -516,7 +515,6 @@ static struct platform_driver wm831x_aldo_driver = { | |||
516 | .probe = wm831x_aldo_probe, | 515 | .probe = wm831x_aldo_probe, |
517 | .driver = { | 516 | .driver = { |
518 | .name = "wm831x-aldo", | 517 | .name = "wm831x-aldo", |
519 | .owner = THIS_MODULE, | ||
520 | }, | 518 | }, |
521 | }; | 519 | }; |
522 | 520 | ||
@@ -650,7 +648,6 @@ static struct platform_driver wm831x_alive_ldo_driver = { | |||
650 | .probe = wm831x_alive_ldo_probe, | 648 | .probe = wm831x_alive_ldo_probe, |
651 | .driver = { | 649 | .driver = { |
652 | .name = "wm831x-alive-ldo", | 650 | .name = "wm831x-alive-ldo", |
653 | .owner = THIS_MODULE, | ||
654 | }, | 651 | }, |
655 | }; | 652 | }; |
656 | 653 | ||
diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c index c24346db8a71..fdfd37aefaf6 100644 --- a/drivers/regulator/wm8994-regulator.c +++ b/drivers/regulator/wm8994-regulator.c | |||
@@ -185,7 +185,6 @@ static struct platform_driver wm8994_ldo_driver = { | |||
185 | .probe = wm8994_ldo_probe, | 185 | .probe = wm8994_ldo_probe, |
186 | .driver = { | 186 | .driver = { |
187 | .name = "wm8994-ldo", | 187 | .name = "wm8994-ldo", |
188 | .owner = THIS_MODULE, | ||
189 | }, | 188 | }, |
190 | }; | 189 | }; |
191 | 190 | ||
diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index 3841b9813109..89fd057e5f1d 100644 --- a/drivers/remoteproc/da8xx_remoteproc.c +++ b/drivers/remoteproc/da8xx_remoteproc.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver da8xx_rproc_driver = { | |||
300 | .remove = da8xx_rproc_remove, | 300 | .remove = da8xx_rproc_remove, |
301 | .driver = { | 301 | .driver = { |
302 | .name = "davinci-rproc", | 302 | .name = "davinci-rproc", |
303 | .owner = THIS_MODULE, | ||
304 | }, | 303 | }, |
305 | }; | 304 | }; |
306 | 305 | ||
diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index 51689721ea7a..a0128cd13ef8 100644 --- a/drivers/remoteproc/omap_remoteproc.c +++ b/drivers/remoteproc/omap_remoteproc.c | |||
@@ -228,7 +228,6 @@ static struct platform_driver omap_rproc_driver = { | |||
228 | .remove = omap_rproc_remove, | 228 | .remove = omap_rproc_remove, |
229 | .driver = { | 229 | .driver = { |
230 | .name = "omap-rproc", | 230 | .name = "omap-rproc", |
231 | .owner = THIS_MODULE, | ||
232 | }, | 231 | }, |
233 | }; | 232 | }; |
234 | 233 | ||
diff --git a/drivers/remoteproc/ste_modem_rproc.c b/drivers/remoteproc/ste_modem_rproc.c index c4ac9104dd8e..16b7b7bd805b 100644 --- a/drivers/remoteproc/ste_modem_rproc.c +++ b/drivers/remoteproc/ste_modem_rproc.c | |||
@@ -331,7 +331,6 @@ free_rproc: | |||
331 | static struct platform_driver sproc_driver = { | 331 | static struct platform_driver sproc_driver = { |
332 | .driver = { | 332 | .driver = { |
333 | .name = SPROC_MODEM_NAME, | 333 | .name = SPROC_MODEM_NAME, |
334 | .owner = THIS_MODULE, | ||
335 | }, | 334 | }, |
336 | .probe = sproc_probe, | 335 | .probe = sproc_probe, |
337 | .remove = sproc_drv_remove, | 336 | .remove = sproc_drv_remove, |
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c index 79c32ca84ef1..9181bea64d7a 100644 --- a/drivers/reset/reset-socfpga.c +++ b/drivers/reset/reset-socfpga.c | |||
@@ -135,7 +135,6 @@ static struct platform_driver socfpga_reset_driver = { | |||
135 | .remove = socfpga_reset_remove, | 135 | .remove = socfpga_reset_remove, |
136 | .driver = { | 136 | .driver = { |
137 | .name = "socfpga-reset", | 137 | .name = "socfpga-reset", |
138 | .owner = THIS_MODULE, | ||
139 | .of_match_table = socfpga_reset_dt_ids, | 138 | .of_match_table = socfpga_reset_dt_ids, |
140 | }, | 139 | }, |
141 | }; | 140 | }; |
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index a94e7a7820b4..eebc52cb6984 100644 --- a/drivers/reset/reset-sunxi.c +++ b/drivers/reset/reset-sunxi.c | |||
@@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = { | |||
179 | .remove = sunxi_reset_remove, | 179 | .remove = sunxi_reset_remove, |
180 | .driver = { | 180 | .driver = { |
181 | .name = "sunxi-reset", | 181 | .name = "sunxi-reset", |
182 | .owner = THIS_MODULE, | ||
183 | .of_match_table = sunxi_reset_dt_ids, | 182 | .of_match_table = sunxi_reset_dt_ids, |
184 | }, | 183 | }, |
185 | }; | 184 | }; |
diff --git a/drivers/reset/sti/reset-stih415.c b/drivers/reset/sti/reset-stih415.c index c93fd260447e..8dad603d863c 100644 --- a/drivers/reset/sti/reset-stih415.c +++ b/drivers/reset/sti/reset-stih415.c | |||
@@ -101,7 +101,6 @@ static struct platform_driver stih415_reset_driver = { | |||
101 | .probe = syscfg_reset_probe, | 101 | .probe = syscfg_reset_probe, |
102 | .driver = { | 102 | .driver = { |
103 | .name = "reset-stih415", | 103 | .name = "reset-stih415", |
104 | .owner = THIS_MODULE, | ||
105 | .of_match_table = stih415_reset_match, | 104 | .of_match_table = stih415_reset_match, |
106 | }, | 105 | }, |
107 | }; | 106 | }; |
diff --git a/drivers/reset/sti/reset-stih416.c b/drivers/reset/sti/reset-stih416.c index 5fc987076a90..79aed70a26c0 100644 --- a/drivers/reset/sti/reset-stih416.c +++ b/drivers/reset/sti/reset-stih416.c | |||
@@ -132,7 +132,6 @@ static struct platform_driver stih416_reset_driver = { | |||
132 | .probe = syscfg_reset_probe, | 132 | .probe = syscfg_reset_probe, |
133 | .driver = { | 133 | .driver = { |
134 | .name = "reset-stih416", | 134 | .name = "reset-stih416", |
135 | .owner = THIS_MODULE, | ||
136 | .of_match_table = stih416_reset_match, | 135 | .of_match_table = stih416_reset_match, |
137 | }, | 136 | }, |
138 | }; | 137 | }; |
diff --git a/drivers/rtc/rtc-88pm80x.c b/drivers/rtc/rtc-88pm80x.c index 0916089c7c3e..7df0579d9852 100644 --- a/drivers/rtc/rtc-88pm80x.c +++ b/drivers/rtc/rtc-88pm80x.c | |||
@@ -352,7 +352,6 @@ static int pm80x_rtc_remove(struct platform_device *pdev) | |||
352 | static struct platform_driver pm80x_rtc_driver = { | 352 | static struct platform_driver pm80x_rtc_driver = { |
353 | .driver = { | 353 | .driver = { |
354 | .name = "88pm80x-rtc", | 354 | .name = "88pm80x-rtc", |
355 | .owner = THIS_MODULE, | ||
356 | .pm = &pm80x_rtc_pm_ops, | 355 | .pm = &pm80x_rtc_pm_ops, |
357 | }, | 356 | }, |
358 | .probe = pm80x_rtc_probe, | 357 | .probe = pm80x_rtc_probe, |
diff --git a/drivers/rtc/rtc-88pm860x.c b/drivers/rtc/rtc-88pm860x.c index 0c6add1a38dc..19e53b3b8e00 100644 --- a/drivers/rtc/rtc-88pm860x.c +++ b/drivers/rtc/rtc-88pm860x.c | |||
@@ -448,7 +448,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_rtc_pm_ops, pm860x_rtc_suspend, pm860x_rtc_resum | |||
448 | static struct platform_driver pm860x_rtc_driver = { | 448 | static struct platform_driver pm860x_rtc_driver = { |
449 | .driver = { | 449 | .driver = { |
450 | .name = "88pm860x-rtc", | 450 | .name = "88pm860x-rtc", |
451 | .owner = THIS_MODULE, | ||
452 | .pm = &pm860x_rtc_pm_ops, | 451 | .pm = &pm860x_rtc_pm_ops, |
453 | }, | 452 | }, |
454 | .probe = pm860x_rtc_probe, | 453 | .probe = pm860x_rtc_probe, |
diff --git a/drivers/rtc/rtc-ab3100.c b/drivers/rtc/rtc-ab3100.c index ff435343ba9f..1d0340fdb820 100644 --- a/drivers/rtc/rtc-ab3100.c +++ b/drivers/rtc/rtc-ab3100.c | |||
@@ -243,7 +243,6 @@ static int __init ab3100_rtc_probe(struct platform_device *pdev) | |||
243 | static struct platform_driver ab3100_rtc_driver = { | 243 | static struct platform_driver ab3100_rtc_driver = { |
244 | .driver = { | 244 | .driver = { |
245 | .name = "ab3100-rtc", | 245 | .name = "ab3100-rtc", |
246 | .owner = THIS_MODULE, | ||
247 | }, | 246 | }, |
248 | }; | 247 | }; |
249 | 248 | ||
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index 727e2f5d14d9..43c09ad5112b 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c | |||
@@ -517,7 +517,6 @@ static int ab8500_rtc_remove(struct platform_device *pdev) | |||
517 | static struct platform_driver ab8500_rtc_driver = { | 517 | static struct platform_driver ab8500_rtc_driver = { |
518 | .driver = { | 518 | .driver = { |
519 | .name = "ab8500-rtc", | 519 | .name = "ab8500-rtc", |
520 | .owner = THIS_MODULE, | ||
521 | }, | 520 | }, |
522 | .probe = ab8500_rtc_probe, | 521 | .probe = ab8500_rtc_probe, |
523 | .remove = ab8500_rtc_remove, | 522 | .remove = ab8500_rtc_remove, |
diff --git a/drivers/rtc/rtc-at32ap700x.c b/drivers/rtc/rtc-at32ap700x.c index aee3387fb099..d618d6c7ef93 100644 --- a/drivers/rtc/rtc-at32ap700x.c +++ b/drivers/rtc/rtc-at32ap700x.c | |||
@@ -277,7 +277,6 @@ static struct platform_driver at32_rtc_driver = { | |||
277 | .remove = __exit_p(at32_rtc_remove), | 277 | .remove = __exit_p(at32_rtc_remove), |
278 | .driver = { | 278 | .driver = { |
279 | .name = "at32ap700x_rtc", | 279 | .name = "at32ap700x_rtc", |
280 | .owner = THIS_MODULE, | ||
281 | }, | 280 | }, |
282 | }; | 281 | }; |
283 | 282 | ||
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index 44fe83ee9bee..70a5d94cc766 100644 --- a/drivers/rtc/rtc-at91rm9200.c +++ b/drivers/rtc/rtc-at91rm9200.c | |||
@@ -491,7 +491,6 @@ static struct platform_driver at91_rtc_driver = { | |||
491 | .shutdown = at91_rtc_shutdown, | 491 | .shutdown = at91_rtc_shutdown, |
492 | .driver = { | 492 | .driver = { |
493 | .name = "at91_rtc", | 493 | .name = "at91_rtc", |
494 | .owner = THIS_MODULE, | ||
495 | .pm = &at91_rtc_pm_ops, | 494 | .pm = &at91_rtc_pm_ops, |
496 | .of_match_table = of_match_ptr(at91_rtc_dt_ids), | 495 | .of_match_table = of_match_ptr(at91_rtc_dt_ids), |
497 | }, | 496 | }, |
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 596374304532..dcf211b941a5 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c | |||
@@ -446,7 +446,6 @@ static struct platform_driver at91_rtc_driver = { | |||
446 | .shutdown = at91_rtc_shutdown, | 446 | .shutdown = at91_rtc_shutdown, |
447 | .driver = { | 447 | .driver = { |
448 | .name = "rtc-at91sam9", | 448 | .name = "rtc-at91sam9", |
449 | .owner = THIS_MODULE, | ||
450 | .pm = &at91_rtc_pm_ops, | 449 | .pm = &at91_rtc_pm_ops, |
451 | }, | 450 | }, |
452 | }; | 451 | }; |
diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c index fd25e2374d4e..84d6e026784d 100644 --- a/drivers/rtc/rtc-au1xxx.c +++ b/drivers/rtc/rtc-au1xxx.c | |||
@@ -117,7 +117,6 @@ out_err: | |||
117 | static struct platform_driver au1xrtc_driver = { | 117 | static struct platform_driver au1xrtc_driver = { |
118 | .driver = { | 118 | .driver = { |
119 | .name = "rtc-au1xxx", | 119 | .name = "rtc-au1xxx", |
120 | .owner = THIS_MODULE, | ||
121 | }, | 120 | }, |
122 | }; | 121 | }; |
123 | 122 | ||
diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index fe4bdb06a55a..3d44b11721ea 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c | |||
@@ -434,7 +434,6 @@ static SIMPLE_DEV_PM_OPS(bfin_rtc_pm_ops, bfin_rtc_suspend, bfin_rtc_resume); | |||
434 | static struct platform_driver bfin_rtc_driver = { | 434 | static struct platform_driver bfin_rtc_driver = { |
435 | .driver = { | 435 | .driver = { |
436 | .name = "rtc-bfin", | 436 | .name = "rtc-bfin", |
437 | .owner = THIS_MODULE, | ||
438 | .pm = &bfin_rtc_pm_ops, | 437 | .pm = &bfin_rtc_pm_ops, |
439 | }, | 438 | }, |
440 | .probe = bfin_rtc_probe, | 439 | .probe = bfin_rtc_probe, |
diff --git a/drivers/rtc/rtc-bq4802.c b/drivers/rtc/rtc-bq4802.c index fc0ff87aa5df..bd170cb3361c 100644 --- a/drivers/rtc/rtc-bq4802.c +++ b/drivers/rtc/rtc-bq4802.c | |||
@@ -192,7 +192,6 @@ MODULE_ALIAS("platform:rtc-bq4802"); | |||
192 | static struct platform_driver bq4802_driver = { | 192 | static struct platform_driver bq4802_driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .name = "rtc-bq4802", | 194 | .name = "rtc-bq4802", |
195 | .owner = THIS_MODULE, | ||
196 | }, | 195 | }, |
197 | .probe = bq4802_probe, | 196 | .probe = bq4802_probe, |
198 | }; | 197 | }; |
diff --git a/drivers/rtc/rtc-coh901331.c b/drivers/rtc/rtc-coh901331.c index 869cae273799..56343b2fbc68 100644 --- a/drivers/rtc/rtc-coh901331.c +++ b/drivers/rtc/rtc-coh901331.c | |||
@@ -267,7 +267,6 @@ static const struct of_device_id coh901331_dt_match[] = { | |||
267 | static struct platform_driver coh901331_driver = { | 267 | static struct platform_driver coh901331_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "rtc-coh901331", | 269 | .name = "rtc-coh901331", |
270 | .owner = THIS_MODULE, | ||
271 | .pm = &coh901331_pm_ops, | 270 | .pm = &coh901331_pm_ops, |
272 | .of_match_table = coh901331_dt_match, | 271 | .of_match_table = coh901331_dt_match, |
273 | }, | 272 | }, |
diff --git a/drivers/rtc/rtc-da9052.c b/drivers/rtc/rtc-da9052.c index e5c9486cf452..613c43b7e9ae 100644 --- a/drivers/rtc/rtc-da9052.c +++ b/drivers/rtc/rtc-da9052.c | |||
@@ -265,7 +265,6 @@ static struct platform_driver da9052_rtc_driver = { | |||
265 | .probe = da9052_rtc_probe, | 265 | .probe = da9052_rtc_probe, |
266 | .driver = { | 266 | .driver = { |
267 | .name = "da9052-rtc", | 267 | .name = "da9052-rtc", |
268 | .owner = THIS_MODULE, | ||
269 | }, | 268 | }, |
270 | }; | 269 | }; |
271 | 270 | ||
diff --git a/drivers/rtc/rtc-da9055.c b/drivers/rtc/rtc-da9055.c index a825491331c8..7ec0872d5e3b 100644 --- a/drivers/rtc/rtc-da9055.c +++ b/drivers/rtc/rtc-da9055.c | |||
@@ -391,7 +391,6 @@ static struct platform_driver da9055_rtc_driver = { | |||
391 | .probe = da9055_rtc_probe, | 391 | .probe = da9055_rtc_probe, |
392 | .driver = { | 392 | .driver = { |
393 | .name = "da9055-rtc", | 393 | .name = "da9055-rtc", |
394 | .owner = THIS_MODULE, | ||
395 | .pm = &da9055_rtc_pm_ops, | 394 | .pm = &da9055_rtc_pm_ops, |
396 | }, | 395 | }, |
397 | }; | 396 | }; |
diff --git a/drivers/rtc/rtc-da9063.c b/drivers/rtc/rtc-da9063.c index 731ed1a97f59..7ffc5707f8b9 100644 --- a/drivers/rtc/rtc-da9063.c +++ b/drivers/rtc/rtc-da9063.c | |||
@@ -341,7 +341,6 @@ static struct platform_driver da9063_rtc_driver = { | |||
341 | .probe = da9063_rtc_probe, | 341 | .probe = da9063_rtc_probe, |
342 | .driver = { | 342 | .driver = { |
343 | .name = DA9063_DRVNAME_RTC, | 343 | .name = DA9063_DRVNAME_RTC, |
344 | .owner = THIS_MODULE, | ||
345 | }, | 344 | }, |
346 | }; | 345 | }; |
347 | 346 | ||
diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c index c0a3b59f65a2..c84f46168a52 100644 --- a/drivers/rtc/rtc-davinci.c +++ b/drivers/rtc/rtc-davinci.c | |||
@@ -550,7 +550,6 @@ static struct platform_driver davinci_rtc_driver = { | |||
550 | .remove = __exit_p(davinci_rtc_remove), | 550 | .remove = __exit_p(davinci_rtc_remove), |
551 | .driver = { | 551 | .driver = { |
552 | .name = "rtc_davinci", | 552 | .name = "rtc_davinci", |
553 | .owner = THIS_MODULE, | ||
554 | }, | 553 | }, |
555 | }; | 554 | }; |
556 | 555 | ||
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c index 1aca08394c47..94067f8eeb10 100644 --- a/drivers/rtc/rtc-dm355evm.c +++ b/drivers/rtc/rtc-dm355evm.c | |||
@@ -146,7 +146,6 @@ static int dm355evm_rtc_probe(struct platform_device *pdev) | |||
146 | static struct platform_driver rtc_dm355evm_driver = { | 146 | static struct platform_driver rtc_dm355evm_driver = { |
147 | .probe = dm355evm_rtc_probe, | 147 | .probe = dm355evm_rtc_probe, |
148 | .driver = { | 148 | .driver = { |
149 | .owner = THIS_MODULE, | ||
150 | .name = "rtc-dm355evm", | 149 | .name = "rtc-dm355evm", |
151 | }, | 150 | }, |
152 | }; | 151 | }; |
diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index 9c04fd2bc209..d16f550897b8 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c | |||
@@ -170,7 +170,6 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev) | |||
170 | static struct platform_driver ds1216_rtc_platform_driver = { | 170 | static struct platform_driver ds1216_rtc_platform_driver = { |
171 | .driver = { | 171 | .driver = { |
172 | .name = "rtc-ds1216", | 172 | .name = "rtc-ds1216", |
173 | .owner = THIS_MODULE, | ||
174 | }, | 173 | }, |
175 | }; | 174 | }; |
176 | 175 | ||
diff --git a/drivers/rtc/rtc-ds1286.c b/drivers/rtc/rtc-ds1286.c index 50e109b78252..2fe537f4e2bd 100644 --- a/drivers/rtc/rtc-ds1286.c +++ b/drivers/rtc/rtc-ds1286.c | |||
@@ -356,7 +356,6 @@ static int ds1286_probe(struct platform_device *pdev) | |||
356 | static struct platform_driver ds1286_platform_driver = { | 356 | static struct platform_driver ds1286_platform_driver = { |
357 | .driver = { | 357 | .driver = { |
358 | .name = "rtc-ds1286", | 358 | .name = "rtc-ds1286", |
359 | .owner = THIS_MODULE, | ||
360 | }, | 359 | }, |
361 | .probe = ds1286_probe, | 360 | .probe = ds1286_probe, |
362 | }; | 361 | }; |
diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index 07e8d79b4a09..6bef7a5233c4 100644 --- a/drivers/rtc/rtc-ds1302.c +++ b/drivers/rtc/rtc-ds1302.c | |||
@@ -244,7 +244,6 @@ static int __init ds1302_rtc_probe(struct platform_device *pdev) | |||
244 | static struct platform_driver ds1302_platform_driver = { | 244 | static struct platform_driver ds1302_platform_driver = { |
245 | .driver = { | 245 | .driver = { |
246 | .name = DRV_NAME, | 246 | .name = DRV_NAME, |
247 | .owner = THIS_MODULE, | ||
248 | }, | 247 | }, |
249 | }; | 248 | }; |
250 | 249 | ||
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index b13d1399b81a..7415c2b4d6e8 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c | |||
@@ -561,7 +561,6 @@ static struct platform_driver ds1511_rtc_driver = { | |||
561 | .remove = ds1511_rtc_remove, | 561 | .remove = ds1511_rtc_remove, |
562 | .driver = { | 562 | .driver = { |
563 | .name = "ds1511", | 563 | .name = "ds1511", |
564 | .owner = THIS_MODULE, | ||
565 | }, | 564 | }, |
566 | }; | 565 | }; |
567 | 566 | ||
diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c index ab56893aac73..a24e091bcb41 100644 --- a/drivers/rtc/rtc-ds1553.c +++ b/drivers/rtc/rtc-ds1553.c | |||
@@ -351,7 +351,6 @@ static struct platform_driver ds1553_rtc_driver = { | |||
351 | .remove = ds1553_rtc_remove, | 351 | .remove = ds1553_rtc_remove, |
352 | .driver = { | 352 | .driver = { |
353 | .name = "rtc-ds1553", | 353 | .name = "rtc-ds1553", |
354 | .owner = THIS_MODULE, | ||
355 | }, | 354 | }, |
356 | }; | 355 | }; |
357 | 356 | ||
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index 9822715db8ba..0f8d8ace1515 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -230,7 +230,6 @@ static struct platform_driver ds1742_rtc_driver = { | |||
230 | .remove = ds1742_rtc_remove, | 230 | .remove = ds1742_rtc_remove, |
231 | .driver = { | 231 | .driver = { |
232 | .name = "rtc-ds1742", | 232 | .name = "rtc-ds1742", |
233 | .owner = THIS_MODULE, | ||
234 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), | 233 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), |
235 | }, | 234 | }, |
236 | }; | 235 | }; |
diff --git a/drivers/rtc/rtc-ds2404.c b/drivers/rtc/rtc-ds2404.c index fc209dc4e245..7885edd3d507 100644 --- a/drivers/rtc/rtc-ds2404.c +++ b/drivers/rtc/rtc-ds2404.c | |||
@@ -274,7 +274,6 @@ static struct platform_driver rtc_device_driver = { | |||
274 | .remove = rtc_remove, | 274 | .remove = rtc_remove, |
275 | .driver = { | 275 | .driver = { |
276 | .name = "ds2404", | 276 | .name = "ds2404", |
277 | .owner = THIS_MODULE, | ||
278 | }, | 277 | }, |
279 | }; | 278 | }; |
280 | module_platform_driver(rtc_device_driver); | 279 | module_platform_driver(rtc_device_driver); |
diff --git a/drivers/rtc/rtc-efi.c b/drivers/rtc/rtc-efi.c index 53b589dc34eb..b37b0c80bd5a 100644 --- a/drivers/rtc/rtc-efi.c +++ b/drivers/rtc/rtc-efi.c | |||
@@ -226,7 +226,6 @@ static int __init efi_rtc_probe(struct platform_device *dev) | |||
226 | static struct platform_driver efi_rtc_driver = { | 226 | static struct platform_driver efi_rtc_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "rtc-efi", | 228 | .name = "rtc-efi", |
229 | .owner = THIS_MODULE, | ||
230 | }, | 229 | }, |
231 | }; | 230 | }; |
232 | 231 | ||
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index 5e4f5dc40ba5..de325d68c7e4 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c | |||
@@ -174,7 +174,6 @@ static int ep93xx_rtc_remove(struct platform_device *pdev) | |||
174 | static struct platform_driver ep93xx_rtc_driver = { | 174 | static struct platform_driver ep93xx_rtc_driver = { |
175 | .driver = { | 175 | .driver = { |
176 | .name = "ep93xx-rtc", | 176 | .name = "ep93xx-rtc", |
177 | .owner = THIS_MODULE, | ||
178 | }, | 177 | }, |
179 | .probe = ep93xx_rtc_probe, | 178 | .probe = ep93xx_rtc_probe, |
180 | .remove = ep93xx_rtc_remove, | 179 | .remove = ep93xx_rtc_remove, |
diff --git a/drivers/rtc/rtc-generic.c b/drivers/rtc/rtc-generic.c index 9b6725ebbfb2..e782ebd719b2 100644 --- a/drivers/rtc/rtc-generic.c +++ b/drivers/rtc/rtc-generic.c | |||
@@ -51,7 +51,6 @@ static int __init generic_rtc_probe(struct platform_device *dev) | |||
51 | static struct platform_driver generic_rtc_driver = { | 51 | static struct platform_driver generic_rtc_driver = { |
52 | .driver = { | 52 | .driver = { |
53 | .name = "rtc-generic", | 53 | .name = "rtc-generic", |
54 | .owner = THIS_MODULE, | ||
55 | }, | 54 | }, |
56 | }; | 55 | }; |
57 | 56 | ||
diff --git a/drivers/rtc/rtc-hid-sensor-time.c b/drivers/rtc/rtc-hid-sensor-time.c index 965a9da70867..ae7c2ba440cf 100644 --- a/drivers/rtc/rtc-hid-sensor-time.c +++ b/drivers/rtc/rtc-hid-sensor-time.c | |||
@@ -331,7 +331,6 @@ static struct platform_driver hid_time_platform_driver = { | |||
331 | .id_table = hid_time_ids, | 331 | .id_table = hid_time_ids, |
332 | .driver = { | 332 | .driver = { |
333 | .name = KBUILD_MODNAME, | 333 | .name = KBUILD_MODNAME, |
334 | .owner = THIS_MODULE, | ||
335 | }, | 334 | }, |
336 | .probe = hid_time_probe, | 335 | .probe = hid_time_probe, |
337 | .remove = hid_time_remove, | 336 | .remove = hid_time_remove, |
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index cd741c77e085..42f5570f42f8 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c | |||
@@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, dryice_dt_ids); | |||
499 | static struct platform_driver dryice_rtc_driver = { | 499 | static struct platform_driver dryice_rtc_driver = { |
500 | .driver = { | 500 | .driver = { |
501 | .name = "imxdi_rtc", | 501 | .name = "imxdi_rtc", |
502 | .owner = THIS_MODULE, | ||
503 | .of_match_table = of_match_ptr(dryice_dt_ids), | 502 | .of_match_table = of_match_ptr(dryice_dt_ids), |
504 | }, | 503 | }, |
505 | .remove = __exit_p(dryice_rtc_remove), | 504 | .remove = __exit_p(dryice_rtc_remove), |
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 08f5160fb6d4..b2bcfc0bf2e5 100644 --- a/drivers/rtc/rtc-jz4740.c +++ b/drivers/rtc/rtc-jz4740.c | |||
@@ -299,7 +299,6 @@ static struct platform_driver jz4740_rtc_driver = { | |||
299 | .probe = jz4740_rtc_probe, | 299 | .probe = jz4740_rtc_probe, |
300 | .driver = { | 300 | .driver = { |
301 | .name = "jz4740-rtc", | 301 | .name = "jz4740-rtc", |
302 | .owner = THIS_MODULE, | ||
303 | .pm = JZ4740_RTC_PM_OPS, | 302 | .pm = JZ4740_RTC_PM_OPS, |
304 | }, | 303 | }, |
305 | }; | 304 | }; |
diff --git a/drivers/rtc/rtc-lp8788.c b/drivers/rtc/rtc-lp8788.c index 4ff6c73253b3..e20e7bd822e0 100644 --- a/drivers/rtc/rtc-lp8788.c +++ b/drivers/rtc/rtc-lp8788.c | |||
@@ -316,7 +316,6 @@ static struct platform_driver lp8788_rtc_driver = { | |||
316 | .probe = lp8788_rtc_probe, | 316 | .probe = lp8788_rtc_probe, |
317 | .driver = { | 317 | .driver = { |
318 | .name = LP8788_DEV_RTC, | 318 | .name = LP8788_DEV_RTC, |
319 | .owner = THIS_MODULE, | ||
320 | }, | 319 | }, |
321 | }; | 320 | }; |
322 | module_platform_driver(lp8788_rtc_driver); | 321 | module_platform_driver(lp8788_rtc_driver); |
diff --git a/drivers/rtc/rtc-lpc32xx.c b/drivers/rtc/rtc-lpc32xx.c index f130c08c98f8..f923f7324788 100644 --- a/drivers/rtc/rtc-lpc32xx.c +++ b/drivers/rtc/rtc-lpc32xx.c | |||
@@ -379,7 +379,6 @@ static struct platform_driver lpc32xx_rtc_driver = { | |||
379 | .remove = lpc32xx_rtc_remove, | 379 | .remove = lpc32xx_rtc_remove, |
380 | .driver = { | 380 | .driver = { |
381 | .name = RTC_NAME, | 381 | .name = RTC_NAME, |
382 | .owner = THIS_MODULE, | ||
383 | .pm = LPC32XX_RTC_PM_OPS, | 382 | .pm = LPC32XX_RTC_PM_OPS, |
384 | .of_match_table = of_match_ptr(lpc32xx_rtc_match), | 383 | .of_match_table = of_match_ptr(lpc32xx_rtc_match), |
385 | }, | 384 | }, |
diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c index 682ecb094839..8445e564094a 100644 --- a/drivers/rtc/rtc-ls1x.c +++ b/drivers/rtc/rtc-ls1x.c | |||
@@ -188,7 +188,6 @@ err: | |||
188 | static struct platform_driver ls1x_rtc_driver = { | 188 | static struct platform_driver ls1x_rtc_driver = { |
189 | .driver = { | 189 | .driver = { |
190 | .name = "ls1x-rtc", | 190 | .name = "ls1x-rtc", |
191 | .owner = THIS_MODULE, | ||
192 | }, | 191 | }, |
193 | .probe = ls1x_rtc_probe, | 192 | .probe = ls1x_rtc_probe, |
194 | }; | 193 | }; |
diff --git a/drivers/rtc/rtc-m48t35.c b/drivers/rtc/rtc-m48t35.c index 411adb3f86a1..c62b51217ecf 100644 --- a/drivers/rtc/rtc-m48t35.c +++ b/drivers/rtc/rtc-m48t35.c | |||
@@ -181,7 +181,6 @@ static int m48t35_probe(struct platform_device *pdev) | |||
181 | static struct platform_driver m48t35_platform_driver = { | 181 | static struct platform_driver m48t35_platform_driver = { |
182 | .driver = { | 182 | .driver = { |
183 | .name = "rtc-m48t35", | 183 | .name = "rtc-m48t35", |
184 | .owner = THIS_MODULE, | ||
185 | }, | 184 | }, |
186 | .probe = m48t35_probe, | 185 | .probe = m48t35_probe, |
187 | }; | 186 | }; |
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index 11880c1e9dac..90abb5bd589c 100644 --- a/drivers/rtc/rtc-m48t59.c +++ b/drivers/rtc/rtc-m48t59.c | |||
@@ -504,7 +504,6 @@ MODULE_ALIAS("platform:rtc-m48t59"); | |||
504 | static struct platform_driver m48t59_rtc_driver = { | 504 | static struct platform_driver m48t59_rtc_driver = { |
505 | .driver = { | 505 | .driver = { |
506 | .name = "rtc-m48t59", | 506 | .name = "rtc-m48t59", |
507 | .owner = THIS_MODULE, | ||
508 | }, | 507 | }, |
509 | .probe = m48t59_rtc_probe, | 508 | .probe = m48t59_rtc_probe, |
510 | .remove = m48t59_rtc_remove, | 509 | .remove = m48t59_rtc_remove, |
diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c index 32f64c942621..a17b7a3ceece 100644 --- a/drivers/rtc/rtc-m48t86.c +++ b/drivers/rtc/rtc-m48t86.c | |||
@@ -169,7 +169,6 @@ static int m48t86_rtc_probe(struct platform_device *dev) | |||
169 | static struct platform_driver m48t86_rtc_platform_driver = { | 169 | static struct platform_driver m48t86_rtc_platform_driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .name = "rtc-m48t86", | 171 | .name = "rtc-m48t86", |
172 | .owner = THIS_MODULE, | ||
173 | }, | 172 | }, |
174 | .probe = m48t86_rtc_probe, | 173 | .probe = m48t86_rtc_probe, |
175 | }; | 174 | }; |
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index cf73e969c8cc..9d71328e59b9 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c | |||
@@ -513,7 +513,6 @@ static const struct platform_device_id rtc_id[] = { | |||
513 | static struct platform_driver max77686_rtc_driver = { | 513 | static struct platform_driver max77686_rtc_driver = { |
514 | .driver = { | 514 | .driver = { |
515 | .name = "max77686-rtc", | 515 | .name = "max77686-rtc", |
516 | .owner = THIS_MODULE, | ||
517 | .pm = &max77686_rtc_pm_ops, | 516 | .pm = &max77686_rtc_pm_ops, |
518 | }, | 517 | }, |
519 | .probe = max77686_rtc_probe, | 518 | .probe = max77686_rtc_probe, |
diff --git a/drivers/rtc/rtc-max77802.c b/drivers/rtc/rtc-max77802.c index 566471335b33..7f8adf8d6feb 100644 --- a/drivers/rtc/rtc-max77802.c +++ b/drivers/rtc/rtc-max77802.c | |||
@@ -488,7 +488,6 @@ static const struct platform_device_id rtc_id[] = { | |||
488 | static struct platform_driver max77802_rtc_driver = { | 488 | static struct platform_driver max77802_rtc_driver = { |
489 | .driver = { | 489 | .driver = { |
490 | .name = "max77802-rtc", | 490 | .name = "max77802-rtc", |
491 | .owner = THIS_MODULE, | ||
492 | .pm = &max77802_rtc_pm_ops, | 491 | .pm = &max77802_rtc_pm_ops, |
493 | }, | 492 | }, |
494 | .probe = max77802_rtc_probe, | 493 | .probe = max77802_rtc_probe, |
diff --git a/drivers/rtc/rtc-max8907.c b/drivers/rtc/rtc-max8907.c index 3032178bd9e6..19c29b72598d 100644 --- a/drivers/rtc/rtc-max8907.c +++ b/drivers/rtc/rtc-max8907.c | |||
@@ -215,7 +215,6 @@ static int max8907_rtc_probe(struct platform_device *pdev) | |||
215 | static struct platform_driver max8907_rtc_driver = { | 215 | static struct platform_driver max8907_rtc_driver = { |
216 | .driver = { | 216 | .driver = { |
217 | .name = "max8907-rtc", | 217 | .name = "max8907-rtc", |
218 | .owner = THIS_MODULE, | ||
219 | }, | 218 | }, |
220 | .probe = max8907_rtc_probe, | 219 | .probe = max8907_rtc_probe, |
221 | }; | 220 | }; |
diff --git a/drivers/rtc/rtc-max8925.c b/drivers/rtc/rtc-max8925.c index 951d1a78e190..16d129a0bb3b 100644 --- a/drivers/rtc/rtc-max8925.c +++ b/drivers/rtc/rtc-max8925.c | |||
@@ -314,7 +314,6 @@ static SIMPLE_DEV_PM_OPS(max8925_rtc_pm_ops, max8925_rtc_suspend, max8925_rtc_re | |||
314 | static struct platform_driver max8925_rtc_driver = { | 314 | static struct platform_driver max8925_rtc_driver = { |
315 | .driver = { | 315 | .driver = { |
316 | .name = "max8925-rtc", | 316 | .name = "max8925-rtc", |
317 | .owner = THIS_MODULE, | ||
318 | .pm = &max8925_rtc_pm_ops, | 317 | .pm = &max8925_rtc_pm_ops, |
319 | }, | 318 | }, |
320 | .probe = max8925_rtc_probe, | 319 | .probe = max8925_rtc_probe, |
diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c index 0777c01b58e0..67fbe559d535 100644 --- a/drivers/rtc/rtc-max8997.c +++ b/drivers/rtc/rtc-max8997.c | |||
@@ -523,7 +523,6 @@ static const struct platform_device_id rtc_id[] = { | |||
523 | static struct platform_driver max8997_rtc_driver = { | 523 | static struct platform_driver max8997_rtc_driver = { |
524 | .driver = { | 524 | .driver = { |
525 | .name = "max8997-rtc", | 525 | .name = "max8997-rtc", |
526 | .owner = THIS_MODULE, | ||
527 | }, | 526 | }, |
528 | .probe = max8997_rtc_probe, | 527 | .probe = max8997_rtc_probe, |
529 | .shutdown = max8997_rtc_shutdown, | 528 | .shutdown = max8997_rtc_shutdown, |
diff --git a/drivers/rtc/rtc-max8998.c b/drivers/rtc/rtc-max8998.c index f098ad8382de..5726ef7bd56e 100644 --- a/drivers/rtc/rtc-max8998.c +++ b/drivers/rtc/rtc-max8998.c | |||
@@ -313,7 +313,6 @@ static const struct platform_device_id max8998_rtc_id[] = { | |||
313 | static struct platform_driver max8998_rtc_driver = { | 313 | static struct platform_driver max8998_rtc_driver = { |
314 | .driver = { | 314 | .driver = { |
315 | .name = "max8998-rtc", | 315 | .name = "max8998-rtc", |
316 | .owner = THIS_MODULE, | ||
317 | }, | 316 | }, |
318 | .probe = max8998_rtc_probe, | 317 | .probe = max8998_rtc_probe, |
319 | .id_table = max8998_rtc_id, | 318 | .id_table = max8998_rtc_id, |
diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 0765606a2d14..5bce904b7ee6 100644 --- a/drivers/rtc/rtc-mc13xxx.c +++ b/drivers/rtc/rtc-mc13xxx.c | |||
@@ -370,7 +370,6 @@ static struct platform_driver mc13xxx_rtc_driver = { | |||
370 | .remove = mc13xxx_rtc_remove, | 370 | .remove = mc13xxx_rtc_remove, |
371 | .driver = { | 371 | .driver = { |
372 | .name = DRIVER_NAME, | 372 | .name = DRIVER_NAME, |
373 | .owner = THIS_MODULE, | ||
374 | }, | 373 | }, |
375 | }; | 374 | }; |
376 | 375 | ||
diff --git a/drivers/rtc/rtc-moxart.c b/drivers/rtc/rtc-moxart.c index c31846238871..73759c9a4527 100644 --- a/drivers/rtc/rtc-moxart.c +++ b/drivers/rtc/rtc-moxart.c | |||
@@ -317,7 +317,6 @@ static struct platform_driver moxart_rtc_driver = { | |||
317 | .probe = moxart_rtc_probe, | 317 | .probe = moxart_rtc_probe, |
318 | .driver = { | 318 | .driver = { |
319 | .name = "moxart-rtc", | 319 | .name = "moxart-rtc", |
320 | .owner = THIS_MODULE, | ||
321 | .of_match_table = moxart_rtc_match, | 320 | .of_match_table = moxart_rtc_match, |
322 | }, | 321 | }, |
323 | }; | 322 | }; |
diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index 3b965ad6f4d5..1767e18d5bd4 100644 --- a/drivers/rtc/rtc-mpc5121.c +++ b/drivers/rtc/rtc-mpc5121.c | |||
@@ -411,7 +411,6 @@ static const struct of_device_id mpc5121_rtc_match[] = { | |||
411 | static struct platform_driver mpc5121_rtc_driver = { | 411 | static struct platform_driver mpc5121_rtc_driver = { |
412 | .driver = { | 412 | .driver = { |
413 | .name = "mpc5121-rtc", | 413 | .name = "mpc5121-rtc", |
414 | .owner = THIS_MODULE, | ||
415 | .of_match_table = of_match_ptr(mpc5121_rtc_match), | 414 | .of_match_table = of_match_ptr(mpc5121_rtc_match), |
416 | }, | 415 | }, |
417 | .probe = mpc5121_rtc_probe, | 416 | .probe = mpc5121_rtc_probe, |
diff --git a/drivers/rtc/rtc-msm6242.c b/drivers/rtc/rtc-msm6242.c index 426cb5189daa..9bf877bdf836 100644 --- a/drivers/rtc/rtc-msm6242.c +++ b/drivers/rtc/rtc-msm6242.c | |||
@@ -225,7 +225,6 @@ static int __init msm6242_rtc_probe(struct platform_device *pdev) | |||
225 | static struct platform_driver msm6242_rtc_driver = { | 225 | static struct platform_driver msm6242_rtc_driver = { |
226 | .driver = { | 226 | .driver = { |
227 | .name = "rtc-msm6242", | 227 | .name = "rtc-msm6242", |
228 | .owner = THIS_MODULE, | ||
229 | }, | 228 | }, |
230 | }; | 229 | }; |
231 | 230 | ||
diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c index 6aaec2fc7c0d..423762241042 100644 --- a/drivers/rtc/rtc-mv.c +++ b/drivers/rtc/rtc-mv.c | |||
@@ -329,7 +329,6 @@ static struct platform_driver mv_rtc_driver = { | |||
329 | .remove = __exit_p(mv_rtc_remove), | 329 | .remove = __exit_p(mv_rtc_remove), |
330 | .driver = { | 330 | .driver = { |
331 | .name = "rtc-mv", | 331 | .name = "rtc-mv", |
332 | .owner = THIS_MODULE, | ||
333 | .of_match_table = of_match_ptr(rtc_mv_of_match_table), | 332 | .of_match_table = of_match_ptr(rtc_mv_of_match_table), |
334 | }, | 333 | }, |
335 | }; | 334 | }; |
diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index 419874fefa4b..3c3f8d10ab43 100644 --- a/drivers/rtc/rtc-mxc.c +++ b/drivers/rtc/rtc-mxc.c | |||
@@ -489,7 +489,6 @@ static struct platform_driver mxc_rtc_driver = { | |||
489 | .driver = { | 489 | .driver = { |
490 | .name = "mxc_rtc", | 490 | .name = "mxc_rtc", |
491 | .pm = &mxc_rtc_pm_ops, | 491 | .pm = &mxc_rtc_pm_ops, |
492 | .owner = THIS_MODULE, | ||
493 | }, | 492 | }, |
494 | .id_table = imx_rtc_devtype, | 493 | .id_table = imx_rtc_devtype, |
495 | .probe = mxc_rtc_probe, | 494 | .probe = mxc_rtc_probe, |
diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c index a53da0958e95..09fc1c19f0df 100644 --- a/drivers/rtc/rtc-nuc900.c +++ b/drivers/rtc/rtc-nuc900.c | |||
@@ -262,7 +262,6 @@ static int __init nuc900_rtc_probe(struct platform_device *pdev) | |||
262 | static struct platform_driver nuc900_rtc_driver = { | 262 | static struct platform_driver nuc900_rtc_driver = { |
263 | .driver = { | 263 | .driver = { |
264 | .name = "nuc900-rtc", | 264 | .name = "nuc900-rtc", |
265 | .owner = THIS_MODULE, | ||
266 | }, | 265 | }, |
267 | }; | 266 | }; |
268 | 267 | ||
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index 21142e6574a9..ae444a8bd602 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c | |||
@@ -569,7 +569,6 @@ static struct platform_driver omap_rtc_driver = { | |||
569 | .shutdown = omap_rtc_shutdown, | 569 | .shutdown = omap_rtc_shutdown, |
570 | .driver = { | 570 | .driver = { |
571 | .name = DRIVER_NAME, | 571 | .name = DRIVER_NAME, |
572 | .owner = THIS_MODULE, | ||
573 | .pm = &omap_rtc_pm_ops, | 572 | .pm = &omap_rtc_pm_ops, |
574 | .of_match_table = omap_rtc_of_match, | 573 | .of_match_table = omap_rtc_of_match, |
575 | }, | 574 | }, |
diff --git a/drivers/rtc/rtc-palmas.c b/drivers/rtc/rtc-palmas.c index 4dfe2d793fa3..3b01d567496d 100644 --- a/drivers/rtc/rtc-palmas.c +++ b/drivers/rtc/rtc-palmas.c | |||
@@ -363,7 +363,6 @@ static struct platform_driver palmas_rtc_driver = { | |||
363 | .probe = palmas_rtc_probe, | 363 | .probe = palmas_rtc_probe, |
364 | .remove = palmas_rtc_remove, | 364 | .remove = palmas_rtc_remove, |
365 | .driver = { | 365 | .driver = { |
366 | .owner = THIS_MODULE, | ||
367 | .name = "palmas-rtc", | 366 | .name = "palmas-rtc", |
368 | .pm = &palmas_rtc_pm_ops, | 367 | .pm = &palmas_rtc_pm_ops, |
369 | .of_match_table = of_match_ptr(of_palmas_rtc_match), | 368 | .of_match_table = of_match_ptr(of_palmas_rtc_match), |
diff --git a/drivers/rtc/rtc-pcap.c b/drivers/rtc/rtc-pcap.c index 40b5c630bc7d..c4433240d8a9 100644 --- a/drivers/rtc/rtc-pcap.c +++ b/drivers/rtc/rtc-pcap.c | |||
@@ -184,7 +184,6 @@ static struct platform_driver pcap_rtc_driver = { | |||
184 | .remove = __exit_p(pcap_rtc_remove), | 184 | .remove = __exit_p(pcap_rtc_remove), |
185 | .driver = { | 185 | .driver = { |
186 | .name = "pcap-rtc", | 186 | .name = "pcap-rtc", |
187 | .owner = THIS_MODULE, | ||
188 | }, | 187 | }, |
189 | }; | 188 | }; |
190 | 189 | ||
diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index 5adcf111fc14..795fcbd02ea3 100644 --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xxx.c | |||
@@ -531,7 +531,6 @@ static struct platform_driver pm8xxx_rtc_driver = { | |||
531 | .probe = pm8xxx_rtc_probe, | 531 | .probe = pm8xxx_rtc_probe, |
532 | .driver = { | 532 | .driver = { |
533 | .name = "rtc-pm8xxx", | 533 | .name = "rtc-pm8xxx", |
534 | .owner = THIS_MODULE, | ||
535 | .pm = &pm8xxx_rtc_pm_ops, | 534 | .pm = &pm8xxx_rtc_pm_ops, |
536 | .of_match_table = pm8xxx_id_table, | 535 | .of_match_table = pm8xxx_id_table, |
537 | }, | 536 | }, |
diff --git a/drivers/rtc/rtc-ps3.c b/drivers/rtc/rtc-ps3.c index 554ada5e9b76..6a8f5d758eac 100644 --- a/drivers/rtc/rtc-ps3.c +++ b/drivers/rtc/rtc-ps3.c | |||
@@ -74,7 +74,6 @@ static int __init ps3_rtc_probe(struct platform_device *dev) | |||
74 | static struct platform_driver ps3_rtc_driver = { | 74 | static struct platform_driver ps3_rtc_driver = { |
75 | .driver = { | 75 | .driver = { |
76 | .name = "rtc-ps3", | 76 | .name = "rtc-ps3", |
77 | .owner = THIS_MODULE, | ||
78 | }, | 77 | }, |
79 | }; | 78 | }; |
80 | 79 | ||
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c index 1cff2a21db67..c0a6e638c672 100644 --- a/drivers/rtc/rtc-puv3.c +++ b/drivers/rtc/rtc-puv3.c | |||
@@ -328,7 +328,6 @@ static struct platform_driver puv3_rtc_driver = { | |||
328 | .remove = puv3_rtc_remove, | 328 | .remove = puv3_rtc_remove, |
329 | .driver = { | 329 | .driver = { |
330 | .name = "PKUnity-v3-RTC", | 330 | .name = "PKUnity-v3-RTC", |
331 | .owner = THIS_MODULE, | ||
332 | .pm = &puv3_rtc_pm_ops, | 331 | .pm = &puv3_rtc_pm_ops, |
333 | } | 332 | } |
334 | }; | 333 | }; |
diff --git a/drivers/rtc/rtc-rc5t583.c b/drivers/rtc/rtc-rc5t583.c index e53e9b1c69b3..f28d57788951 100644 --- a/drivers/rtc/rtc-rc5t583.c +++ b/drivers/rtc/rtc-rc5t583.c | |||
@@ -310,7 +310,6 @@ static struct platform_driver rc5t583_rtc_driver = { | |||
310 | .probe = rc5t583_rtc_probe, | 310 | .probe = rc5t583_rtc_probe, |
311 | .remove = rc5t583_rtc_remove, | 311 | .remove = rc5t583_rtc_remove, |
312 | .driver = { | 312 | .driver = { |
313 | .owner = THIS_MODULE, | ||
314 | .name = "rtc-rc5t583", | 313 | .name = "rtc-rc5t583", |
315 | .pm = &rc5t583_rtc_pm_ops, | 314 | .pm = &rc5t583_rtc_pm_ops, |
316 | }, | 315 | }, |
diff --git a/drivers/rtc/rtc-rp5c01.c b/drivers/rtc/rtc-rp5c01.c index 89d073679267..b548551f385c 100644 --- a/drivers/rtc/rtc-rp5c01.c +++ b/drivers/rtc/rtc-rp5c01.c | |||
@@ -273,7 +273,6 @@ static int __exit rp5c01_rtc_remove(struct platform_device *dev) | |||
273 | static struct platform_driver rp5c01_rtc_driver = { | 273 | static struct platform_driver rp5c01_rtc_driver = { |
274 | .driver = { | 274 | .driver = { |
275 | .name = "rtc-rp5c01", | 275 | .name = "rtc-rp5c01", |
276 | .owner = THIS_MODULE, | ||
277 | }, | 276 | }, |
278 | .remove = __exit_p(rp5c01_rtc_remove), | 277 | .remove = __exit_p(rp5c01_rtc_remove), |
279 | }; | 278 | }; |
diff --git a/drivers/rtc/rtc-rs5c313.c b/drivers/rtc/rtc-rs5c313.c index 68f7856422f1..5f48167c802a 100644 --- a/drivers/rtc/rtc-rs5c313.c +++ b/drivers/rtc/rtc-rs5c313.c | |||
@@ -381,7 +381,6 @@ static int rs5c313_rtc_probe(struct platform_device *pdev) | |||
381 | static struct platform_driver rs5c313_rtc_platform_driver = { | 381 | static struct platform_driver rs5c313_rtc_platform_driver = { |
382 | .driver = { | 382 | .driver = { |
383 | .name = DRV_NAME, | 383 | .name = DRV_NAME, |
384 | .owner = THIS_MODULE, | ||
385 | }, | 384 | }, |
386 | .probe = rs5c313_rtc_probe, | 385 | .probe = rs5c313_rtc_probe, |
387 | }; | 386 | }; |
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 806072238c00..4241eeab3386 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -896,7 +896,6 @@ static struct platform_driver s3c_rtc_driver = { | |||
896 | .remove = s3c_rtc_remove, | 896 | .remove = s3c_rtc_remove, |
897 | .driver = { | 897 | .driver = { |
898 | .name = "s3c-rtc", | 898 | .name = "s3c-rtc", |
899 | .owner = THIS_MODULE, | ||
900 | .pm = &s3c_rtc_pm_ops, | 899 | .pm = &s3c_rtc_pm_ops, |
901 | .of_match_table = of_match_ptr(s3c_rtc_dt_match), | 900 | .of_match_table = of_match_ptr(s3c_rtc_dt_match), |
902 | }, | 901 | }, |
diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 8754c33361e8..b5e7c4670205 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c | |||
@@ -837,7 +837,6 @@ static const struct platform_device_id s5m_rtc_id[] = { | |||
837 | static struct platform_driver s5m_rtc_driver = { | 837 | static struct platform_driver s5m_rtc_driver = { |
838 | .driver = { | 838 | .driver = { |
839 | .name = "s5m-rtc", | 839 | .name = "s5m-rtc", |
840 | .owner = THIS_MODULE, | ||
841 | .pm = &s5m_rtc_pm_ops, | 840 | .pm = &s5m_rtc_pm_ops, |
842 | }, | 841 | }, |
843 | .probe = s5m_rtc_probe, | 842 | .probe = s5m_rtc_probe, |
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index d0d2b047658b..2b81dd4baf17 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c | |||
@@ -782,7 +782,6 @@ static SIMPLE_DEV_PM_OPS(sh_rtc_pm_ops, sh_rtc_suspend, sh_rtc_resume); | |||
782 | static struct platform_driver sh_rtc_platform_driver = { | 782 | static struct platform_driver sh_rtc_platform_driver = { |
783 | .driver = { | 783 | .driver = { |
784 | .name = DRV_NAME, | 784 | .name = DRV_NAME, |
785 | .owner = THIS_MODULE, | ||
786 | .pm = &sh_rtc_pm_ops, | 785 | .pm = &sh_rtc_pm_ops, |
787 | }, | 786 | }, |
788 | .remove = __exit_p(sh_rtc_remove), | 787 | .remove = __exit_p(sh_rtc_remove), |
diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c index 76e38007ba90..52db89e25959 100644 --- a/drivers/rtc/rtc-sirfsoc.c +++ b/drivers/rtc/rtc-sirfsoc.c | |||
@@ -408,7 +408,6 @@ static SIMPLE_DEV_PM_OPS(sirfsoc_rtc_pm_ops, | |||
408 | static struct platform_driver sirfsoc_rtc_driver = { | 408 | static struct platform_driver sirfsoc_rtc_driver = { |
409 | .driver = { | 409 | .driver = { |
410 | .name = "sirfsoc-rtc", | 410 | .name = "sirfsoc-rtc", |
411 | .owner = THIS_MODULE, | ||
412 | .pm = &sirfsoc_rtc_pm_ops, | 411 | .pm = &sirfsoc_rtc_pm_ops, |
413 | .of_match_table = sirfsoc_rtc_of_match, | 412 | .of_match_table = sirfsoc_rtc_of_match, |
414 | }, | 413 | }, |
diff --git a/drivers/rtc/rtc-snvs.c b/drivers/rtc/rtc-snvs.c index fa384fe28988..f04c378b781a 100644 --- a/drivers/rtc/rtc-snvs.c +++ b/drivers/rtc/rtc-snvs.c | |||
@@ -327,7 +327,6 @@ MODULE_DEVICE_TABLE(of, snvs_dt_ids); | |||
327 | static struct platform_driver snvs_rtc_driver = { | 327 | static struct platform_driver snvs_rtc_driver = { |
328 | .driver = { | 328 | .driver = { |
329 | .name = "snvs_rtc", | 329 | .name = "snvs_rtc", |
330 | .owner = THIS_MODULE, | ||
331 | .pm = &snvs_rtc_pm_ops, | 330 | .pm = &snvs_rtc_pm_ops, |
332 | .of_match_table = snvs_dt_ids, | 331 | .of_match_table = snvs_dt_ids, |
333 | }, | 332 | }, |
diff --git a/drivers/rtc/rtc-starfire.c b/drivers/rtc/rtc-starfire.c index f7d8a6db8078..83a057a03060 100644 --- a/drivers/rtc/rtc-starfire.c +++ b/drivers/rtc/rtc-starfire.c | |||
@@ -54,7 +54,6 @@ static int __init starfire_rtc_probe(struct platform_device *pdev) | |||
54 | static struct platform_driver starfire_rtc_driver = { | 54 | static struct platform_driver starfire_rtc_driver = { |
55 | .driver = { | 55 | .driver = { |
56 | .name = "rtc-starfire", | 56 | .name = "rtc-starfire", |
57 | .owner = THIS_MODULE, | ||
58 | }, | 57 | }, |
59 | }; | 58 | }; |
60 | 59 | ||
diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index 35ed49ea1f81..0e93b714ee41 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c | |||
@@ -358,7 +358,6 @@ static struct platform_driver stk17ta8_rtc_driver = { | |||
358 | .remove = stk17ta8_rtc_remove, | 358 | .remove = stk17ta8_rtc_remove, |
359 | .driver = { | 359 | .driver = { |
360 | .name = "stk17ta8", | 360 | .name = "stk17ta8", |
361 | .owner = THIS_MODULE, | ||
362 | }, | 361 | }, |
363 | }; | 362 | }; |
364 | 363 | ||
diff --git a/drivers/rtc/rtc-stmp3xxx.c b/drivers/rtc/rtc-stmp3xxx.c index ea96492357b0..2939cdcb2688 100644 --- a/drivers/rtc/rtc-stmp3xxx.c +++ b/drivers/rtc/rtc-stmp3xxx.c | |||
@@ -341,7 +341,6 @@ static struct platform_driver stmp3xxx_rtcdrv = { | |||
341 | .remove = stmp3xxx_rtc_remove, | 341 | .remove = stmp3xxx_rtc_remove, |
342 | .driver = { | 342 | .driver = { |
343 | .name = "stmp3xxx-rtc", | 343 | .name = "stmp3xxx-rtc", |
344 | .owner = THIS_MODULE, | ||
345 | .pm = &stmp3xxx_rtc_pm_ops, | 344 | .pm = &stmp3xxx_rtc_pm_ops, |
346 | .of_match_table = rtc_dt_ids, | 345 | .of_match_table = rtc_dt_ids, |
347 | }, | 346 | }, |
diff --git a/drivers/rtc/rtc-sun4v.c b/drivers/rtc/rtc-sun4v.c index bc97ff91341d..7c696c12f28f 100644 --- a/drivers/rtc/rtc-sun4v.c +++ b/drivers/rtc/rtc-sun4v.c | |||
@@ -95,7 +95,6 @@ static int __init sun4v_rtc_probe(struct platform_device *pdev) | |||
95 | static struct platform_driver sun4v_rtc_driver = { | 95 | static struct platform_driver sun4v_rtc_driver = { |
96 | .driver = { | 96 | .driver = { |
97 | .name = "rtc-sun4v", | 97 | .name = "rtc-sun4v", |
98 | .owner = THIS_MODULE, | ||
99 | }, | 98 | }, |
100 | }; | 99 | }; |
101 | 100 | ||
diff --git a/drivers/rtc/rtc-sunxi.c b/drivers/rtc/rtc-sunxi.c index b6f21f73d508..6e678fa4dfaf 100644 --- a/drivers/rtc/rtc-sunxi.c +++ b/drivers/rtc/rtc-sunxi.c | |||
@@ -511,7 +511,6 @@ static struct platform_driver sunxi_rtc_driver = { | |||
511 | .remove = sunxi_rtc_remove, | 511 | .remove = sunxi_rtc_remove, |
512 | .driver = { | 512 | .driver = { |
513 | .name = "sunxi-rtc", | 513 | .name = "sunxi-rtc", |
514 | .owner = THIS_MODULE, | ||
515 | .of_match_table = sunxi_rtc_dt_ids, | 514 | .of_match_table = sunxi_rtc_dt_ids, |
516 | }, | 515 | }, |
517 | }; | 516 | }; |
diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c index 76af92ad5a8a..d948277057d8 100644 --- a/drivers/rtc/rtc-tegra.c +++ b/drivers/rtc/rtc-tegra.c | |||
@@ -420,7 +420,6 @@ static struct platform_driver tegra_rtc_driver = { | |||
420 | .shutdown = tegra_rtc_shutdown, | 420 | .shutdown = tegra_rtc_shutdown, |
421 | .driver = { | 421 | .driver = { |
422 | .name = "tegra_rtc", | 422 | .name = "tegra_rtc", |
423 | .owner = THIS_MODULE, | ||
424 | .of_match_table = tegra_rtc_dt_match, | 423 | .of_match_table = tegra_rtc_dt_match, |
425 | .pm = &tegra_rtc_pm_ops, | 424 | .pm = &tegra_rtc_pm_ops, |
426 | }, | 425 | }, |
diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c index 6599c20bc454..8f86fa91de1a 100644 --- a/drivers/rtc/rtc-test.c +++ b/drivers/rtc/rtc-test.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver test_driver = { | |||
129 | .remove = test_remove, | 129 | .remove = test_remove, |
130 | .driver = { | 130 | .driver = { |
131 | .name = "rtc-test", | 131 | .name = "rtc-test", |
132 | .owner = THIS_MODULE, | ||
133 | }, | 132 | }, |
134 | }; | 133 | }; |
135 | 134 | ||
diff --git a/drivers/rtc/rtc-tile.c b/drivers/rtc/rtc-tile.c index ff9632eb79f2..0b60867d8390 100644 --- a/drivers/rtc/rtc-tile.c +++ b/drivers/rtc/rtc-tile.c | |||
@@ -94,7 +94,6 @@ static int tile_rtc_probe(struct platform_device *dev) | |||
94 | static struct platform_driver tile_rtc_platform_driver = { | 94 | static struct platform_driver tile_rtc_platform_driver = { |
95 | .driver = { | 95 | .driver = { |
96 | .name = "rtc-tile", | 96 | .name = "rtc-tile", |
97 | .owner = THIS_MODULE, | ||
98 | }, | 97 | }, |
99 | .probe = tile_rtc_probe, | 98 | .probe = tile_rtc_probe, |
100 | }; | 99 | }; |
diff --git a/drivers/rtc/rtc-tps6586x.c b/drivers/rtc/rtc-tps6586x.c index 426901cef14f..3b6ce80a769c 100644 --- a/drivers/rtc/rtc-tps6586x.c +++ b/drivers/rtc/rtc-tps6586x.c | |||
@@ -337,7 +337,6 @@ static SIMPLE_DEV_PM_OPS(tps6586x_pm_ops, tps6586x_rtc_suspend, | |||
337 | static struct platform_driver tps6586x_rtc_driver = { | 337 | static struct platform_driver tps6586x_rtc_driver = { |
338 | .driver = { | 338 | .driver = { |
339 | .name = "tps6586x-rtc", | 339 | .name = "tps6586x-rtc", |
340 | .owner = THIS_MODULE, | ||
341 | .pm = &tps6586x_pm_ops, | 340 | .pm = &tps6586x_pm_ops, |
342 | }, | 341 | }, |
343 | .probe = tps6586x_rtc_probe, | 342 | .probe = tps6586x_rtc_probe, |
diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c index 2583349fbde5..f42aa2b2dcba 100644 --- a/drivers/rtc/rtc-tps65910.c +++ b/drivers/rtc/rtc-tps65910.c | |||
@@ -326,7 +326,6 @@ static struct platform_driver tps65910_rtc_driver = { | |||
326 | .probe = tps65910_rtc_probe, | 326 | .probe = tps65910_rtc_probe, |
327 | .remove = tps65910_rtc_remove, | 327 | .remove = tps65910_rtc_remove, |
328 | .driver = { | 328 | .driver = { |
329 | .owner = THIS_MODULE, | ||
330 | .name = "tps65910-rtc", | 329 | .name = "tps65910-rtc", |
331 | .pm = &tps65910_rtc_pm_ops, | 330 | .pm = &tps65910_rtc_pm_ops, |
332 | }, | 331 | }, |
diff --git a/drivers/rtc/rtc-tps80031.c b/drivers/rtc/rtc-tps80031.c index 3e400dce2d06..27e254cde715 100644 --- a/drivers/rtc/rtc-tps80031.c +++ b/drivers/rtc/rtc-tps80031.c | |||
@@ -324,7 +324,6 @@ static SIMPLE_DEV_PM_OPS(tps80031_pm_ops, tps80031_rtc_suspend, | |||
324 | static struct platform_driver tps80031_rtc_driver = { | 324 | static struct platform_driver tps80031_rtc_driver = { |
325 | .driver = { | 325 | .driver = { |
326 | .name = "tps80031-rtc", | 326 | .name = "tps80031-rtc", |
327 | .owner = THIS_MODULE, | ||
328 | .pm = &tps80031_pm_ops, | 327 | .pm = &tps80031_pm_ops, |
329 | }, | 328 | }, |
330 | .probe = tps80031_rtc_probe, | 329 | .probe = tps80031_rtc_probe, |
diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index 1915464e4cd6..5baea3f54926 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c | |||
@@ -608,7 +608,6 @@ static struct platform_driver twl4030rtc_driver = { | |||
608 | .remove = twl_rtc_remove, | 608 | .remove = twl_rtc_remove, |
609 | .shutdown = twl_rtc_shutdown, | 609 | .shutdown = twl_rtc_shutdown, |
610 | .driver = { | 610 | .driver = { |
611 | .owner = THIS_MODULE, | ||
612 | .name = "twl_rtc", | 611 | .name = "twl_rtc", |
613 | .pm = &twl_rtc_pm_ops, | 612 | .pm = &twl_rtc_pm_ops, |
614 | .of_match_table = of_match_ptr(twl_rtc_of_match), | 613 | .of_match_table = of_match_ptr(twl_rtc_of_match), |
diff --git a/drivers/rtc/rtc-tx4939.c b/drivers/rtc/rtc-tx4939.c index 2e678c681b13..cb7f94ede516 100644 --- a/drivers/rtc/rtc-tx4939.c +++ b/drivers/rtc/rtc-tx4939.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver tx4939_rtc_driver = { | |||
287 | .remove = __exit_p(tx4939_rtc_remove), | 287 | .remove = __exit_p(tx4939_rtc_remove), |
288 | .driver = { | 288 | .driver = { |
289 | .name = "tx4939rtc", | 289 | .name = "tx4939rtc", |
290 | .owner = THIS_MODULE, | ||
291 | }, | 290 | }, |
292 | }; | 291 | }; |
293 | 292 | ||
diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index 25222cdccdc6..bfbfa7ed7bbf 100644 --- a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c | |||
@@ -382,7 +382,6 @@ static struct platform_driver rtc_device_driver = { | |||
382 | .remove = rtc_remove, | 382 | .remove = rtc_remove, |
383 | .driver = { | 383 | .driver = { |
384 | .name = "v3020", | 384 | .name = "v3020", |
385 | .owner = THIS_MODULE, | ||
386 | }, | 385 | }, |
387 | }; | 386 | }; |
388 | 387 | ||
diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index 88c9c92e89fd..f64c282275b3 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c | |||
@@ -375,7 +375,6 @@ static struct platform_driver rtc_platform_driver = { | |||
375 | .probe = rtc_probe, | 375 | .probe = rtc_probe, |
376 | .driver = { | 376 | .driver = { |
377 | .name = rtc_name, | 377 | .name = rtc_name, |
378 | .owner = THIS_MODULE, | ||
379 | }, | 378 | }, |
380 | }; | 379 | }; |
381 | 380 | ||
diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 051da968da6d..a58b6d17e6f0 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500.c | |||
@@ -277,7 +277,6 @@ static struct platform_driver vt8500_rtc_driver = { | |||
277 | .remove = vt8500_rtc_remove, | 277 | .remove = vt8500_rtc_remove, |
278 | .driver = { | 278 | .driver = { |
279 | .name = "vt8500-rtc", | 279 | .name = "vt8500-rtc", |
280 | .owner = THIS_MODULE, | ||
281 | .of_match_table = wmt_dt_ids, | 280 | .of_match_table = wmt_dt_ids, |
282 | }, | 281 | }, |
283 | }; | 282 | }; |
diff --git a/drivers/rtc/rtc-xgene.c b/drivers/rtc/rtc-xgene.c index 14129cc85bdb..65b432a096fe 100644 --- a/drivers/rtc/rtc-xgene.c +++ b/drivers/rtc/rtc-xgene.c | |||
@@ -264,7 +264,6 @@ static struct platform_driver xgene_rtc_driver = { | |||
264 | .probe = xgene_rtc_probe, | 264 | .probe = xgene_rtc_probe, |
265 | .remove = xgene_rtc_remove, | 265 | .remove = xgene_rtc_remove, |
266 | .driver = { | 266 | .driver = { |
267 | .owner = THIS_MODULE, | ||
268 | .name = "xgene-rtc", | 267 | .name = "xgene-rtc", |
269 | .pm = &xgene_rtc_pm_ops, | 268 | .pm = &xgene_rtc_pm_ops, |
270 | .of_match_table = of_match_ptr(xgene_rtc_of_match), | 269 | .of_match_table = of_match_ptr(xgene_rtc_of_match), |
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 0f471750327e..b550c8c8d010 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c | |||
@@ -1003,7 +1003,6 @@ static const struct dev_pm_ops dcssblk_pm_ops = { | |||
1003 | static struct platform_driver dcssblk_pdrv = { | 1003 | static struct platform_driver dcssblk_pdrv = { |
1004 | .driver = { | 1004 | .driver = { |
1005 | .name = "dcssblk", | 1005 | .name = "dcssblk", |
1006 | .owner = THIS_MODULE, | ||
1007 | .pm = &dcssblk_pm_ops, | 1006 | .pm = &dcssblk_pm_ops, |
1008 | }, | 1007 | }, |
1009 | }; | 1008 | }; |
diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c index 9e0de9c9a6fc..7d4e9397ac31 100644 --- a/drivers/s390/block/xpram.c +++ b/drivers/s390/block/xpram.c | |||
@@ -417,7 +417,6 @@ static const struct dev_pm_ops xpram_pm_ops = { | |||
417 | static struct platform_driver xpram_pdrv = { | 417 | static struct platform_driver xpram_pdrv = { |
418 | .driver = { | 418 | .driver = { |
419 | .name = XPRAM_NAME, | 419 | .name = XPRAM_NAME, |
420 | .owner = THIS_MODULE, | ||
421 | .pm = &xpram_pm_ops, | 420 | .pm = &xpram_pm_ops, |
422 | }, | 421 | }, |
423 | }; | 422 | }; |
diff --git a/drivers/s390/char/monwriter.c b/drivers/s390/char/monwriter.c index 668b32b0dc1d..9b5d1138b2e2 100644 --- a/drivers/s390/char/monwriter.c +++ b/drivers/s390/char/monwriter.c | |||
@@ -334,7 +334,6 @@ static const struct dev_pm_ops monwriter_pm_ops = { | |||
334 | static struct platform_driver monwriter_pdrv = { | 334 | static struct platform_driver monwriter_pdrv = { |
335 | .driver = { | 335 | .driver = { |
336 | .name = "monwriter", | 336 | .name = "monwriter", |
337 | .owner = THIS_MODULE, | ||
338 | .pm = &monwriter_pm_ops, | 337 | .pm = &monwriter_pm_ops, |
339 | }, | 338 | }, |
340 | }; | 339 | }; |
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index c316051d9bda..41ba56d2e752 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c | |||
@@ -1167,7 +1167,6 @@ static const struct attribute_group *sclp_drv_attr_groups[] = { | |||
1167 | static struct platform_driver sclp_pdrv = { | 1167 | static struct platform_driver sclp_pdrv = { |
1168 | .driver = { | 1168 | .driver = { |
1169 | .name = "sclp", | 1169 | .name = "sclp", |
1170 | .owner = THIS_MODULE, | ||
1171 | .pm = &sclp_pm_ops, | 1170 | .pm = &sclp_pm_ops, |
1172 | .groups = sclp_drv_attr_groups, | 1171 | .groups = sclp_drv_attr_groups, |
1173 | }, | 1172 | }, |
diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c index 812b5f0361b6..129967ad345d 100644 --- a/drivers/sbus/char/bbc_i2c.c +++ b/drivers/sbus/char/bbc_i2c.c | |||
@@ -413,7 +413,6 @@ MODULE_DEVICE_TABLE(of, bbc_i2c_match); | |||
413 | static struct platform_driver bbc_i2c_driver = { | 413 | static struct platform_driver bbc_i2c_driver = { |
414 | .driver = { | 414 | .driver = { |
415 | .name = "bbc_i2c", | 415 | .name = "bbc_i2c", |
416 | .owner = THIS_MODULE, | ||
417 | .of_match_table = bbc_i2c_match, | 416 | .of_match_table = bbc_i2c_match, |
418 | }, | 417 | }, |
419 | .probe = bbc_i2c_probe, | 418 | .probe = bbc_i2c_probe, |
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c index 2b0ce7c350ee..33fbe8249fd5 100644 --- a/drivers/sbus/char/display7seg.c +++ b/drivers/sbus/char/display7seg.c | |||
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, d7s_match); | |||
263 | static struct platform_driver d7s_driver = { | 263 | static struct platform_driver d7s_driver = { |
264 | .driver = { | 264 | .driver = { |
265 | .name = DRIVER_NAME, | 265 | .name = DRIVER_NAME, |
266 | .owner = THIS_MODULE, | ||
267 | .of_match_table = d7s_match, | 266 | .of_match_table = d7s_match, |
268 | }, | 267 | }, |
269 | .probe = d7s_probe, | 268 | .probe = d7s_probe, |
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index af15a2fdab5e..e244cf3d9ec8 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -1130,7 +1130,6 @@ MODULE_DEVICE_TABLE(of, envctrl_match); | |||
1130 | static struct platform_driver envctrl_driver = { | 1130 | static struct platform_driver envctrl_driver = { |
1131 | .driver = { | 1131 | .driver = { |
1132 | .name = DRIVER_NAME, | 1132 | .name = DRIVER_NAME, |
1133 | .owner = THIS_MODULE, | ||
1134 | .of_match_table = envctrl_match, | 1133 | .of_match_table = envctrl_match, |
1135 | }, | 1134 | }, |
1136 | .probe = envctrl_probe, | 1135 | .probe = envctrl_probe, |
diff --git a/drivers/sbus/char/flash.c b/drivers/sbus/char/flash.c index 25c738e9ef19..206ef4232adf 100644 --- a/drivers/sbus/char/flash.c +++ b/drivers/sbus/char/flash.c | |||
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, flash_match); | |||
207 | static struct platform_driver flash_driver = { | 207 | static struct platform_driver flash_driver = { |
208 | .driver = { | 208 | .driver = { |
209 | .name = "flash", | 209 | .name = "flash", |
210 | .owner = THIS_MODULE, | ||
211 | .of_match_table = flash_match, | 210 | .of_match_table = flash_match, |
212 | }, | 211 | }, |
213 | .probe = flash_probe, | 212 | .probe = flash_probe, |
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c index b7acafc85099..57696fc0b482 100644 --- a/drivers/sbus/char/uctrl.c +++ b/drivers/sbus/char/uctrl.c | |||
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, uctrl_match); | |||
425 | static struct platform_driver uctrl_driver = { | 425 | static struct platform_driver uctrl_driver = { |
426 | .driver = { | 426 | .driver = { |
427 | .name = "uctrl", | 427 | .name = "uctrl", |
428 | .owner = THIS_MODULE, | ||
429 | .of_match_table = uctrl_match, | 428 | .of_match_table = uctrl_match, |
430 | }, | 429 | }, |
431 | .probe = uctrl_probe, | 430 | .probe = uctrl_probe, |
diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c index dd5b64726ddc..e6375b4de79e 100644 --- a/drivers/scsi/a3000.c +++ b/drivers/scsi/a3000.c | |||
@@ -276,7 +276,6 @@ static struct platform_driver amiga_a3000_scsi_driver = { | |||
276 | .remove = __exit_p(amiga_a3000_scsi_remove), | 276 | .remove = __exit_p(amiga_a3000_scsi_remove), |
277 | .driver = { | 277 | .driver = { |
278 | .name = "amiga-a3000-scsi", | 278 | .name = "amiga-a3000-scsi", |
279 | .owner = THIS_MODULE, | ||
280 | }, | 279 | }, |
281 | }; | 280 | }; |
282 | 281 | ||
diff --git a/drivers/scsi/a4000t.c b/drivers/scsi/a4000t.c index f5a2ab41543b..66c573093901 100644 --- a/drivers/scsi/a4000t.c +++ b/drivers/scsi/a4000t.c | |||
@@ -112,7 +112,6 @@ static struct platform_driver amiga_a4000t_scsi_driver = { | |||
112 | .remove = __exit_p(amiga_a4000t_scsi_remove), | 112 | .remove = __exit_p(amiga_a4000t_scsi_remove), |
113 | .driver = { | 113 | .driver = { |
114 | .name = "amiga-a4000t-scsi", | 114 | .name = "amiga-a4000t-scsi", |
115 | .owner = THIS_MODULE, | ||
116 | }, | 115 | }, |
117 | }; | 116 | }; |
118 | 117 | ||
diff --git a/drivers/scsi/bvme6000_scsi.c b/drivers/scsi/bvme6000_scsi.c index 1e3f96adf9da..0f846ae2f918 100644 --- a/drivers/scsi/bvme6000_scsi.c +++ b/drivers/scsi/bvme6000_scsi.c | |||
@@ -105,7 +105,6 @@ bvme6000_device_remove(struct platform_device *dev) | |||
105 | static struct platform_driver bvme6000_scsi_driver = { | 105 | static struct platform_driver bvme6000_scsi_driver = { |
106 | .driver = { | 106 | .driver = { |
107 | .name = "bvme6000-scsi", | 107 | .name = "bvme6000-scsi", |
108 | .owner = THIS_MODULE, | ||
109 | }, | 108 | }, |
110 | .probe = bvme6000_probe, | 109 | .probe = bvme6000_probe, |
111 | .remove = bvme6000_device_remove, | 110 | .remove = bvme6000_device_remove, |
diff --git a/drivers/scsi/jazz_esp.c b/drivers/scsi/jazz_esp.c index 69efbf12b299..9aaa74e349cc 100644 --- a/drivers/scsi/jazz_esp.c +++ b/drivers/scsi/jazz_esp.c | |||
@@ -226,7 +226,6 @@ static struct platform_driver esp_jazz_driver = { | |||
226 | .remove = esp_jazz_remove, | 226 | .remove = esp_jazz_remove, |
227 | .driver = { | 227 | .driver = { |
228 | .name = "jazz_esp", | 228 | .name = "jazz_esp", |
229 | .owner = THIS_MODULE, | ||
230 | }, | 229 | }, |
231 | }; | 230 | }; |
232 | 231 | ||
diff --git a/drivers/scsi/mac_esp.c b/drivers/scsi/mac_esp.c index 994fc5caf036..14c0334f41e4 100644 --- a/drivers/scsi/mac_esp.c +++ b/drivers/scsi/mac_esp.c | |||
@@ -617,7 +617,6 @@ static struct platform_driver esp_mac_driver = { | |||
617 | .remove = esp_mac_remove, | 617 | .remove = esp_mac_remove, |
618 | .driver = { | 618 | .driver = { |
619 | .name = DRV_MODULE_NAME, | 619 | .name = DRV_MODULE_NAME, |
620 | .owner = THIS_MODULE, | ||
621 | }, | 620 | }, |
622 | }; | 621 | }; |
623 | 622 | ||
diff --git a/drivers/scsi/mvme16x_scsi.c b/drivers/scsi/mvme16x_scsi.c index 8fbb97a8bfd3..050c8c39d7ed 100644 --- a/drivers/scsi/mvme16x_scsi.c +++ b/drivers/scsi/mvme16x_scsi.c | |||
@@ -126,7 +126,6 @@ static int mvme16x_device_remove(struct platform_device *dev) | |||
126 | static struct platform_driver mvme16x_scsi_driver = { | 126 | static struct platform_driver mvme16x_scsi_driver = { |
127 | .driver = { | 127 | .driver = { |
128 | .name = "mvme16x-scsi", | 128 | .name = "mvme16x-scsi", |
129 | .owner = THIS_MODULE, | ||
130 | }, | 129 | }, |
131 | .probe = mvme16x_probe, | 130 | .probe = mvme16x_probe, |
132 | .remove = mvme16x_device_remove, | 131 | .remove = mvme16x_device_remove, |
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 740ae495aa77..fe122700cad8 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c | |||
@@ -1455,7 +1455,6 @@ MODULE_DEVICE_TABLE(of, qpti_match); | |||
1455 | static struct platform_driver qpti_sbus_driver = { | 1455 | static struct platform_driver qpti_sbus_driver = { |
1456 | .driver = { | 1456 | .driver = { |
1457 | .name = "qpti", | 1457 | .name = "qpti", |
1458 | .owner = THIS_MODULE, | ||
1459 | .of_match_table = qpti_match, | 1458 | .of_match_table = qpti_match, |
1460 | }, | 1459 | }, |
1461 | .probe = qpti_sbus_probe, | 1460 | .probe = qpti_sbus_probe, |
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index a464d959f66e..6d215e2fb46d 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c | |||
@@ -315,7 +315,6 @@ static struct platform_driver sgiwd93_driver = { | |||
315 | .remove = sgiwd93_remove, | 315 | .remove = sgiwd93_remove, |
316 | .driver = { | 316 | .driver = { |
317 | .name = "sgiwd93", | 317 | .name = "sgiwd93", |
318 | .owner = THIS_MODULE, | ||
319 | } | 318 | } |
320 | }; | 319 | }; |
321 | 320 | ||
diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c index 52d54e7425db..76278072147e 100644 --- a/drivers/scsi/sni_53c710.c +++ b/drivers/scsi/sni_53c710.c | |||
@@ -137,7 +137,6 @@ static struct platform_driver snirm710_driver = { | |||
137 | .remove = snirm710_driver_remove, | 137 | .remove = snirm710_driver_remove, |
138 | .driver = { | 138 | .driver = { |
139 | .name = "snirm_53c710", | 139 | .name = "snirm_53c710", |
140 | .owner = THIS_MODULE, | ||
141 | }, | 140 | }, |
142 | }; | 141 | }; |
143 | 142 | ||
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c index 534eb96fc3a7..e26e81de7c45 100644 --- a/drivers/scsi/sun3x_esp.c +++ b/drivers/scsi/sun3x_esp.c | |||
@@ -295,7 +295,6 @@ static struct platform_driver esp_sun3x_driver = { | |||
295 | .remove = esp_sun3x_remove, | 295 | .remove = esp_sun3x_remove, |
296 | .driver = { | 296 | .driver = { |
297 | .name = "sun3x_esp", | 297 | .name = "sun3x_esp", |
298 | .owner = THIS_MODULE, | ||
299 | }, | 298 | }, |
300 | }; | 299 | }; |
301 | 300 | ||
diff --git a/drivers/scsi/sun_esp.c b/drivers/scsi/sun_esp.c index f2e68459f7ea..7b6d4c2087d7 100644 --- a/drivers/scsi/sun_esp.c +++ b/drivers/scsi/sun_esp.c | |||
@@ -633,7 +633,6 @@ MODULE_DEVICE_TABLE(of, esp_match); | |||
633 | static struct platform_driver esp_sbus_driver = { | 633 | static struct platform_driver esp_sbus_driver = { |
634 | .driver = { | 634 | .driver = { |
635 | .name = "esp", | 635 | .name = "esp", |
636 | .owner = THIS_MODULE, | ||
637 | .of_match_table = esp_match, | 636 | .of_match_table = esp_match, |
638 | }, | 637 | }, |
639 | .probe = esp_sbus_probe, | 638 | .probe = esp_sbus_probe, |
diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers/scsi/ufs/ufshcd-pltfrm.c index 8adf067ff019..af613a6375dc 100644 --- a/drivers/scsi/ufs/ufshcd-pltfrm.c +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c | |||
@@ -398,7 +398,6 @@ static struct platform_driver ufshcd_pltfrm_driver = { | |||
398 | .shutdown = ufshcd_pltfrm_shutdown, | 398 | .shutdown = ufshcd_pltfrm_shutdown, |
399 | .driver = { | 399 | .driver = { |
400 | .name = "ufshcd", | 400 | .name = "ufshcd", |
401 | .owner = THIS_MODULE, | ||
402 | .pm = &ufshcd_dev_pm_ops, | 401 | .pm = &ufshcd_dev_pm_ops, |
403 | .of_match_table = ufs_of_match, | 402 | .of_match_table = ufs_of_match, |
404 | }, | 403 | }, |
diff --git a/drivers/soc/qcom/qcom_gsbi.c b/drivers/soc/qcom/qcom_gsbi.c index 7e1f120f2b32..729425ddfd3e 100644 --- a/drivers/soc/qcom/qcom_gsbi.c +++ b/drivers/soc/qcom/qcom_gsbi.c | |||
@@ -91,7 +91,6 @@ MODULE_DEVICE_TABLE(of, gsbi_dt_match); | |||
91 | static struct platform_driver gsbi_driver = { | 91 | static struct platform_driver gsbi_driver = { |
92 | .driver = { | 92 | .driver = { |
93 | .name = "gsbi", | 93 | .name = "gsbi", |
94 | .owner = THIS_MODULE, | ||
95 | .of_match_table = gsbi_dt_match, | 94 | .of_match_table = gsbi_dt_match, |
96 | }, | 95 | }, |
97 | .probe = gsbi_probe, | 96 | .probe = gsbi_probe, |
diff --git a/drivers/soc/tegra/fuse/fuse-tegra20.c b/drivers/soc/tegra/fuse/fuse-tegra20.c index 7cb63ab6aac2..5eff6f097f98 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra20.c +++ b/drivers/soc/tegra/fuse/fuse-tegra20.c | |||
@@ -158,7 +158,6 @@ static struct platform_driver tegra20_fuse_driver = { | |||
158 | .probe = tegra20_fuse_probe, | 158 | .probe = tegra20_fuse_probe, |
159 | .driver = { | 159 | .driver = { |
160 | .name = "tegra20_fuse", | 160 | .name = "tegra20_fuse", |
161 | .owner = THIS_MODULE, | ||
162 | .of_match_table = tegra20_fuse_of_match, | 161 | .of_match_table = tegra20_fuse_of_match, |
163 | } | 162 | } |
164 | }; | 163 | }; |
diff --git a/drivers/soc/tegra/fuse/fuse-tegra30.c b/drivers/soc/tegra/fuse/fuse-tegra30.c index 5999cf34ab70..8646fa920d8d 100644 --- a/drivers/soc/tegra/fuse/fuse-tegra30.c +++ b/drivers/soc/tegra/fuse/fuse-tegra30.c | |||
@@ -130,7 +130,6 @@ static struct platform_driver tegra30_fuse_driver = { | |||
130 | .probe = tegra30_fuse_probe, | 130 | .probe = tegra30_fuse_probe, |
131 | .driver = { | 131 | .driver = { |
132 | .name = "tegra_fuse", | 132 | .name = "tegra_fuse", |
133 | .owner = THIS_MODULE, | ||
134 | .of_match_table = tegra30_fuse_of_match, | 133 | .of_match_table = tegra30_fuse_of_match, |
135 | } | 134 | } |
136 | }; | 135 | }; |
diff --git a/drivers/soc/ti/knav_dma.c b/drivers/soc/ti/knav_dma.c index 17264275f32b..bc1b80ec6afe 100644 --- a/drivers/soc/ti/knav_dma.c +++ b/drivers/soc/ti/knav_dma.c | |||
@@ -803,7 +803,6 @@ static struct platform_driver knav_dma_driver = { | |||
803 | .remove = knav_dma_remove, | 803 | .remove = knav_dma_remove, |
804 | .driver = { | 804 | .driver = { |
805 | .name = "keystone-navigator-dma", | 805 | .name = "keystone-navigator-dma", |
806 | .owner = THIS_MODULE, | ||
807 | .of_match_table = of_match, | 806 | .of_match_table = of_match, |
808 | }, | 807 | }, |
809 | }; | 808 | }; |
diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c index 0a2c8634c48b..5fc9c55abbfd 100644 --- a/drivers/soc/ti/knav_qmss_queue.c +++ b/drivers/soc/ti/knav_qmss_queue.c | |||
@@ -1804,7 +1804,6 @@ static struct platform_driver keystone_qmss_driver = { | |||
1804 | .remove = knav_queue_remove, | 1804 | .remove = knav_queue_remove, |
1805 | .driver = { | 1805 | .driver = { |
1806 | .name = "keystone-navigator-qmss", | 1806 | .name = "keystone-navigator-qmss", |
1807 | .owner = THIS_MODULE, | ||
1808 | .of_match_table = keystone_qmss_of_match, | 1807 | .of_match_table = keystone_qmss_of_match, |
1809 | }, | 1808 | }, |
1810 | }; | 1809 | }; |
diff --git a/drivers/spi/spi-adi-v3.c b/drivers/spi/spi-adi-v3.c index 19ea8fb78cc7..a16b25dcd1e6 100644 --- a/drivers/spi/spi-adi-v3.c +++ b/drivers/spi/spi-adi-v3.c | |||
@@ -972,7 +972,6 @@ MODULE_ALIAS("platform:adi-spi3"); | |||
972 | static struct platform_driver adi_spi_driver = { | 972 | static struct platform_driver adi_spi_driver = { |
973 | .driver = { | 973 | .driver = { |
974 | .name = "adi-spi3", | 974 | .name = "adi-spi3", |
975 | .owner = THIS_MODULE, | ||
976 | .pm = &adi_spi_pm_ops, | 975 | .pm = &adi_spi_pm_ops, |
977 | }, | 976 | }, |
978 | .remove = adi_spi_remove, | 977 | .remove = adi_spi_remove, |
diff --git a/drivers/spi/spi-altera.c b/drivers/spi/spi-altera.c index 5b5709a5c957..b95010e72452 100644 --- a/drivers/spi/spi-altera.c +++ b/drivers/spi/spi-altera.c | |||
@@ -282,7 +282,6 @@ static struct platform_driver altera_spi_driver = { | |||
282 | .remove = altera_spi_remove, | 282 | .remove = altera_spi_remove, |
283 | .driver = { | 283 | .driver = { |
284 | .name = DRV_NAME, | 284 | .name = DRV_NAME, |
285 | .owner = THIS_MODULE, | ||
286 | .pm = NULL, | 285 | .pm = NULL, |
287 | .of_match_table = of_match_ptr(altera_spi_match), | 286 | .of_match_table = of_match_ptr(altera_spi_match), |
288 | }, | 287 | }, |
diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c index 058db0fe8dc7..b02eb4ac0218 100644 --- a/drivers/spi/spi-ath79.c +++ b/drivers/spi/spi-ath79.c | |||
@@ -307,7 +307,6 @@ static struct platform_driver ath79_spi_driver = { | |||
307 | .shutdown = ath79_spi_shutdown, | 307 | .shutdown = ath79_spi_shutdown, |
308 | .driver = { | 308 | .driver = { |
309 | .name = DRV_NAME, | 309 | .name = DRV_NAME, |
310 | .owner = THIS_MODULE, | ||
311 | }, | 310 | }, |
312 | }; | 311 | }; |
313 | module_platform_driver(ath79_spi_driver); | 312 | module_platform_driver(ath79_spi_driver); |
diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 113c83f44b5c..5b8a84e81734 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c | |||
@@ -1493,7 +1493,6 @@ MODULE_DEVICE_TABLE(of, atmel_spi_dt_ids); | |||
1493 | static struct platform_driver atmel_spi_driver = { | 1493 | static struct platform_driver atmel_spi_driver = { |
1494 | .driver = { | 1494 | .driver = { |
1495 | .name = "atmel_spi", | 1495 | .name = "atmel_spi", |
1496 | .owner = THIS_MODULE, | ||
1497 | .pm = ATMEL_SPI_PM_OPS, | 1496 | .pm = ATMEL_SPI_PM_OPS, |
1498 | .of_match_table = of_match_ptr(atmel_spi_dt_ids), | 1497 | .of_match_table = of_match_ptr(atmel_spi_dt_ids), |
1499 | }, | 1498 | }, |
diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index f40b34cdf2fc..326f47973684 100644 --- a/drivers/spi/spi-au1550.c +++ b/drivers/spi/spi-au1550.c | |||
@@ -965,7 +965,6 @@ static struct platform_driver au1550_spi_drv = { | |||
965 | .remove = au1550_spi_remove, | 965 | .remove = au1550_spi_remove, |
966 | .driver = { | 966 | .driver = { |
967 | .name = "au1550-spi", | 967 | .name = "au1550-spi", |
968 | .owner = THIS_MODULE, | ||
969 | }, | 968 | }, |
970 | }; | 969 | }; |
971 | 970 | ||
diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c index 69167456ec1e..98aab457b24d 100644 --- a/drivers/spi/spi-bcm2835.c +++ b/drivers/spi/spi-bcm2835.c | |||
@@ -395,7 +395,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_spi_match); | |||
395 | static struct platform_driver bcm2835_spi_driver = { | 395 | static struct platform_driver bcm2835_spi_driver = { |
396 | .driver = { | 396 | .driver = { |
397 | .name = DRV_NAME, | 397 | .name = DRV_NAME, |
398 | .owner = THIS_MODULE, | ||
399 | .of_match_table = bcm2835_spi_match, | 398 | .of_match_table = bcm2835_spi_match, |
400 | }, | 399 | }, |
401 | .probe = bcm2835_spi_probe, | 400 | .probe = bcm2835_spi_probe, |
diff --git a/drivers/spi/spi-bcm63xx-hsspi.c b/drivers/spi/spi-bcm63xx-hsspi.c index 86f5a98aa7a2..f5ca6dc3a157 100644 --- a/drivers/spi/spi-bcm63xx-hsspi.c +++ b/drivers/spi/spi-bcm63xx-hsspi.c | |||
@@ -459,7 +459,6 @@ static SIMPLE_DEV_PM_OPS(bcm63xx_hsspi_pm_ops, bcm63xx_hsspi_suspend, | |||
459 | static struct platform_driver bcm63xx_hsspi_driver = { | 459 | static struct platform_driver bcm63xx_hsspi_driver = { |
460 | .driver = { | 460 | .driver = { |
461 | .name = "bcm63xx-hsspi", | 461 | .name = "bcm63xx-hsspi", |
462 | .owner = THIS_MODULE, | ||
463 | .pm = &bcm63xx_hsspi_pm_ops, | 462 | .pm = &bcm63xx_hsspi_pm_ops, |
464 | }, | 463 | }, |
465 | .probe = bcm63xx_hsspi_probe, | 464 | .probe = bcm63xx_hsspi_probe, |
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 8510400e7867..c20530982e26 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c | |||
@@ -469,7 +469,6 @@ static const struct dev_pm_ops bcm63xx_spi_pm_ops = { | |||
469 | static struct platform_driver bcm63xx_spi_driver = { | 469 | static struct platform_driver bcm63xx_spi_driver = { |
470 | .driver = { | 470 | .driver = { |
471 | .name = "bcm63xx-spi", | 471 | .name = "bcm63xx-spi", |
472 | .owner = THIS_MODULE, | ||
473 | .pm = &bcm63xx_spi_pm_ops, | 472 | .pm = &bcm63xx_spi_pm_ops, |
474 | }, | 473 | }, |
475 | .probe = bcm63xx_spi_probe, | 474 | .probe = bcm63xx_spi_probe, |
diff --git a/drivers/spi/spi-bfin-sport.c b/drivers/spi/spi-bfin-sport.c index f515c5e9db57..a78693189f45 100644 --- a/drivers/spi/spi-bfin-sport.c +++ b/drivers/spi/spi-bfin-sport.c | |||
@@ -921,7 +921,6 @@ static SIMPLE_DEV_PM_OPS(bfin_sport_spi_pm_ops, bfin_sport_spi_suspend, | |||
921 | static struct platform_driver bfin_sport_spi_driver = { | 921 | static struct platform_driver bfin_sport_spi_driver = { |
922 | .driver = { | 922 | .driver = { |
923 | .name = DRV_NAME, | 923 | .name = DRV_NAME, |
924 | .owner = THIS_MODULE, | ||
925 | .pm = BFIN_SPORT_SPI_PM_OPS, | 924 | .pm = BFIN_SPORT_SPI_PM_OPS, |
926 | }, | 925 | }, |
927 | .probe = bfin_sport_spi_probe, | 926 | .probe = bfin_sport_spi_probe, |
diff --git a/drivers/spi/spi-bfin5xx.c b/drivers/spi/spi-bfin5xx.c index ebf720b88a2a..37079937d2f7 100644 --- a/drivers/spi/spi-bfin5xx.c +++ b/drivers/spi/spi-bfin5xx.c | |||
@@ -1455,7 +1455,6 @@ MODULE_ALIAS("platform:bfin-spi"); | |||
1455 | static struct platform_driver bfin_spi_driver = { | 1455 | static struct platform_driver bfin_spi_driver = { |
1456 | .driver = { | 1456 | .driver = { |
1457 | .name = DRV_NAME, | 1457 | .name = DRV_NAME, |
1458 | .owner = THIS_MODULE, | ||
1459 | .pm = BFIN_SPI_PM_OPS, | 1458 | .pm = BFIN_SPI_PM_OPS, |
1460 | }, | 1459 | }, |
1461 | .probe = bfin_spi_probe, | 1460 | .probe = bfin_spi_probe, |
diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-clps711x.c index 181cf2262006..8c30de0315e7 100644 --- a/drivers/spi/spi-clps711x.c +++ b/drivers/spi/spi-clps711x.c | |||
@@ -203,7 +203,6 @@ err_out: | |||
203 | static struct platform_driver clps711x_spi_driver = { | 203 | static struct platform_driver clps711x_spi_driver = { |
204 | .driver = { | 204 | .driver = { |
205 | .name = DRIVER_NAME, | 205 | .name = DRIVER_NAME, |
206 | .owner = THIS_MODULE, | ||
207 | }, | 206 | }, |
208 | .probe = spi_clps711x_probe, | 207 | .probe = spi_clps711x_probe, |
209 | }; | 208 | }; |
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c index 63700ab7bd9f..b3707badb1e5 100644 --- a/drivers/spi/spi-davinci.c +++ b/drivers/spi/spi-davinci.c | |||
@@ -1119,7 +1119,6 @@ static int davinci_spi_remove(struct platform_device *pdev) | |||
1119 | static struct platform_driver davinci_spi_driver = { | 1119 | static struct platform_driver davinci_spi_driver = { |
1120 | .driver = { | 1120 | .driver = { |
1121 | .name = "spi_davinci", | 1121 | .name = "spi_davinci", |
1122 | .owner = THIS_MODULE, | ||
1123 | .of_match_table = of_match_ptr(davinci_spi_of_match), | 1122 | .of_match_table = of_match_ptr(davinci_spi_of_match), |
1124 | }, | 1123 | }, |
1125 | .probe = davinci_spi_probe, | 1124 | .probe = davinci_spi_probe, |
diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-mmio.c index 21ce0e36fa00..eb03e1215195 100644 --- a/drivers/spi/spi-dw-mmio.c +++ b/drivers/spi/spi-dw-mmio.c | |||
@@ -135,7 +135,6 @@ static struct platform_driver dw_spi_mmio_driver = { | |||
135 | .remove = dw_spi_mmio_remove, | 135 | .remove = dw_spi_mmio_remove, |
136 | .driver = { | 136 | .driver = { |
137 | .name = DRIVER_NAME, | 137 | .name = DRIVER_NAME, |
138 | .owner = THIS_MODULE, | ||
139 | .of_match_table = dw_spi_mmio_of_match, | 138 | .of_match_table = dw_spi_mmio_of_match, |
140 | }, | 139 | }, |
141 | }; | 140 | }; |
diff --git a/drivers/spi/spi-efm32.c b/drivers/spi/spi-efm32.c index 6caeb1cac0f3..065fe8744989 100644 --- a/drivers/spi/spi-efm32.c +++ b/drivers/spi/spi-efm32.c | |||
@@ -494,7 +494,6 @@ static struct platform_driver efm32_spi_driver = { | |||
494 | 494 | ||
495 | .driver = { | 495 | .driver = { |
496 | .name = DRIVER_NAME, | 496 | .name = DRIVER_NAME, |
497 | .owner = THIS_MODULE, | ||
498 | .of_match_table = efm32_spi_dt_ids, | 497 | .of_match_table = efm32_spi_dt_ids, |
499 | }, | 498 | }, |
500 | }; | 499 | }; |
diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index bf9728773247..bb00be8d1851 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c | |||
@@ -964,7 +964,6 @@ static int ep93xx_spi_remove(struct platform_device *pdev) | |||
964 | static struct platform_driver ep93xx_spi_driver = { | 964 | static struct platform_driver ep93xx_spi_driver = { |
965 | .driver = { | 965 | .driver = { |
966 | .name = "ep93xx-spi", | 966 | .name = "ep93xx-spi", |
967 | .owner = THIS_MODULE, | ||
968 | }, | 967 | }, |
969 | .probe = ep93xx_spi_probe, | 968 | .probe = ep93xx_spi_probe, |
970 | .remove = ep93xx_spi_remove, | 969 | .remove = ep93xx_spi_remove, |
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c index f73b3004d6d3..912b9037e9cf 100644 --- a/drivers/spi/spi-falcon.c +++ b/drivers/spi/spi-falcon.c | |||
@@ -441,7 +441,6 @@ static struct platform_driver falcon_sflash_driver = { | |||
441 | .probe = falcon_sflash_probe, | 441 | .probe = falcon_sflash_probe, |
442 | .driver = { | 442 | .driver = { |
443 | .name = DRV_NAME, | 443 | .name = DRV_NAME, |
444 | .owner = THIS_MODULE, | ||
445 | .of_match_table = falcon_sflash_match, | 444 | .of_match_table = falcon_sflash_match, |
446 | } | 445 | } |
447 | }; | 446 | }; |
diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index a7f94b6a9e70..cff2ebd97463 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c | |||
@@ -827,7 +827,6 @@ MODULE_DEVICE_TABLE(of, of_fsl_espi_match); | |||
827 | static struct platform_driver fsl_espi_driver = { | 827 | static struct platform_driver fsl_espi_driver = { |
828 | .driver = { | 828 | .driver = { |
829 | .name = "fsl_espi", | 829 | .name = "fsl_espi", |
830 | .owner = THIS_MODULE, | ||
831 | .of_match_table = of_fsl_espi_match, | 830 | .of_match_table = of_fsl_espi_match, |
832 | .pm = &espi_pm, | 831 | .pm = &espi_pm, |
833 | }, | 832 | }, |
diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index ed792880c9d6..048f4577e5aa 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c | |||
@@ -882,7 +882,6 @@ static int of_fsl_spi_remove(struct platform_device *ofdev) | |||
882 | static struct platform_driver of_fsl_spi_driver = { | 882 | static struct platform_driver of_fsl_spi_driver = { |
883 | .driver = { | 883 | .driver = { |
884 | .name = "fsl_spi", | 884 | .name = "fsl_spi", |
885 | .owner = THIS_MODULE, | ||
886 | .of_match_table = of_fsl_spi_match, | 885 | .of_match_table = of_fsl_spi_match, |
887 | }, | 886 | }, |
888 | .probe = of_fsl_spi_probe, | 887 | .probe = of_fsl_spi_probe, |
@@ -929,7 +928,6 @@ static struct platform_driver mpc8xxx_spi_driver = { | |||
929 | .remove = plat_mpc8xxx_spi_remove, | 928 | .remove = plat_mpc8xxx_spi_remove, |
930 | .driver = { | 929 | .driver = { |
931 | .name = "mpc8xxx_spi", | 930 | .name = "mpc8xxx_spi", |
932 | .owner = THIS_MODULE, | ||
933 | }, | 931 | }, |
934 | }; | 932 | }; |
935 | 933 | ||
diff --git a/drivers/spi/spi-gpio.c b/drivers/spi/spi-gpio.c index 9f595535cf27..4a00b7c15b05 100644 --- a/drivers/spi/spi-gpio.c +++ b/drivers/spi/spi-gpio.c | |||
@@ -524,7 +524,6 @@ MODULE_ALIAS("platform:" DRIVER_NAME); | |||
524 | static struct platform_driver spi_gpio_driver = { | 524 | static struct platform_driver spi_gpio_driver = { |
525 | .driver = { | 525 | .driver = { |
526 | .name = DRIVER_NAME, | 526 | .name = DRIVER_NAME, |
527 | .owner = THIS_MODULE, | ||
528 | .of_match_table = of_match_ptr(spi_gpio_dt_ids), | 527 | .of_match_table = of_match_ptr(spi_gpio_dt_ids), |
529 | }, | 528 | }, |
530 | .probe = spi_gpio_probe, | 529 | .probe = spi_gpio_probe, |
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c index 3637847b5370..961b97d43b43 100644 --- a/drivers/spi/spi-imx.c +++ b/drivers/spi/spi-imx.c | |||
@@ -1231,7 +1231,6 @@ static int spi_imx_remove(struct platform_device *pdev) | |||
1231 | static struct platform_driver spi_imx_driver = { | 1231 | static struct platform_driver spi_imx_driver = { |
1232 | .driver = { | 1232 | .driver = { |
1233 | .name = DRIVER_NAME, | 1233 | .name = DRIVER_NAME, |
1234 | .owner = THIS_MODULE, | ||
1235 | .of_match_table = spi_imx_dt_ids, | 1234 | .of_match_table = spi_imx_dt_ids, |
1236 | }, | 1235 | }, |
1237 | .id_table = spi_imx_devtype, | 1236 | .id_table = spi_imx_devtype, |
diff --git a/drivers/spi/spi-mpc512x-psc.c b/drivers/spi/spi-mpc512x-psc.c index 577d23a12763..ecae0d4e2945 100644 --- a/drivers/spi/spi-mpc512x-psc.c +++ b/drivers/spi/spi-mpc512x-psc.c | |||
@@ -600,7 +600,6 @@ static struct platform_driver mpc512x_psc_spi_of_driver = { | |||
600 | .remove = mpc512x_psc_spi_of_remove, | 600 | .remove = mpc512x_psc_spi_of_remove, |
601 | .driver = { | 601 | .driver = { |
602 | .name = "mpc512x-psc-spi", | 602 | .name = "mpc512x-psc-spi", |
603 | .owner = THIS_MODULE, | ||
604 | .of_match_table = mpc512x_psc_spi_of_match, | 603 | .of_match_table = mpc512x_psc_spi_of_match, |
605 | }, | 604 | }, |
606 | }; | 605 | }; |
diff --git a/drivers/spi/spi-mpc52xx-psc.c b/drivers/spi/spi-mpc52xx-psc.c index de532aa11d34..72d11ebefb28 100644 --- a/drivers/spi/spi-mpc52xx-psc.c +++ b/drivers/spi/spi-mpc52xx-psc.c | |||
@@ -508,7 +508,6 @@ static struct platform_driver mpc52xx_psc_spi_of_driver = { | |||
508 | .remove = mpc52xx_psc_spi_of_remove, | 508 | .remove = mpc52xx_psc_spi_of_remove, |
509 | .driver = { | 509 | .driver = { |
510 | .name = "mpc52xx-psc-spi", | 510 | .name = "mpc52xx-psc-spi", |
511 | .owner = THIS_MODULE, | ||
512 | .of_match_table = mpc52xx_psc_spi_of_match, | 511 | .of_match_table = mpc52xx_psc_spi_of_match, |
513 | }, | 512 | }, |
514 | }; | 513 | }; |
diff --git a/drivers/spi/spi-mpc52xx.c b/drivers/spi/spi-mpc52xx.c index b07db4b62d80..c36002110c30 100644 --- a/drivers/spi/spi-mpc52xx.c +++ b/drivers/spi/spi-mpc52xx.c | |||
@@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_spi_match); | |||
543 | static struct platform_driver mpc52xx_spi_of_driver = { | 543 | static struct platform_driver mpc52xx_spi_of_driver = { |
544 | .driver = { | 544 | .driver = { |
545 | .name = "mpc52xx-spi", | 545 | .name = "mpc52xx-spi", |
546 | .owner = THIS_MODULE, | ||
547 | .of_match_table = mpc52xx_spi_match, | 546 | .of_match_table = mpc52xx_spi_match, |
548 | }, | 547 | }, |
549 | .probe = mpc52xx_spi_probe, | 548 | .probe = mpc52xx_spi_probe, |
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c index 51460878af04..11de3191f819 100644 --- a/drivers/spi/spi-mxs.c +++ b/drivers/spi/spi-mxs.c | |||
@@ -572,7 +572,6 @@ static struct platform_driver mxs_spi_driver = { | |||
572 | .remove = mxs_spi_remove, | 572 | .remove = mxs_spi_remove, |
573 | .driver = { | 573 | .driver = { |
574 | .name = DRIVER_NAME, | 574 | .name = DRIVER_NAME, |
575 | .owner = THIS_MODULE, | ||
576 | .of_match_table = mxs_spi_dt_ids, | 575 | .of_match_table = mxs_spi_dt_ids, |
577 | }, | 576 | }, |
578 | }; | 577 | }; |
diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc900.c index 73e91d5a43df..f51a058e7678 100644 --- a/drivers/spi/spi-nuc900.c +++ b/drivers/spi/spi-nuc900.c | |||
@@ -423,7 +423,6 @@ static struct platform_driver nuc900_spi_driver = { | |||
423 | .remove = nuc900_spi_remove, | 423 | .remove = nuc900_spi_remove, |
424 | .driver = { | 424 | .driver = { |
425 | .name = "nuc900-spi", | 425 | .name = "nuc900-spi", |
426 | .owner = THIS_MODULE, | ||
427 | }, | 426 | }, |
428 | }; | 427 | }; |
429 | module_platform_driver(nuc900_spi_driver); | 428 | module_platform_driver(nuc900_spi_driver); |
diff --git a/drivers/spi/spi-oc-tiny.c b/drivers/spi/spi-oc-tiny.c index 8998d11c7238..76656a77ec12 100644 --- a/drivers/spi/spi-oc-tiny.c +++ b/drivers/spi/spi-oc-tiny.c | |||
@@ -351,7 +351,6 @@ static struct platform_driver tiny_spi_driver = { | |||
351 | .remove = tiny_spi_remove, | 351 | .remove = tiny_spi_remove, |
352 | .driver = { | 352 | .driver = { |
353 | .name = DRV_NAME, | 353 | .name = DRV_NAME, |
354 | .owner = THIS_MODULE, | ||
355 | .pm = NULL, | 354 | .pm = NULL, |
356 | .of_match_table = of_match_ptr(tiny_spi_match), | 355 | .of_match_table = of_match_ptr(tiny_spi_match), |
357 | }, | 356 | }, |
diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c index c5e2f718eebd..b283d537d16a 100644 --- a/drivers/spi/spi-octeon.c +++ b/drivers/spi/spi-octeon.c | |||
@@ -247,7 +247,6 @@ MODULE_DEVICE_TABLE(of, octeon_spi_match); | |||
247 | static struct platform_driver octeon_spi_driver = { | 247 | static struct platform_driver octeon_spi_driver = { |
248 | .driver = { | 248 | .driver = { |
249 | .name = "spi-octeon", | 249 | .name = "spi-octeon", |
250 | .owner = THIS_MODULE, | ||
251 | .of_match_table = octeon_spi_match, | 250 | .of_match_table = octeon_spi_match, |
252 | }, | 251 | }, |
253 | .probe = octeon_spi_probe, | 252 | .probe = octeon_spi_probe, |
diff --git a/drivers/spi/spi-omap-100k.c b/drivers/spi/spi-omap-100k.c index fb522765ce5a..79399ae9c84c 100644 --- a/drivers/spi/spi-omap-100k.c +++ b/drivers/spi/spi-omap-100k.c | |||
@@ -453,7 +453,6 @@ err: | |||
453 | static struct platform_driver omap1_spi100k_driver = { | 453 | static struct platform_driver omap1_spi100k_driver = { |
454 | .driver = { | 454 | .driver = { |
455 | .name = "omap1_spi100k", | 455 | .name = "omap1_spi100k", |
456 | .owner = THIS_MODULE, | ||
457 | }, | 456 | }, |
458 | .probe = omap1_spi100k_probe, | 457 | .probe = omap1_spi100k_probe, |
459 | }; | 458 | }; |
diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c index 8bca90a19dd1..daf1ada5cd11 100644 --- a/drivers/spi/spi-omap-uwire.c +++ b/drivers/spi/spi-omap-uwire.c | |||
@@ -527,7 +527,6 @@ MODULE_ALIAS("platform:omap_uwire"); | |||
527 | static struct platform_driver uwire_driver = { | 527 | static struct platform_driver uwire_driver = { |
528 | .driver = { | 528 | .driver = { |
529 | .name = "omap_uwire", | 529 | .name = "omap_uwire", |
530 | .owner = THIS_MODULE, | ||
531 | }, | 530 | }, |
532 | .probe = uwire_probe, | 531 | .probe = uwire_probe, |
533 | .remove = uwire_remove, | 532 | .remove = uwire_remove, |
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 352eed7463ac..3bc3cbabbbc0 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b/drivers/spi/spi-omap2-mcspi.c | |||
@@ -1521,7 +1521,6 @@ static const struct dev_pm_ops omap2_mcspi_pm_ops = { | |||
1521 | static struct platform_driver omap2_mcspi_driver = { | 1521 | static struct platform_driver omap2_mcspi_driver = { |
1522 | .driver = { | 1522 | .driver = { |
1523 | .name = "omap2_mcspi", | 1523 | .name = "omap2_mcspi", |
1524 | .owner = THIS_MODULE, | ||
1525 | .pm = &omap2_mcspi_pm_ops, | 1524 | .pm = &omap2_mcspi_pm_ops, |
1526 | .of_match_table = omap_mcspi_of_match, | 1525 | .of_match_table = omap_mcspi_of_match, |
1527 | }, | 1526 | }, |
diff --git a/drivers/spi/spi-orion.c b/drivers/spi/spi-orion.c index c76b7d7879df..932da4825e74 100644 --- a/drivers/spi/spi-orion.c +++ b/drivers/spi/spi-orion.c | |||
@@ -551,7 +551,6 @@ static const struct dev_pm_ops orion_spi_pm_ops = { | |||
551 | static struct platform_driver orion_spi_driver = { | 551 | static struct platform_driver orion_spi_driver = { |
552 | .driver = { | 552 | .driver = { |
553 | .name = DRIVER_NAME, | 553 | .name = DRIVER_NAME, |
554 | .owner = THIS_MODULE, | ||
555 | .pm = &orion_spi_pm_ops, | 554 | .pm = &orion_spi_pm_ops, |
556 | .of_match_table = of_match_ptr(orion_spi_of_match_table), | 555 | .of_match_table = of_match_ptr(orion_spi_of_match_table), |
557 | }, | 556 | }, |
diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 80b8408ac3e3..54fb984a3e17 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c | |||
@@ -575,7 +575,6 @@ static struct platform_driver spi_ppc4xx_of_driver = { | |||
575 | .remove = spi_ppc4xx_of_remove, | 575 | .remove = spi_ppc4xx_of_remove, |
576 | .driver = { | 576 | .driver = { |
577 | .name = DRIVER_NAME, | 577 | .name = DRIVER_NAME, |
578 | .owner = THIS_MODULE, | ||
579 | .of_match_table = spi_ppc4xx_of_match, | 578 | .of_match_table = spi_ppc4xx_of_match, |
580 | }, | 579 | }, |
581 | }; | 580 | }; |
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index d8a105f76837..00850f83aeba 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c | |||
@@ -1331,7 +1331,6 @@ static const struct dev_pm_ops pxa2xx_spi_pm_ops = { | |||
1331 | static struct platform_driver driver = { | 1331 | static struct platform_driver driver = { |
1332 | .driver = { | 1332 | .driver = { |
1333 | .name = "pxa2xx-spi", | 1333 | .name = "pxa2xx-spi", |
1334 | .owner = THIS_MODULE, | ||
1335 | .pm = &pxa2xx_spi_pm_ops, | 1334 | .pm = &pxa2xx_spi_pm_ops, |
1336 | .acpi_match_table = ACPI_PTR(pxa2xx_spi_acpi_match), | 1335 | .acpi_match_table = ACPI_PTR(pxa2xx_spi_acpi_match), |
1337 | }, | 1336 | }, |
diff --git a/drivers/spi/spi-qup.c b/drivers/spi/spi-qup.c index 9f83d2950748..390ed712eeed 100644 --- a/drivers/spi/spi-qup.c +++ b/drivers/spi/spi-qup.c | |||
@@ -756,7 +756,6 @@ static const struct dev_pm_ops spi_qup_dev_pm_ops = { | |||
756 | static struct platform_driver spi_qup_driver = { | 756 | static struct platform_driver spi_qup_driver = { |
757 | .driver = { | 757 | .driver = { |
758 | .name = "spi_qup", | 758 | .name = "spi_qup", |
759 | .owner = THIS_MODULE, | ||
760 | .pm = &spi_qup_dev_pm_ops, | 759 | .pm = &spi_qup_dev_pm_ops, |
761 | .of_match_table = spi_qup_dt_match, | 760 | .of_match_table = spi_qup_dt_match, |
762 | }, | 761 | }, |
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 87bc16f491f0..a0164c762a64 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c | |||
@@ -848,7 +848,6 @@ MODULE_DEVICE_TABLE(of, rockchip_spi_dt_match); | |||
848 | static struct platform_driver rockchip_spi_driver = { | 848 | static struct platform_driver rockchip_spi_driver = { |
849 | .driver = { | 849 | .driver = { |
850 | .name = DRIVER_NAME, | 850 | .name = DRIVER_NAME, |
851 | .owner = THIS_MODULE, | ||
852 | .pm = &rockchip_spi_pm, | 851 | .pm = &rockchip_spi_pm, |
853 | .of_match_table = of_match_ptr(rockchip_spi_dt_match), | 852 | .of_match_table = of_match_ptr(rockchip_spi_dt_match), |
854 | }, | 853 | }, |
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c index 54bb0faec155..2071f788c6fb 100644 --- a/drivers/spi/spi-rspi.c +++ b/drivers/spi/spi-rspi.c | |||
@@ -1211,7 +1211,6 @@ static struct platform_driver rspi_driver = { | |||
1211 | .id_table = spi_driver_ids, | 1211 | .id_table = spi_driver_ids, |
1212 | .driver = { | 1212 | .driver = { |
1213 | .name = "renesas_spi", | 1213 | .name = "renesas_spi", |
1214 | .owner = THIS_MODULE, | ||
1215 | .of_match_table = of_match_ptr(rspi_of_match), | 1214 | .of_match_table = of_match_ptr(rspi_of_match), |
1216 | }, | 1215 | }, |
1217 | }; | 1216 | }; |
diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index e713737d784f..f747ca269986 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c | |||
@@ -663,7 +663,6 @@ static struct platform_driver s3c24xx_spi_driver = { | |||
663 | .remove = s3c24xx_spi_remove, | 663 | .remove = s3c24xx_spi_remove, |
664 | .driver = { | 664 | .driver = { |
665 | .name = "s3c2410-spi", | 665 | .name = "s3c2410-spi", |
666 | .owner = THIS_MODULE, | ||
667 | .pm = S3C24XX_SPI_PMOPS, | 666 | .pm = S3C24XX_SPI_PMOPS, |
668 | }, | 667 | }, |
669 | }; | 668 | }; |
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 480133ee1eb3..4392b44c7889 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -1381,7 +1381,6 @@ MODULE_DEVICE_TABLE(of, s3c64xx_spi_dt_match); | |||
1381 | static struct platform_driver s3c64xx_spi_driver = { | 1381 | static struct platform_driver s3c64xx_spi_driver = { |
1382 | .driver = { | 1382 | .driver = { |
1383 | .name = "s3c64xx-spi", | 1383 | .name = "s3c64xx-spi", |
1384 | .owner = THIS_MODULE, | ||
1385 | .pm = &s3c64xx_spi_pm, | 1384 | .pm = &s3c64xx_spi_pm, |
1386 | .of_match_table = of_match_ptr(s3c64xx_spi_dt_match), | 1385 | .of_match_table = of_match_ptr(s3c64xx_spi_dt_match), |
1387 | }, | 1386 | }, |
diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c index 94b5faed21e2..fc29233d0650 100644 --- a/drivers/spi/spi-sh-hspi.c +++ b/drivers/spi/spi-sh-hspi.c | |||
@@ -315,7 +315,6 @@ static struct platform_driver hspi_driver = { | |||
315 | .remove = hspi_remove, | 315 | .remove = hspi_remove, |
316 | .driver = { | 316 | .driver = { |
317 | .name = "sh-hspi", | 317 | .name = "sh-hspi", |
318 | .owner = THIS_MODULE, | ||
319 | .of_match_table = hspi_of_match, | 318 | .of_match_table = hspi_of_match, |
320 | }, | 319 | }, |
321 | }; | 320 | }; |
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c index 3f365402fcc0..239be7cbe5a8 100644 --- a/drivers/spi/spi-sh-msiof.c +++ b/drivers/spi/spi-sh-msiof.c | |||
@@ -1235,7 +1235,6 @@ static struct platform_driver sh_msiof_spi_drv = { | |||
1235 | .id_table = spi_driver_ids, | 1235 | .id_table = spi_driver_ids, |
1236 | .driver = { | 1236 | .driver = { |
1237 | .name = "spi_sh_msiof", | 1237 | .name = "spi_sh_msiof", |
1238 | .owner = THIS_MODULE, | ||
1239 | .of_match_table = of_match_ptr(sh_msiof_match), | 1238 | .of_match_table = of_match_ptr(sh_msiof_match), |
1240 | }, | 1239 | }, |
1241 | }; | 1240 | }; |
diff --git a/drivers/spi/spi-sh-sci.c b/drivers/spi/spi-sh-sci.c index b83dd733684c..a9beeeed812c 100644 --- a/drivers/spi/spi-sh-sci.c +++ b/drivers/spi/spi-sh-sci.c | |||
@@ -187,7 +187,6 @@ static struct platform_driver sh_sci_spi_drv = { | |||
187 | .remove = sh_sci_spi_remove, | 187 | .remove = sh_sci_spi_remove, |
188 | .driver = { | 188 | .driver = { |
189 | .name = "spi_sh_sci", | 189 | .name = "spi_sh_sci", |
190 | .owner = THIS_MODULE, | ||
191 | }, | 190 | }, |
192 | }; | 191 | }; |
193 | module_platform_driver(sh_sci_spi_drv); | 192 | module_platform_driver(sh_sci_spi_drv); |
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c index 8e171a76049f..1cfc906dd174 100644 --- a/drivers/spi/spi-sh.c +++ b/drivers/spi/spi-sh.c | |||
@@ -532,7 +532,6 @@ static struct platform_driver spi_sh_driver = { | |||
532 | .remove = spi_sh_remove, | 532 | .remove = spi_sh_remove, |
533 | .driver = { | 533 | .driver = { |
534 | .name = "sh_spi", | 534 | .name = "sh_spi", |
535 | .owner = THIS_MODULE, | ||
536 | }, | 535 | }, |
537 | }; | 536 | }; |
538 | module_platform_driver(spi_sh_driver); | 537 | module_platform_driver(spi_sh_driver); |
diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c index 39e2c0a55a28..515184cfba4e 100644 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c | |||
@@ -820,7 +820,6 @@ MODULE_DEVICE_TABLE(of, spi_sirfsoc_of_match); | |||
820 | static struct platform_driver spi_sirfsoc_driver = { | 820 | static struct platform_driver spi_sirfsoc_driver = { |
821 | .driver = { | 821 | .driver = { |
822 | .name = DRIVER_NAME, | 822 | .name = DRIVER_NAME, |
823 | .owner = THIS_MODULE, | ||
824 | .pm = &spi_sirfsoc_pm_ops, | 823 | .pm = &spi_sirfsoc_pm_ops, |
825 | .of_match_table = spi_sirfsoc_of_match, | 824 | .of_match_table = spi_sirfsoc_of_match, |
826 | }, | 825 | }, |
diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c index 85204c93f3d3..fbb0a4d74e91 100644 --- a/drivers/spi/spi-sun4i.c +++ b/drivers/spi/spi-sun4i.c | |||
@@ -464,7 +464,6 @@ static struct platform_driver sun4i_spi_driver = { | |||
464 | .remove = sun4i_spi_remove, | 464 | .remove = sun4i_spi_remove, |
465 | .driver = { | 465 | .driver = { |
466 | .name = "sun4i-spi", | 466 | .name = "sun4i-spi", |
467 | .owner = THIS_MODULE, | ||
468 | .of_match_table = sun4i_spi_match, | 467 | .of_match_table = sun4i_spi_match, |
469 | .pm = &sun4i_spi_pm_ops, | 468 | .pm = &sun4i_spi_pm_ops, |
470 | }, | 469 | }, |
diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c index bd24093f4038..ac48f59705a8 100644 --- a/drivers/spi/spi-sun6i.c +++ b/drivers/spi/spi-sun6i.c | |||
@@ -470,7 +470,6 @@ static struct platform_driver sun6i_spi_driver = { | |||
470 | .remove = sun6i_spi_remove, | 470 | .remove = sun6i_spi_remove, |
471 | .driver = { | 471 | .driver = { |
472 | .name = "sun6i-spi", | 472 | .name = "sun6i-spi", |
473 | .owner = THIS_MODULE, | ||
474 | .of_match_table = sun6i_spi_match, | 473 | .of_match_table = sun6i_spi_match, |
475 | .pm = &sun6i_spi_pm_ops, | 474 | .pm = &sun6i_spi_pm_ops, |
476 | }, | 475 | }, |
diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c index 795bcbc0131b..73779cecc3bb 100644 --- a/drivers/spi/spi-tegra114.c +++ b/drivers/spi/spi-tegra114.c | |||
@@ -1223,7 +1223,6 @@ static const struct dev_pm_ops tegra_spi_pm_ops = { | |||
1223 | static struct platform_driver tegra_spi_driver = { | 1223 | static struct platform_driver tegra_spi_driver = { |
1224 | .driver = { | 1224 | .driver = { |
1225 | .name = "spi-tegra114", | 1225 | .name = "spi-tegra114", |
1226 | .owner = THIS_MODULE, | ||
1227 | .pm = &tegra_spi_pm_ops, | 1226 | .pm = &tegra_spi_pm_ops, |
1228 | .of_match_table = tegra_spi_of_match, | 1227 | .of_match_table = tegra_spi_of_match, |
1229 | }, | 1228 | }, |
diff --git a/drivers/spi/spi-tegra20-sflash.c b/drivers/spi/spi-tegra20-sflash.c index cd66fe7b78a9..b6558bb6f9df 100644 --- a/drivers/spi/spi-tegra20-sflash.c +++ b/drivers/spi/spi-tegra20-sflash.c | |||
@@ -608,7 +608,6 @@ static const struct dev_pm_ops slink_pm_ops = { | |||
608 | static struct platform_driver tegra_sflash_driver = { | 608 | static struct platform_driver tegra_sflash_driver = { |
609 | .driver = { | 609 | .driver = { |
610 | .name = "spi-tegra-sflash", | 610 | .name = "spi-tegra-sflash", |
611 | .owner = THIS_MODULE, | ||
612 | .pm = &slink_pm_ops, | 611 | .pm = &slink_pm_ops, |
613 | .of_match_table = tegra_sflash_of_match, | 612 | .of_match_table = tegra_sflash_of_match, |
614 | }, | 613 | }, |
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index 0b9e32e9f493..85c91f58b42f 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c | |||
@@ -1224,7 +1224,6 @@ static const struct dev_pm_ops slink_pm_ops = { | |||
1224 | static struct platform_driver tegra_slink_driver = { | 1224 | static struct platform_driver tegra_slink_driver = { |
1225 | .driver = { | 1225 | .driver = { |
1226 | .name = "spi-tegra-slink", | 1226 | .name = "spi-tegra-slink", |
1227 | .owner = THIS_MODULE, | ||
1228 | .pm = &slink_pm_ops, | 1227 | .pm = &slink_pm_ops, |
1229 | .of_match_table = tegra_slink_of_match, | 1228 | .of_match_table = tegra_slink_of_match, |
1230 | }, | 1229 | }, |
diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c index 6c211d1910b0..6146c4cd6583 100644 --- a/drivers/spi/spi-ti-qspi.c +++ b/drivers/spi/spi-ti-qspi.c | |||
@@ -567,7 +567,6 @@ static struct platform_driver ti_qspi_driver = { | |||
567 | .remove = ti_qspi_remove, | 567 | .remove = ti_qspi_remove, |
568 | .driver = { | 568 | .driver = { |
569 | .name = "ti-qspi", | 569 | .name = "ti-qspi", |
570 | .owner = THIS_MODULE, | ||
571 | .pm = &ti_qspi_pm_ops, | 570 | .pm = &ti_qspi_pm_ops, |
572 | .of_match_table = ti_qspi_match, | 571 | .of_match_table = ti_qspi_match, |
573 | } | 572 | } |
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index 0a87ec39f619..be692ad50442 100644 --- a/drivers/spi/spi-topcliff-pch.c +++ b/drivers/spi/spi-topcliff-pch.c | |||
@@ -1561,7 +1561,6 @@ static int pch_spi_pd_resume(struct platform_device *pd_dev) | |||
1561 | static struct platform_driver pch_spi_pd_driver = { | 1561 | static struct platform_driver pch_spi_pd_driver = { |
1562 | .driver = { | 1562 | .driver = { |
1563 | .name = "pch-spi", | 1563 | .name = "pch-spi", |
1564 | .owner = THIS_MODULE, | ||
1565 | }, | 1564 | }, |
1566 | .probe = pch_spi_pd_probe, | 1565 | .probe = pch_spi_pd_probe, |
1567 | .remove = pch_spi_pd_remove, | 1566 | .remove = pch_spi_pd_remove, |
diff --git a/drivers/spi/spi-txx9.c b/drivers/spi/spi-txx9.c index 2501a8373e89..0da7c67f5db4 100644 --- a/drivers/spi/spi-txx9.c +++ b/drivers/spi/spi-txx9.c | |||
@@ -426,7 +426,6 @@ static struct platform_driver txx9spi_driver = { | |||
426 | .remove = txx9spi_remove, | 426 | .remove = txx9spi_remove, |
427 | .driver = { | 427 | .driver = { |
428 | .name = "spi_txx9", | 428 | .name = "spi_txx9", |
429 | .owner = THIS_MODULE, | ||
430 | }, | 429 | }, |
431 | }; | 430 | }; |
432 | 431 | ||
diff --git a/drivers/spi/spi-xtensa-xtfpga.c b/drivers/spi/spi-xtensa-xtfpga.c index 0dc5df5233a9..2e32ea2f194f 100644 --- a/drivers/spi/spi-xtensa-xtfpga.c +++ b/drivers/spi/spi-xtensa-xtfpga.c | |||
@@ -160,7 +160,6 @@ static struct platform_driver xtfpga_spi_driver = { | |||
160 | .remove = xtfpga_spi_remove, | 160 | .remove = xtfpga_spi_remove, |
161 | .driver = { | 161 | .driver = { |
162 | .name = XTFPGA_SPI_NAME, | 162 | .name = XTFPGA_SPI_NAME, |
163 | .owner = THIS_MODULE, | ||
164 | .of_match_table = of_match_ptr(xtfpga_spi_of_match), | 163 | .of_match_table = of_match_ptr(xtfpga_spi_of_match), |
165 | }, | 164 | }, |
166 | }; | 165 | }; |
diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 246e03a18c94..20559ab3466d 100644 --- a/drivers/spmi/spmi-pmic-arb.c +++ b/drivers/spmi/spmi-pmic-arb.c | |||
@@ -768,7 +768,6 @@ static struct platform_driver spmi_pmic_arb_driver = { | |||
768 | .remove = spmi_pmic_arb_remove, | 768 | .remove = spmi_pmic_arb_remove, |
769 | .driver = { | 769 | .driver = { |
770 | .name = "spmi_pmic_arb", | 770 | .name = "spmi_pmic_arb", |
771 | .owner = THIS_MODULE, | ||
772 | .of_match_table = spmi_pmic_arb_match_table, | 771 | .of_match_table = spmi_pmic_arb_match_table, |
773 | }, | 772 | }, |
774 | }; | 773 | }; |
diff --git a/drivers/staging/android/timed_gpio.c b/drivers/staging/android/timed_gpio.c index 8fa4758517c0..c71ed64931ba 100644 --- a/drivers/staging/android/timed_gpio.c +++ b/drivers/staging/android/timed_gpio.c | |||
@@ -157,7 +157,6 @@ static struct platform_driver timed_gpio_driver = { | |||
157 | .remove = timed_gpio_remove, | 157 | .remove = timed_gpio_remove, |
158 | .driver = { | 158 | .driver = { |
159 | .name = TIMED_GPIO_NAME, | 159 | .name = TIMED_GPIO_NAME, |
160 | .owner = THIS_MODULE, | ||
161 | }, | 160 | }, |
162 | }; | 161 | }; |
163 | 162 | ||
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 1ae0013fb118..ed8d86c98f65 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c | |||
@@ -3491,7 +3491,6 @@ static struct platform_driver udc_driver = { | |||
3491 | .suspend = nbu2ss_drv_suspend, | 3491 | .suspend = nbu2ss_drv_suspend, |
3492 | .resume = nbu2ss_drv_resume, | 3492 | .resume = nbu2ss_drv_resume, |
3493 | .driver = { | 3493 | .driver = { |
3494 | .owner = THIS_MODULE, | ||
3495 | .name = driver_name, | 3494 | .name = driver_name, |
3496 | }, | 3495 | }, |
3497 | }; | 3496 | }; |
diff --git a/drivers/staging/iio/adc/ad7606_par.c b/drivers/staging/iio/adc/ad7606_par.c index 7511839ba94e..9e24b4d4455f 100644 --- a/drivers/staging/iio/adc/ad7606_par.c +++ b/drivers/staging/iio/adc/ad7606_par.c | |||
@@ -141,7 +141,6 @@ static struct platform_driver ad7606_driver = { | |||
141 | .id_table = ad7606_driver_ids, | 141 | .id_table = ad7606_driver_ids, |
142 | .driver = { | 142 | .driver = { |
143 | .name = "ad7606", | 143 | .name = "ad7606", |
144 | .owner = THIS_MODULE, | ||
145 | .pm = AD7606_PAR_PM_OPS, | 144 | .pm = AD7606_PAR_PM_OPS, |
146 | }, | 145 | }, |
147 | }; | 146 | }; |
diff --git a/drivers/staging/iio/adc/lpc32xx_adc.c b/drivers/staging/iio/adc/lpc32xx_adc.c index a876ce755351..4708e9a41633 100644 --- a/drivers/staging/iio/adc/lpc32xx_adc.c +++ b/drivers/staging/iio/adc/lpc32xx_adc.c | |||
@@ -204,7 +204,6 @@ static struct platform_driver lpc32xx_adc_driver = { | |||
204 | .probe = lpc32xx_adc_probe, | 204 | .probe = lpc32xx_adc_probe, |
205 | .driver = { | 205 | .driver = { |
206 | .name = MOD_NAME, | 206 | .name = MOD_NAME, |
207 | .owner = THIS_MODULE, | ||
208 | .of_match_table = of_match_ptr(lpc32xx_adc_match), | 207 | .of_match_table = of_match_ptr(lpc32xx_adc_match), |
209 | }, | 208 | }, |
210 | }; | 209 | }; |
diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index 2a29b9baec0d..51931045bedd 100644 --- a/drivers/staging/iio/adc/mxs-lradc.c +++ b/drivers/staging/iio/adc/mxs-lradc.c | |||
@@ -1668,7 +1668,6 @@ static int mxs_lradc_remove(struct platform_device *pdev) | |||
1668 | static struct platform_driver mxs_lradc_driver = { | 1668 | static struct platform_driver mxs_lradc_driver = { |
1669 | .driver = { | 1669 | .driver = { |
1670 | .name = DRIVER_NAME, | 1670 | .name = DRIVER_NAME, |
1671 | .owner = THIS_MODULE, | ||
1672 | .of_match_table = mxs_lradc_dt_ids, | 1671 | .of_match_table = mxs_lradc_dt_ids, |
1673 | }, | 1672 | }, |
1674 | .probe = mxs_lradc_probe, | 1673 | .probe = mxs_lradc_probe, |
diff --git a/drivers/staging/iio/adc/spear_adc.c b/drivers/staging/iio/adc/spear_adc.c index c5492ba50751..750697832b96 100644 --- a/drivers/staging/iio/adc/spear_adc.c +++ b/drivers/staging/iio/adc/spear_adc.c | |||
@@ -389,7 +389,6 @@ static struct platform_driver spear_adc_driver = { | |||
389 | .remove = spear_adc_remove, | 389 | .remove = spear_adc_remove, |
390 | .driver = { | 390 | .driver = { |
391 | .name = SPEAR_ADC_MOD_NAME, | 391 | .name = SPEAR_ADC_MOD_NAME, |
392 | .owner = THIS_MODULE, | ||
393 | .of_match_table = of_match_ptr(spear_adc_dt_ids), | 392 | .of_match_table = of_match_ptr(spear_adc_dt_ids), |
394 | }, | 393 | }, |
395 | }; | 394 | }; |
diff --git a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c index a21b7c514776..2af8d677d4ed 100644 --- a/drivers/staging/iio/trigger/iio-trig-bfin-timer.c +++ b/drivers/staging/iio/trigger/iio-trig-bfin-timer.c | |||
@@ -279,7 +279,6 @@ static int iio_bfin_tmr_trigger_remove(struct platform_device *pdev) | |||
279 | static struct platform_driver iio_bfin_tmr_trigger_driver = { | 279 | static struct platform_driver iio_bfin_tmr_trigger_driver = { |
280 | .driver = { | 280 | .driver = { |
281 | .name = "iio_bfin_tmr_trigger", | 281 | .name = "iio_bfin_tmr_trigger", |
282 | .owner = THIS_MODULE, | ||
283 | }, | 282 | }, |
284 | .probe = iio_bfin_tmr_trigger_probe, | 283 | .probe = iio_bfin_tmr_trigger_probe, |
285 | .remove = iio_bfin_tmr_trigger_remove, | 284 | .remove = iio_bfin_tmr_trigger_remove, |
diff --git a/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c b/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c index 8f0a2ffa7150..82c2e6d3f5a7 100644 --- a/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c +++ b/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c | |||
@@ -206,7 +206,6 @@ static struct platform_driver iio_trig_periodic_rtc_driver = { | |||
206 | .remove = iio_trig_periodic_rtc_remove, | 206 | .remove = iio_trig_periodic_rtc_remove, |
207 | .driver = { | 207 | .driver = { |
208 | .name = "iio_prtc_trigger", | 208 | .name = "iio_prtc_trigger", |
209 | .owner = THIS_MODULE, | ||
210 | }, | 209 | }, |
211 | }; | 210 | }; |
212 | 211 | ||
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c index 9cb222e2996f..ad6173500bfc 100644 --- a/drivers/staging/imx-drm/imx-drm-core.c +++ b/drivers/staging/imx-drm/imx-drm-core.c | |||
@@ -691,7 +691,6 @@ static struct platform_driver imx_drm_pdrv = { | |||
691 | .probe = imx_drm_platform_probe, | 691 | .probe = imx_drm_platform_probe, |
692 | .remove = imx_drm_platform_remove, | 692 | .remove = imx_drm_platform_remove, |
693 | .driver = { | 693 | .driver = { |
694 | .owner = THIS_MODULE, | ||
695 | .name = "imx-drm", | 694 | .name = "imx-drm", |
696 | .pm = &imx_drm_pm_ops, | 695 | .pm = &imx_drm_pm_ops, |
697 | .of_match_table = imx_drm_dt_ids, | 696 | .of_match_table = imx_drm_dt_ids, |
diff --git a/drivers/staging/imx-drm/imx-hdmi.c b/drivers/staging/imx-drm/imx-hdmi.c index aaec6b2cdf56..ddc53e039530 100644 --- a/drivers/staging/imx-drm/imx-hdmi.c +++ b/drivers/staging/imx-drm/imx-hdmi.c | |||
@@ -1754,7 +1754,6 @@ static struct platform_driver imx_hdmi_driver = { | |||
1754 | .remove = imx_hdmi_platform_remove, | 1754 | .remove = imx_hdmi_platform_remove, |
1755 | .driver = { | 1755 | .driver = { |
1756 | .name = "imx-hdmi", | 1756 | .name = "imx-hdmi", |
1757 | .owner = THIS_MODULE, | ||
1758 | .of_match_table = imx_hdmi_dt_ids, | 1757 | .of_match_table = imx_hdmi_dt_ids, |
1759 | }, | 1758 | }, |
1760 | }; | 1759 | }; |
diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c index 4662e00b456a..2638dc1671d0 100644 --- a/drivers/staging/imx-drm/imx-ldb.c +++ b/drivers/staging/imx-drm/imx-ldb.c | |||
@@ -604,7 +604,6 @@ static struct platform_driver imx_ldb_driver = { | |||
604 | .driver = { | 604 | .driver = { |
605 | .of_match_table = imx_ldb_dt_ids, | 605 | .of_match_table = imx_ldb_dt_ids, |
606 | .name = DRIVER_NAME, | 606 | .name = DRIVER_NAME, |
607 | .owner = THIS_MODULE, | ||
608 | }, | 607 | }, |
609 | }; | 608 | }; |
610 | 609 | ||
diff --git a/drivers/staging/imx-drm/imx-tve.c b/drivers/staging/imx-drm/imx-tve.c index 42c651be6c20..64b54d7f996c 100644 --- a/drivers/staging/imx-drm/imx-tve.c +++ b/drivers/staging/imx-drm/imx-tve.c | |||
@@ -724,7 +724,6 @@ static struct platform_driver imx_tve_driver = { | |||
724 | .driver = { | 724 | .driver = { |
725 | .of_match_table = imx_tve_dt_ids, | 725 | .of_match_table = imx_tve_dt_ids, |
726 | .name = "imx-tve", | 726 | .name = "imx-tve", |
727 | .owner = THIS_MODULE, | ||
728 | }, | 727 | }, |
729 | }; | 728 | }; |
730 | 729 | ||
diff --git a/drivers/staging/imx-drm/parallel-display.c b/drivers/staging/imx-drm/parallel-display.c index 015a454b87e1..8a76a5c1c34b 100644 --- a/drivers/staging/imx-drm/parallel-display.c +++ b/drivers/staging/imx-drm/parallel-display.c | |||
@@ -284,7 +284,6 @@ static struct platform_driver imx_pd_driver = { | |||
284 | .driver = { | 284 | .driver = { |
285 | .of_match_table = imx_pd_dt_ids, | 285 | .of_match_table = imx_pd_dt_ids, |
286 | .name = "imx-parallel-display", | 286 | .name = "imx-parallel-display", |
287 | .owner = THIS_MODULE, | ||
288 | }, | 287 | }, |
289 | }; | 288 | }; |
290 | 289 | ||
diff --git a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c b/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c index a862b28092e4..291bf11e09a1 100644 --- a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c +++ b/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c | |||
@@ -707,7 +707,6 @@ static int vpfe_remove(struct platform_device *pdev) | |||
707 | static struct platform_driver vpfe_driver = { | 707 | static struct platform_driver vpfe_driver = { |
708 | .driver = { | 708 | .driver = { |
709 | .name = CAPTURE_DRV_NAME, | 709 | .name = CAPTURE_DRV_NAME, |
710 | .owner = THIS_MODULE, | ||
711 | }, | 710 | }, |
712 | .probe = vpfe_probe, | 711 | .probe = vpfe_probe, |
713 | .remove = vpfe_remove, | 712 | .remove = vpfe_remove, |
diff --git a/drivers/staging/media/lirc/lirc_parallel.c b/drivers/staging/media/lirc/lirc_parallel.c index 5156c2181016..19c5c21babf5 100644 --- a/drivers/staging/media/lirc/lirc_parallel.c +++ b/drivers/staging/media/lirc/lirc_parallel.c | |||
@@ -605,7 +605,6 @@ static struct platform_driver lirc_parallel_driver = { | |||
605 | .resume = lirc_parallel_resume, | 605 | .resume = lirc_parallel_resume, |
606 | .driver = { | 606 | .driver = { |
607 | .name = LIRC_DRIVER_NAME, | 607 | .name = LIRC_DRIVER_NAME, |
608 | .owner = THIS_MODULE, | ||
609 | }, | 608 | }, |
610 | }; | 609 | }; |
611 | 610 | ||
diff --git a/drivers/staging/media/lirc/lirc_serial.c b/drivers/staging/media/lirc/lirc_serial.c index 181b92bfe25d..eb4ccb8d2a93 100644 --- a/drivers/staging/media/lirc/lirc_serial.c +++ b/drivers/staging/media/lirc/lirc_serial.c | |||
@@ -1060,7 +1060,6 @@ static struct platform_driver lirc_serial_driver = { | |||
1060 | .resume = lirc_serial_resume, | 1060 | .resume = lirc_serial_resume, |
1061 | .driver = { | 1061 | .driver = { |
1062 | .name = "lirc_serial", | 1062 | .name = "lirc_serial", |
1063 | .owner = THIS_MODULE, | ||
1064 | }, | 1063 | }, |
1065 | }; | 1064 | }; |
1066 | 1065 | ||
diff --git a/drivers/staging/media/lirc/lirc_sir.c b/drivers/staging/media/lirc/lirc_sir.c index 2ee55eaf2a53..e961b5218215 100644 --- a/drivers/staging/media/lirc/lirc_sir.c +++ b/drivers/staging/media/lirc/lirc_sir.c | |||
@@ -931,7 +931,6 @@ static struct platform_driver lirc_sir_driver = { | |||
931 | .remove = lirc_sir_remove, | 931 | .remove = lirc_sir_remove, |
932 | .driver = { | 932 | .driver = { |
933 | .name = "lirc_sir", | 933 | .name = "lirc_sir", |
934 | .owner = THIS_MODULE, | ||
935 | }, | 934 | }, |
936 | }; | 935 | }; |
937 | 936 | ||
diff --git a/drivers/staging/media/omap24xx/omap24xxcam.c b/drivers/staging/media/omap24xx/omap24xxcam.c index d590b3e8b70c..5a60addc9767 100644 --- a/drivers/staging/media/omap24xx/omap24xxcam.c +++ b/drivers/staging/media/omap24xx/omap24xxcam.c | |||
@@ -1864,7 +1864,6 @@ static struct platform_driver omap24xxcam_driver = { | |||
1864 | #endif | 1864 | #endif |
1865 | .driver = { | 1865 | .driver = { |
1866 | .name = CAM_NAME, | 1866 | .name = CAM_NAME, |
1867 | .owner = THIS_MODULE, | ||
1868 | }, | 1867 | }, |
1869 | }; | 1868 | }; |
1870 | 1869 | ||
diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index d548371db65a..96b14b326e09 100644 --- a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c | |||
@@ -1476,7 +1476,6 @@ static struct platform_driver iss_driver = { | |||
1476 | .remove = iss_remove, | 1476 | .remove = iss_remove, |
1477 | .id_table = omap4iss_id_table, | 1477 | .id_table = omap4iss_id_table, |
1478 | .driver = { | 1478 | .driver = { |
1479 | .owner = THIS_MODULE, | ||
1480 | .name = "omap4iss", | 1479 | .name = "omap4iss", |
1481 | }, | 1480 | }, |
1482 | }; | 1481 | }; |
diff --git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index ad19ba9df3c7..5ecb3e6a5bb3 100644 --- a/drivers/staging/netlogic/xlr_net.c +++ b/drivers/staging/netlogic/xlr_net.c | |||
@@ -1133,7 +1133,6 @@ static struct platform_driver xlr_net_driver = { | |||
1133 | .remove = xlr_net_remove, | 1133 | .remove = xlr_net_remove, |
1134 | .driver = { | 1134 | .driver = { |
1135 | .name = "xlr-net", | 1135 | .name = "xlr-net", |
1136 | .owner = THIS_MODULE, | ||
1137 | }, | 1136 | }, |
1138 | }; | 1137 | }; |
1139 | 1138 | ||
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index a93208adbfcf..093535c6217b 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c | |||
@@ -973,7 +973,6 @@ static struct platform_driver nvec_device_driver = { | |||
973 | .remove = tegra_nvec_remove, | 973 | .remove = tegra_nvec_remove, |
974 | .driver = { | 974 | .driver = { |
975 | .name = "nvec", | 975 | .name = "nvec", |
976 | .owner = THIS_MODULE, | ||
977 | .pm = &nvec_pm_ops, | 976 | .pm = &nvec_pm_ops, |
978 | .of_match_table = nvidia_nvec_of_match, | 977 | .of_match_table = nvidia_nvec_of_match, |
979 | } | 978 | } |
diff --git a/drivers/staging/nvec/nvec_kbd.c b/drivers/staging/nvec/nvec_kbd.c index c17a1c3eb3ca..e881e6b26a4c 100644 --- a/drivers/staging/nvec/nvec_kbd.c +++ b/drivers/staging/nvec/nvec_kbd.c | |||
@@ -181,7 +181,6 @@ static struct platform_driver nvec_kbd_driver = { | |||
181 | .remove = nvec_kbd_remove, | 181 | .remove = nvec_kbd_remove, |
182 | .driver = { | 182 | .driver = { |
183 | .name = "nvec-kbd", | 183 | .name = "nvec-kbd", |
184 | .owner = THIS_MODULE, | ||
185 | }, | 184 | }, |
186 | }; | 185 | }; |
187 | 186 | ||
diff --git a/drivers/staging/nvec/nvec_paz00.c b/drivers/staging/nvec/nvec_paz00.c index e2e675a6e95a..f0cea0e43c96 100644 --- a/drivers/staging/nvec/nvec_paz00.c +++ b/drivers/staging/nvec/nvec_paz00.c | |||
@@ -87,7 +87,6 @@ static struct platform_driver nvec_paz00_driver = { | |||
87 | .remove = nvec_paz00_remove, | 87 | .remove = nvec_paz00_remove, |
88 | .driver = { | 88 | .driver = { |
89 | .name = "nvec-paz00", | 89 | .name = "nvec-paz00", |
90 | .owner = THIS_MODULE, | ||
91 | }, | 90 | }, |
92 | }; | 91 | }; |
93 | 92 | ||
diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c index 6446e151866f..6a1459d4f8fb 100644 --- a/drivers/staging/nvec/nvec_power.c +++ b/drivers/staging/nvec/nvec_power.c | |||
@@ -432,7 +432,6 @@ static struct platform_driver nvec_power_driver = { | |||
432 | .remove = nvec_power_remove, | 432 | .remove = nvec_power_remove, |
433 | .driver = { | 433 | .driver = { |
434 | .name = "nvec-power", | 434 | .name = "nvec-power", |
435 | .owner = THIS_MODULE, | ||
436 | } | 435 | } |
437 | }; | 436 | }; |
438 | 437 | ||
diff --git a/drivers/staging/nvec/nvec_ps2.c b/drivers/staging/nvec/nvec_ps2.c index f56f1db15bad..4fd63c239454 100644 --- a/drivers/staging/nvec/nvec_ps2.c +++ b/drivers/staging/nvec/nvec_ps2.c | |||
@@ -177,7 +177,6 @@ static struct platform_driver nvec_mouse_driver = { | |||
177 | .remove = nvec_mouse_remove, | 177 | .remove = nvec_mouse_remove, |
178 | .driver = { | 178 | .driver = { |
179 | .name = "nvec-mouse", | 179 | .name = "nvec-mouse", |
180 | .owner = THIS_MODULE, | ||
181 | .pm = &nvec_mouse_pm_ops, | 180 | .pm = &nvec_mouse_pm_ops, |
182 | }, | 181 | }, |
183 | }; | 182 | }; |
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c index 5f9db4cbb381..2f8eaf768bf3 100644 --- a/drivers/staging/octeon-usb/octeon-hcd.c +++ b/drivers/staging/octeon-usb/octeon-hcd.c | |||
@@ -3882,7 +3882,6 @@ static struct of_device_id octeon_usb_match[] = { | |||
3882 | static struct platform_driver octeon_usb_driver = { | 3882 | static struct platform_driver octeon_usb_driver = { |
3883 | .driver = { | 3883 | .driver = { |
3884 | .name = "OcteonUSB", | 3884 | .name = "OcteonUSB", |
3885 | .owner = THIS_MODULE, | ||
3886 | .of_match_table = octeon_usb_match, | 3885 | .of_match_table = octeon_usb_match, |
3887 | }, | 3886 | }, |
3888 | .probe = octeon_usb_probe, | 3887 | .probe = octeon_usb_probe, |
diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index 8f9e3fb4871d..af24294d9466 100644 --- a/drivers/staging/octeon/ethernet.c +++ b/drivers/staging/octeon/ethernet.c | |||
@@ -877,7 +877,6 @@ static struct platform_driver cvm_oct_driver = { | |||
877 | .probe = cvm_oct_probe, | 877 | .probe = cvm_oct_probe, |
878 | .remove = cvm_oct_remove, | 878 | .remove = cvm_oct_remove, |
879 | .driver = { | 879 | .driver = { |
880 | .owner = THIS_MODULE, | ||
881 | .name = KBUILD_MODNAME, | 880 | .name = KBUILD_MODNAME, |
882 | .of_match_table = cvm_oct_match, | 881 | .of_match_table = cvm_oct_match, |
883 | }, | 882 | }, |
diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c index e88045228607..347b8b1ffa29 100644 --- a/drivers/staging/ozwpan/ozhcd.c +++ b/drivers/staging/ozwpan/ozhcd.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver g_oz_plat_drv = { | |||
224 | .resume = oz_plat_resume, | 224 | .resume = oz_plat_resume, |
225 | .driver = { | 225 | .driver = { |
226 | .name = OZ_PLAT_DEV_NAME, | 226 | .name = OZ_PLAT_DEV_NAME, |
227 | .owner = THIS_MODULE, | ||
228 | }, | 227 | }, |
229 | }; | 228 | }; |
230 | 229 | ||
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 9d1420acb391..eaaf59c98ba2 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c | |||
@@ -329,7 +329,6 @@ static struct platform_driver armada_thermal_driver = { | |||
329 | .remove = armada_thermal_exit, | 329 | .remove = armada_thermal_exit, |
330 | .driver = { | 330 | .driver = { |
331 | .name = "armada_thermal", | 331 | .name = "armada_thermal", |
332 | .owner = THIS_MODULE, | ||
333 | .of_match_table = armada_thermal_id_table, | 332 | .of_match_table = armada_thermal_id_table, |
334 | }, | 333 | }, |
335 | }; | 334 | }; |
diff --git a/drivers/thermal/db8500_cpufreq_cooling.c b/drivers/thermal/db8500_cpufreq_cooling.c index 786d19263ab0..000d53e934a0 100644 --- a/drivers/thermal/db8500_cpufreq_cooling.c +++ b/drivers/thermal/db8500_cpufreq_cooling.c | |||
@@ -78,7 +78,6 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = { | |||
78 | 78 | ||
79 | static struct platform_driver db8500_cpufreq_cooling_driver = { | 79 | static struct platform_driver db8500_cpufreq_cooling_driver = { |
80 | .driver = { | 80 | .driver = { |
81 | .owner = THIS_MODULE, | ||
82 | .name = "db8500-cpufreq-cooling", | 81 | .name = "db8500-cpufreq-cooling", |
83 | .of_match_table = of_match_ptr(db8500_cpufreq_cooling_match), | 82 | .of_match_table = of_match_ptr(db8500_cpufreq_cooling_match), |
84 | }, | 83 | }, |
diff --git a/drivers/thermal/db8500_thermal.c b/drivers/thermal/db8500_thermal.c index 1e3b3bf9f993..20adfbe27df1 100644 --- a/drivers/thermal/db8500_thermal.c +++ b/drivers/thermal/db8500_thermal.c | |||
@@ -517,7 +517,6 @@ static const struct of_device_id db8500_thermal_match[] = { | |||
517 | 517 | ||
518 | static struct platform_driver db8500_thermal_driver = { | 518 | static struct platform_driver db8500_thermal_driver = { |
519 | .driver = { | 519 | .driver = { |
520 | .owner = THIS_MODULE, | ||
521 | .name = "db8500-thermal", | 520 | .name = "db8500-thermal", |
522 | .of_match_table = of_match_ptr(db8500_thermal_match), | 521 | .of_match_table = of_match_ptr(db8500_thermal_match), |
523 | }, | 522 | }, |
diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c index 828f5e345c30..09f6e304c274 100644 --- a/drivers/thermal/dove_thermal.c +++ b/drivers/thermal/dove_thermal.c | |||
@@ -184,7 +184,6 @@ static struct platform_driver dove_thermal_driver = { | |||
184 | .remove = dove_thermal_exit, | 184 | .remove = dove_thermal_exit, |
185 | .driver = { | 185 | .driver = { |
186 | .name = "dove_thermal", | 186 | .name = "dove_thermal", |
187 | .owner = THIS_MODULE, | ||
188 | .of_match_table = dove_thermal_id_table, | 187 | .of_match_table = dove_thermal_id_table, |
189 | }, | 188 | }, |
190 | }; | 189 | }; |
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c index 461bf3d033a0..eb326a0a9847 100644 --- a/drivers/thermal/imx_thermal.c +++ b/drivers/thermal/imx_thermal.c | |||
@@ -624,7 +624,6 @@ static SIMPLE_DEV_PM_OPS(imx_thermal_pm_ops, | |||
624 | static struct platform_driver imx_thermal = { | 624 | static struct platform_driver imx_thermal = { |
625 | .driver = { | 625 | .driver = { |
626 | .name = "imx_thermal", | 626 | .name = "imx_thermal", |
627 | .owner = THIS_MODULE, | ||
628 | .pm = &imx_thermal_pm_ops, | 627 | .pm = &imx_thermal_pm_ops, |
629 | .of_match_table = of_imx_thermal_match, | 628 | .of_match_table = of_imx_thermal_match, |
630 | }, | 629 | }, |
diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c index 3b034a0dfc94..11041fe63dc2 100644 --- a/drivers/thermal/kirkwood_thermal.c +++ b/drivers/thermal/kirkwood_thermal.c | |||
@@ -114,7 +114,6 @@ static struct platform_driver kirkwood_thermal_driver = { | |||
114 | .remove = kirkwood_thermal_exit, | 114 | .remove = kirkwood_thermal_exit, |
115 | .driver = { | 115 | .driver = { |
116 | .name = "kirkwood_thermal", | 116 | .name = "kirkwood_thermal", |
117 | .owner = THIS_MODULE, | ||
118 | .of_match_table = kirkwood_thermal_id_table, | 117 | .of_match_table = kirkwood_thermal_id_table, |
119 | }, | 118 | }, |
120 | }; | 119 | }; |
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index acbff14da3a4..79c3d95e6513 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c | |||
@@ -806,7 +806,6 @@ static SIMPLE_DEV_PM_OPS(exynos_tmu_pm, | |||
806 | static struct platform_driver exynos_tmu_driver = { | 806 | static struct platform_driver exynos_tmu_driver = { |
807 | .driver = { | 807 | .driver = { |
808 | .name = "exynos-tmu", | 808 | .name = "exynos-tmu", |
809 | .owner = THIS_MODULE, | ||
810 | .pm = EXYNOS_TMU_PM, | 809 | .pm = EXYNOS_TMU_PM, |
811 | .of_match_table = exynos_tmu_match, | 810 | .of_match_table = exynos_tmu_match, |
812 | }, | 811 | }, |
diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 1e2193fc3241..bddb71744a6c 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c | |||
@@ -186,7 +186,6 @@ static struct platform_driver spear_thermal_driver = { | |||
186 | .remove = spear_thermal_exit, | 186 | .remove = spear_thermal_exit, |
187 | .driver = { | 187 | .driver = { |
188 | .name = "spear_thermal", | 188 | .name = "spear_thermal", |
189 | .owner = THIS_MODULE, | ||
190 | .pm = &spear_thermal_pm_ops, | 189 | .pm = &spear_thermal_pm_ops, |
191 | .of_match_table = spear_thermal_id_table, | 190 | .of_match_table = spear_thermal_id_table, |
192 | }, | 191 | }, |
diff --git a/drivers/thermal/st/st_thermal_memmap.c b/drivers/thermal/st/st_thermal_memmap.c index 39896ce2ee00..067bfcdb91d6 100644 --- a/drivers/thermal/st/st_thermal_memmap.c +++ b/drivers/thermal/st/st_thermal_memmap.c | |||
@@ -194,7 +194,6 @@ int st_mmap_remove(struct platform_device *pdev) | |||
194 | static struct platform_driver st_mmap_thermal_driver = { | 194 | static struct platform_driver st_mmap_thermal_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "st_thermal_mmap", | 196 | .name = "st_thermal_mmap", |
197 | .owner = THIS_MODULE, | ||
198 | .pm = &st_thermal_pm_ops, | 197 | .pm = &st_thermal_pm_ops, |
199 | .of_match_table = st_mmap_thermal_of_match, | 198 | .of_match_table = st_mmap_thermal_of_match, |
200 | }, | 199 | }, |
diff --git a/drivers/thermal/st/st_thermal_syscfg.c b/drivers/thermal/st/st_thermal_syscfg.c index 888b58e64090..26d36a242bb8 100644 --- a/drivers/thermal/st/st_thermal_syscfg.c +++ b/drivers/thermal/st/st_thermal_syscfg.c | |||
@@ -165,7 +165,6 @@ int st_syscfg_remove(struct platform_device *pdev) | |||
165 | static struct platform_driver st_syscfg_thermal_driver = { | 165 | static struct platform_driver st_syscfg_thermal_driver = { |
166 | .driver = { | 166 | .driver = { |
167 | .name = "st_syscfg_thermal", | 167 | .name = "st_syscfg_thermal", |
168 | .owner = THIS_MODULE, | ||
169 | .pm = &st_thermal_pm_ops, | 168 | .pm = &st_thermal_pm_ops, |
170 | .of_match_table = st_syscfg_thermal_of_match, | 169 | .of_match_table = st_syscfg_thermal_of_match, |
171 | }, | 170 | }, |
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c index 979e7c3ea2cb..d9f85f95eb2a 100644 --- a/drivers/tty/amiserial.c +++ b/drivers/tty/amiserial.c | |||
@@ -1802,7 +1802,6 @@ static struct platform_driver amiga_serial_driver = { | |||
1802 | .remove = __exit_p(amiga_serial_remove), | 1802 | .remove = __exit_p(amiga_serial_remove), |
1803 | .driver = { | 1803 | .driver = { |
1804 | .name = "amiga-serial", | 1804 | .name = "amiga-serial", |
1805 | .owner = THIS_MODULE, | ||
1806 | }, | 1805 | }, |
1807 | }; | 1806 | }; |
1808 | 1807 | ||
diff --git a/drivers/tty/ehv_bytechan.c b/drivers/tty/ehv_bytechan.c index 4f485e88f60c..ffe08e1d7187 100644 --- a/drivers/tty/ehv_bytechan.c +++ b/drivers/tty/ehv_bytechan.c | |||
@@ -740,7 +740,6 @@ static const struct of_device_id ehv_bc_tty_of_ids[] = { | |||
740 | 740 | ||
741 | static struct platform_driver ehv_bc_tty_driver = { | 741 | static struct platform_driver ehv_bc_tty_driver = { |
742 | .driver = { | 742 | .driver = { |
743 | .owner = THIS_MODULE, | ||
744 | .name = "ehv-bc", | 743 | .name = "ehv-bc", |
745 | .of_match_table = ehv_bc_tty_of_ids, | 744 | .of_match_table = ehv_bc_tty_of_ids, |
746 | }, | 745 | }, |
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index a2cc5f834c63..071551bf3e9a 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c | |||
@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = { | |||
262 | .remove = hvc_opal_remove, | 262 | .remove = hvc_opal_remove, |
263 | .driver = { | 263 | .driver = { |
264 | .name = hvc_opal_name, | 264 | .name = hvc_opal_name, |
265 | .owner = THIS_MODULE, | ||
266 | .of_match_table = hvc_opal_match, | 265 | .of_match_table = hvc_opal_match, |
267 | } | 266 | } |
268 | }; | 267 | }; |
diff --git a/drivers/tty/hvc/hvc_tile.c b/drivers/tty/hvc/hvc_tile.c index df374860037c..3f6cd3102db5 100644 --- a/drivers/tty/hvc/hvc_tile.c +++ b/drivers/tty/hvc/hvc_tile.c | |||
@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = { | |||
178 | .shutdown = hvc_tile_shutdown, | 178 | .shutdown = hvc_tile_shutdown, |
179 | .driver = { | 179 | .driver = { |
180 | .name = "hvc-tile", | 180 | .name = "hvc-tile", |
181 | .owner = THIS_MODULE, | ||
182 | } | 181 | } |
183 | }; | 182 | }; |
184 | #endif | 183 | #endif |
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index ca5cfdc1459a..27483d3fcfa0 100644 --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c | |||
@@ -3488,7 +3488,6 @@ static struct platform_driver serial8250_isa_driver = { | |||
3488 | .resume = serial8250_resume, | 3488 | .resume = serial8250_resume, |
3489 | .driver = { | 3489 | .driver = { |
3490 | .name = "serial8250", | 3490 | .name = "serial8250", |
3491 | .owner = THIS_MODULE, | ||
3492 | }, | 3491 | }, |
3493 | }; | 3492 | }; |
3494 | 3493 | ||
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index beea6ca73ee5..2f7a055d63b5 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c | |||
@@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(acpi, dw8250_acpi_match); | |||
543 | static struct platform_driver dw8250_platform_driver = { | 543 | static struct platform_driver dw8250_platform_driver = { |
544 | .driver = { | 544 | .driver = { |
545 | .name = "dw-apb-uart", | 545 | .name = "dw-apb-uart", |
546 | .owner = THIS_MODULE, | ||
547 | .pm = &dw8250_pm_ops, | 546 | .pm = &dw8250_pm_ops, |
548 | .of_match_table = dw8250_of_match, | 547 | .of_match_table = dw8250_of_match, |
549 | .acpi_match_table = ACPI_PTR(dw8250_acpi_match), | 548 | .acpi_match_table = ACPI_PTR(dw8250_acpi_match), |
diff --git a/drivers/tty/serial/8250/8250_em.c b/drivers/tty/serial/8250/8250_em.c index 56c87232b6a0..3f0858d72411 100644 --- a/drivers/tty/serial/8250/8250_em.c +++ b/drivers/tty/serial/8250/8250_em.c | |||
@@ -161,7 +161,6 @@ static struct platform_driver serial8250_em_platform_driver = { | |||
161 | .driver = { | 161 | .driver = { |
162 | .name = "serial8250-em", | 162 | .name = "serial8250-em", |
163 | .of_match_table = serial8250_em_dt_ids, | 163 | .of_match_table = serial8250_em_dt_ids, |
164 | .owner = THIS_MODULE, | ||
165 | }, | 164 | }, |
166 | .probe = serial8250_em_probe, | 165 | .probe = serial8250_em_probe, |
167 | .remove = serial8250_em_remove, | 166 | .remove = serial8250_em_remove, |
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index 932e01995c0a..192d0435bb86 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -475,7 +475,6 @@ static struct platform_driver altera_jtaguart_platform_driver = { | |||
475 | .remove = altera_jtaguart_remove, | 475 | .remove = altera_jtaguart_remove, |
476 | .driver = { | 476 | .driver = { |
477 | .name = DRV_NAME, | 477 | .name = DRV_NAME, |
478 | .owner = THIS_MODULE, | ||
479 | .of_match_table = of_match_ptr(altera_jtaguart_match), | 478 | .of_match_table = of_match_ptr(altera_jtaguart_match), |
480 | }, | 479 | }, |
481 | }; | 480 | }; |
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 1cb2cdb1bc42..eb15a50623cb 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -623,7 +623,6 @@ static struct platform_driver altera_uart_platform_driver = { | |||
623 | .remove = altera_uart_remove, | 623 | .remove = altera_uart_remove, |
624 | .driver = { | 624 | .driver = { |
625 | .name = DRV_NAME, | 625 | .name = DRV_NAME, |
626 | .owner = THIS_MODULE, | ||
627 | .of_match_table = of_match_ptr(altera_uart_match), | 626 | .of_match_table = of_match_ptr(altera_uart_match), |
628 | }, | 627 | }, |
629 | }; | 628 | }; |
diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c index a34a0cec1685..4f0f95e358e8 100644 --- a/drivers/tty/serial/apbuart.c +++ b/drivers/tty/serial/apbuart.c | |||
@@ -585,7 +585,6 @@ static struct of_device_id apbuart_match[] = { | |||
585 | static struct platform_driver grlib_apbuart_of_driver = { | 585 | static struct platform_driver grlib_apbuart_of_driver = { |
586 | .probe = apbuart_probe, | 586 | .probe = apbuart_probe, |
587 | .driver = { | 587 | .driver = { |
588 | .owner = THIS_MODULE, | ||
589 | .name = "grlib-apbuart", | 588 | .name = "grlib-apbuart", |
590 | .of_match_table = apbuart_match, | 589 | .of_match_table = apbuart_match, |
591 | }, | 590 | }, |
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 0be1c45efd65..5d8ec7fe0d98 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c | |||
@@ -734,7 +734,6 @@ static struct platform_driver ar933x_uart_platform_driver = { | |||
734 | .remove = ar933x_uart_remove, | 734 | .remove = ar933x_uart_remove, |
735 | .driver = { | 735 | .driver = { |
736 | .name = DRIVER_NAME, | 736 | .name = DRIVER_NAME, |
737 | .owner = THIS_MODULE, | ||
738 | .of_match_table = of_match_ptr(ar933x_uart_of_ids), | 737 | .of_match_table = of_match_ptr(ar933x_uart_of_ids), |
739 | }, | 738 | }, |
740 | }; | 739 | }; |
diff --git a/drivers/tty/serial/arc_uart.c b/drivers/tty/serial/arc_uart.c index a59d1d77e750..03ebe401fff7 100644 --- a/drivers/tty/serial/arc_uart.c +++ b/drivers/tty/serial/arc_uart.c | |||
@@ -653,7 +653,6 @@ static struct platform_driver arc_platform_driver = { | |||
653 | .remove = arc_serial_remove, | 653 | .remove = arc_serial_remove, |
654 | .driver = { | 654 | .driver = { |
655 | .name = DRIVER_NAME, | 655 | .name = DRIVER_NAME, |
656 | .owner = THIS_MODULE, | ||
657 | .of_match_table = arc_uart_dt_ids, | 656 | .of_match_table = arc_uart_dt_ids, |
658 | }, | 657 | }, |
659 | }; | 658 | }; |
diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index edde3eca055d..9075c6622af5 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c | |||
@@ -2660,7 +2660,6 @@ static struct platform_driver atmel_serial_driver = { | |||
2660 | .resume = atmel_serial_resume, | 2660 | .resume = atmel_serial_resume, |
2661 | .driver = { | 2661 | .driver = { |
2662 | .name = "atmel_usart", | 2662 | .name = "atmel_usart", |
2663 | .owner = THIS_MODULE, | ||
2664 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), | 2663 | .of_match_table = of_match_ptr(atmel_serial_dt_ids), |
2665 | }, | 2664 | }, |
2666 | }; | 2665 | }; |
diff --git a/drivers/tty/serial/bcm63xx_uart.c b/drivers/tty/serial/bcm63xx_uart.c index 231519022b73..ded5620ea513 100644 --- a/drivers/tty/serial/bcm63xx_uart.c +++ b/drivers/tty/serial/bcm63xx_uart.c | |||
@@ -874,7 +874,6 @@ static struct platform_driver bcm_uart_platform_driver = { | |||
874 | .probe = bcm_uart_probe, | 874 | .probe = bcm_uart_probe, |
875 | .remove = bcm_uart_remove, | 875 | .remove = bcm_uart_remove, |
876 | .driver = { | 876 | .driver = { |
877 | .owner = THIS_MODULE, | ||
878 | .name = "bcm63xx_uart", | 877 | .name = "bcm63xx_uart", |
879 | .of_match_table = bcm63xx_of_match, | 878 | .of_match_table = bcm63xx_of_match, |
880 | }, | 879 | }, |
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index 7da9911e95f0..165564dff0c8 100644 --- a/drivers/tty/serial/bfin_uart.c +++ b/drivers/tty/serial/bfin_uart.c | |||
@@ -1386,7 +1386,6 @@ static struct platform_driver bfin_serial_driver = { | |||
1386 | .resume = bfin_serial_resume, | 1386 | .resume = bfin_serial_resume, |
1387 | .driver = { | 1387 | .driver = { |
1388 | .name = DRIVER_NAME, | 1388 | .name = DRIVER_NAME, |
1389 | .owner = THIS_MODULE, | ||
1390 | }, | 1389 | }, |
1391 | }; | 1390 | }; |
1392 | 1391 | ||
diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index acfe31773643..54626f99d49e 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c | |||
@@ -542,7 +542,6 @@ MODULE_DEVICE_TABLE(of, clps711x_uart_dt_ids); | |||
542 | static struct platform_driver clps711x_uart_platform = { | 542 | static struct platform_driver clps711x_uart_platform = { |
543 | .driver = { | 543 | .driver = { |
544 | .name = "clps711x-uart", | 544 | .name = "clps711x-uart", |
545 | .owner = THIS_MODULE, | ||
546 | .of_match_table = of_match_ptr(clps711x_uart_dt_ids), | 545 | .of_match_table = of_match_ptr(clps711x_uart_dt_ids), |
547 | }, | 546 | }, |
548 | .probe = uart_clps711x_probe, | 547 | .probe = uart_clps711x_probe, |
diff --git a/drivers/tty/serial/cpm_uart/cpm_uart_core.c b/drivers/tty/serial/cpm_uart/cpm_uart_core.c index 533852eb8778..5a59f8db3b80 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/tty/serial/cpm_uart/cpm_uart_core.c | |||
@@ -1438,7 +1438,6 @@ static struct of_device_id cpm_uart_match[] = { | |||
1438 | static struct platform_driver cpm_uart_driver = { | 1438 | static struct platform_driver cpm_uart_driver = { |
1439 | .driver = { | 1439 | .driver = { |
1440 | .name = "cpm_uart", | 1440 | .name = "cpm_uart", |
1441 | .owner = THIS_MODULE, | ||
1442 | .of_match_table = cpm_uart_match, | 1441 | .of_match_table = cpm_uart_match, |
1443 | }, | 1442 | }, |
1444 | .probe = cpm_uart_probe, | 1443 | .probe = cpm_uart_probe, |
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index 55d9c00112cc..195acc868763 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c | |||
@@ -814,7 +814,6 @@ static struct platform_driver efm32_uart_driver = { | |||
814 | 814 | ||
815 | .driver = { | 815 | .driver = { |
816 | .name = DRIVER_NAME, | 816 | .name = DRIVER_NAME, |
817 | .owner = THIS_MODULE, | ||
818 | .of_match_table = efm32_uart_dt_ids, | 817 | .of_match_table = efm32_uart_dt_ids, |
819 | }, | 818 | }, |
820 | }; | 819 | }; |
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 6dd53af546a3..fd503c35defb 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c | |||
@@ -1876,7 +1876,6 @@ static struct platform_driver lpuart_driver = { | |||
1876 | .remove = lpuart_remove, | 1876 | .remove = lpuart_remove, |
1877 | .driver = { | 1877 | .driver = { |
1878 | .name = "fsl-lpuart", | 1878 | .name = "fsl-lpuart", |
1879 | .owner = THIS_MODULE, | ||
1880 | .of_match_table = lpuart_dt_ids, | 1879 | .of_match_table = lpuart_dt_ids, |
1881 | .pm = &lpuart_pm_ops, | 1880 | .pm = &lpuart_pm_ops, |
1882 | }, | 1881 | }, |
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 8f62a3cec23e..f2b81bdd4f02 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c | |||
@@ -1952,7 +1952,6 @@ static struct platform_driver serial_imx_driver = { | |||
1952 | .id_table = imx_uart_devtype, | 1952 | .id_table = imx_uart_devtype, |
1953 | .driver = { | 1953 | .driver = { |
1954 | .name = "imx-uart", | 1954 | .name = "imx-uart", |
1955 | .owner = THIS_MODULE, | ||
1956 | .of_match_table = imx_uart_dt_ids, | 1955 | .of_match_table = imx_uart_dt_ids, |
1957 | }, | 1956 | }, |
1958 | }; | 1957 | }; |
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index 4675fe198d31..6c10a9089f3b 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c | |||
@@ -743,7 +743,6 @@ MODULE_DEVICE_TABLE(of, ltq_asc_match); | |||
743 | static struct platform_driver lqasc_driver = { | 743 | static struct platform_driver lqasc_driver = { |
744 | .driver = { | 744 | .driver = { |
745 | .name = DRVNAME, | 745 | .name = DRVNAME, |
746 | .owner = THIS_MODULE, | ||
747 | .of_match_table = ltq_asc_match, | 746 | .of_match_table = ltq_asc_match, |
748 | }, | 747 | }, |
749 | }; | 748 | }; |
diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c index 6f0f89282847..e92d7ebe9e77 100644 --- a/drivers/tty/serial/lpc32xx_hs.c +++ b/drivers/tty/serial/lpc32xx_hs.c | |||
@@ -768,7 +768,6 @@ static struct platform_driver serial_hs_lpc32xx_driver = { | |||
768 | .resume = serial_hs_lpc32xx_resume, | 768 | .resume = serial_hs_lpc32xx_resume, |
769 | .driver = { | 769 | .driver = { |
770 | .name = MODNAME, | 770 | .name = MODNAME, |
771 | .owner = THIS_MODULE, | ||
772 | .of_match_table = serial_hs_lpc32xx_dt_ids, | 771 | .of_match_table = serial_hs_lpc32xx_dt_ids, |
773 | }, | 772 | }, |
774 | }; | 773 | }; |
diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c index bc896dc7d2ed..89ac4e457ca5 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c | |||
@@ -693,7 +693,6 @@ static struct platform_driver mcf_platform_driver = { | |||
693 | .remove = mcf_remove, | 693 | .remove = mcf_remove, |
694 | .driver = { | 694 | .driver = { |
695 | .name = "mcfuart", | 695 | .name = "mcfuart", |
696 | .owner = THIS_MODULE, | ||
697 | }, | 696 | }, |
698 | }; | 697 | }; |
699 | 698 | ||
diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 15c749753317..67c036702629 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c | |||
@@ -599,7 +599,6 @@ static struct platform_driver meson_uart_platform_driver = { | |||
599 | .probe = meson_uart_probe, | 599 | .probe = meson_uart_probe, |
600 | .remove = meson_uart_remove, | 600 | .remove = meson_uart_remove, |
601 | .driver = { | 601 | .driver = { |
602 | .owner = THIS_MODULE, | ||
603 | .name = "meson_uart", | 602 | .name = "meson_uart", |
604 | .of_match_table = meson_uart_dt_match, | 603 | .of_match_table = meson_uart_dt_match, |
605 | }, | 604 | }, |
diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index a5f4e3648b15..3308ef243dc3 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c | |||
@@ -1889,7 +1889,6 @@ static struct platform_driver mpc52xx_uart_of_driver = { | |||
1889 | #endif | 1889 | #endif |
1890 | .driver = { | 1890 | .driver = { |
1891 | .name = "mpc52xx-psc-uart", | 1891 | .name = "mpc52xx-psc-uart", |
1892 | .owner = THIS_MODULE, | ||
1893 | .of_match_table = mpc52xx_uart_of_match, | 1892 | .of_match_table = mpc52xx_uart_of_match, |
1894 | }, | 1893 | }, |
1895 | }; | 1894 | }; |
diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c index ae49856ef6c7..5f864287b508 100644 --- a/drivers/tty/serial/mpsc.c +++ b/drivers/tty/serial/mpsc.c | |||
@@ -2111,7 +2111,6 @@ static struct platform_driver mpsc_driver = { | |||
2111 | .remove = mpsc_drv_remove, | 2111 | .remove = mpsc_drv_remove, |
2112 | .driver = { | 2112 | .driver = { |
2113 | .name = MPSC_CTLR_NAME, | 2113 | .name = MPSC_CTLR_NAME, |
2114 | .owner = THIS_MODULE, | ||
2115 | }, | 2114 | }, |
2116 | }; | 2115 | }; |
2117 | 2116 | ||
diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c index 4b6c78331a64..353725a51efb 100644 --- a/drivers/tty/serial/msm_serial.c +++ b/drivers/tty/serial/msm_serial.c | |||
@@ -1114,7 +1114,6 @@ static struct platform_driver msm_platform_driver = { | |||
1114 | .probe = msm_serial_probe, | 1114 | .probe = msm_serial_probe, |
1115 | .driver = { | 1115 | .driver = { |
1116 | .name = "msm_serial", | 1116 | .name = "msm_serial", |
1117 | .owner = THIS_MODULE, | ||
1118 | .of_match_table = msm_match_table, | 1117 | .of_match_table = msm_match_table, |
1119 | }, | 1118 | }, |
1120 | }; | 1119 | }; |
diff --git a/drivers/tty/serial/msm_serial_hs.c b/drivers/tty/serial/msm_serial_hs.c index 48e94961a9e5..8abe8ea65658 100644 --- a/drivers/tty/serial/msm_serial_hs.c +++ b/drivers/tty/serial/msm_serial_hs.c | |||
@@ -1838,7 +1838,6 @@ static struct platform_driver msm_serial_hs_platform_driver = { | |||
1838 | .remove = msm_hs_remove, | 1838 | .remove = msm_hs_remove, |
1839 | .driver = { | 1839 | .driver = { |
1840 | .name = "msm_serial_hs", | 1840 | .name = "msm_serial_hs", |
1841 | .owner = THIS_MODULE, | ||
1842 | .pm = &msm_hs_dev_pm_ops, | 1841 | .pm = &msm_hs_dev_pm_ops, |
1843 | }, | 1842 | }, |
1844 | }; | 1843 | }; |
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c index 10c29334fe2f..b55892106a2e 100644 --- a/drivers/tty/serial/mxs-auart.c +++ b/drivers/tty/serial/mxs-auart.c | |||
@@ -1123,7 +1123,6 @@ static struct platform_driver mxs_auart_driver = { | |||
1123 | .remove = mxs_auart_remove, | 1123 | .remove = mxs_auart_remove, |
1124 | .driver = { | 1124 | .driver = { |
1125 | .name = "mxs-auart", | 1125 | .name = "mxs-auart", |
1126 | .owner = THIS_MODULE, | ||
1127 | .of_match_table = mxs_auart_dt_ids, | 1126 | .of_match_table = mxs_auart_dt_ids, |
1128 | }, | 1127 | }, |
1129 | }; | 1128 | }; |
diff --git a/drivers/tty/serial/netx-serial.c b/drivers/tty/serial/netx-serial.c index 7a6745601d4e..207a0a032ed1 100644 --- a/drivers/tty/serial/netx-serial.c +++ b/drivers/tty/serial/netx-serial.c | |||
@@ -710,7 +710,6 @@ static struct platform_driver serial_netx_driver = { | |||
710 | 710 | ||
711 | .driver = { | 711 | .driver = { |
712 | .name = DRIVER_NAME, | 712 | .name = DRIVER_NAME, |
713 | .owner = THIS_MODULE, | ||
714 | }, | 713 | }, |
715 | }; | 714 | }; |
716 | 715 | ||
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c index 8bc2563335ae..1f65e727c0ea 100644 --- a/drivers/tty/serial/of_serial.c +++ b/drivers/tty/serial/of_serial.c | |||
@@ -295,7 +295,6 @@ static struct of_device_id of_platform_serial_table[] = { | |||
295 | static struct platform_driver of_platform_serial_driver = { | 295 | static struct platform_driver of_platform_serial_driver = { |
296 | .driver = { | 296 | .driver = { |
297 | .name = "of_serial", | 297 | .name = "of_serial", |
298 | .owner = THIS_MODULE, | ||
299 | .of_match_table = of_platform_serial_table, | 298 | .of_match_table = of_platform_serial_table, |
300 | .pm = &of_serial_pm_ops, | 299 | .pm = &of_serial_pm_ops, |
301 | }, | 300 | }, |
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index abbfedb84901..f03c23543ead 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c | |||
@@ -1874,7 +1874,6 @@ static struct platform_driver pmz_driver = { | |||
1874 | .remove = __exit_p(pmz_detach), | 1874 | .remove = __exit_p(pmz_detach), |
1875 | .driver = { | 1875 | .driver = { |
1876 | .name = "scc", | 1876 | .name = "scc", |
1877 | .owner = THIS_MODULE, | ||
1878 | }, | 1877 | }, |
1879 | }; | 1878 | }; |
1880 | 1879 | ||
diff --git a/drivers/tty/serial/pnx8xxx_uart.c b/drivers/tty/serial/pnx8xxx_uart.c index 2ba24a45c97f..928cc113c773 100644 --- a/drivers/tty/serial/pnx8xxx_uart.c +++ b/drivers/tty/serial/pnx8xxx_uart.c | |||
@@ -813,7 +813,6 @@ static int pnx8xxx_serial_remove(struct platform_device *pdev) | |||
813 | static struct platform_driver pnx8xxx_serial_driver = { | 813 | static struct platform_driver pnx8xxx_serial_driver = { |
814 | .driver = { | 814 | .driver = { |
815 | .name = "pnx8xxx-uart", | 815 | .name = "pnx8xxx-uart", |
816 | .owner = THIS_MODULE, | ||
817 | }, | 816 | }, |
818 | .probe = pnx8xxx_serial_probe, | 817 | .probe = pnx8xxx_serial_probe, |
819 | .remove = pnx8xxx_serial_remove, | 818 | .remove = pnx8xxx_serial_remove, |
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index 21b7d8b86493..a3cd61d6a727 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c | |||
@@ -930,7 +930,6 @@ static struct platform_driver serial_pxa_driver = { | |||
930 | 930 | ||
931 | .driver = { | 931 | .driver = { |
932 | .name = "pxa2xx-uart", | 932 | .name = "pxa2xx-uart", |
933 | .owner = THIS_MODULE, | ||
934 | #ifdef CONFIG_PM | 933 | #ifdef CONFIG_PM |
935 | .pm = &serial_pxa_pm_ops, | 934 | .pm = &serial_pxa_pm_ops, |
936 | #endif | 935 | #endif |
diff --git a/drivers/tty/serial/sa1100.c b/drivers/tty/serial/sa1100.c index 753d4525b367..63989802caf2 100644 --- a/drivers/tty/serial/sa1100.c +++ b/drivers/tty/serial/sa1100.c | |||
@@ -883,7 +883,6 @@ static struct platform_driver sa11x0_serial_driver = { | |||
883 | .resume = sa1100_serial_resume, | 883 | .resume = sa1100_serial_resume, |
884 | .driver = { | 884 | .driver = { |
885 | .name = "sa11x0-uart", | 885 | .name = "sa11x0-uart", |
886 | .owner = THIS_MODULE, | ||
887 | }, | 886 | }, |
888 | }; | 887 | }; |
889 | 888 | ||
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index c78f43a481ce..7961bf411432 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c | |||
@@ -1848,7 +1848,6 @@ static struct platform_driver samsung_serial_driver = { | |||
1848 | .id_table = s3c24xx_serial_driver_ids, | 1848 | .id_table = s3c24xx_serial_driver_ids, |
1849 | .driver = { | 1849 | .driver = { |
1850 | .name = "samsung-uart", | 1850 | .name = "samsung-uart", |
1851 | .owner = THIS_MODULE, | ||
1852 | .pm = SERIAL_SAMSUNG_PM_OPS, | 1851 | .pm = SERIAL_SAMSUNG_PM_OPS, |
1853 | .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), | 1852 | .of_match_table = of_match_ptr(s3c24xx_uart_dt_match), |
1854 | }, | 1853 | }, |
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c index 75850f70b479..fcf803ffad19 100644 --- a/drivers/tty/serial/sccnxp.c +++ b/drivers/tty/serial/sccnxp.c | |||
@@ -1012,7 +1012,6 @@ static int sccnxp_remove(struct platform_device *pdev) | |||
1012 | static struct platform_driver sccnxp_uart_driver = { | 1012 | static struct platform_driver sccnxp_uart_driver = { |
1013 | .driver = { | 1013 | .driver = { |
1014 | .name = SCCNXP_NAME, | 1014 | .name = SCCNXP_NAME, |
1015 | .owner = THIS_MODULE, | ||
1016 | }, | 1015 | }, |
1017 | .probe = sccnxp_probe, | 1016 | .probe = sccnxp_probe, |
1018 | .remove = sccnxp_remove, | 1017 | .remove = sccnxp_remove, |
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c index af115645c51f..f80312eed4fd 100644 --- a/drivers/tty/serial/serial_txx9.c +++ b/drivers/tty/serial/serial_txx9.c | |||
@@ -1165,7 +1165,6 @@ static struct platform_driver serial_txx9_plat_driver = { | |||
1165 | #endif | 1165 | #endif |
1166 | .driver = { | 1166 | .driver = { |
1167 | .name = "serial_txx9", | 1167 | .name = "serial_txx9", |
1168 | .owner = THIS_MODULE, | ||
1169 | }, | 1168 | }, |
1170 | }; | 1169 | }; |
1171 | 1170 | ||
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index eb17c7124e72..c0125df41c2d 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -2638,7 +2638,6 @@ static struct platform_driver sci_driver = { | |||
2638 | .remove = sci_remove, | 2638 | .remove = sci_remove, |
2639 | .driver = { | 2639 | .driver = { |
2640 | .name = "sh-sci", | 2640 | .name = "sh-sci", |
2641 | .owner = THIS_MODULE, | ||
2642 | .pm = &sci_dev_pm_ops, | 2641 | .pm = &sci_dev_pm_ops, |
2643 | .of_match_table = of_match_ptr(of_sci_match), | 2642 | .of_match_table = of_match_ptr(of_sci_match), |
2644 | }, | 2643 | }, |
diff --git a/drivers/tty/serial/sirfsoc_uart.c b/drivers/tty/serial/sirfsoc_uart.c index 4102192687ee..775a6e369e46 100644 --- a/drivers/tty/serial/sirfsoc_uart.c +++ b/drivers/tty/serial/sirfsoc_uart.c | |||
@@ -1477,7 +1477,6 @@ static struct platform_driver sirfsoc_uart_driver = { | |||
1477 | .remove = sirfsoc_uart_remove, | 1477 | .remove = sirfsoc_uart_remove, |
1478 | .driver = { | 1478 | .driver = { |
1479 | .name = SIRFUART_PORT_NAME, | 1479 | .name = SIRFUART_PORT_NAME, |
1480 | .owner = THIS_MODULE, | ||
1481 | .of_match_table = sirfsoc_uart_ids, | 1480 | .of_match_table = sirfsoc_uart_ids, |
1482 | .pm = &sirfsoc_uart_pm_ops, | 1481 | .pm = &sirfsoc_uart_pm_ops, |
1483 | }, | 1482 | }, |
diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c index a3165842ca29..712b03a076b8 100644 --- a/drivers/tty/serial/st-asc.c +++ b/drivers/tty/serial/st-asc.c | |||
@@ -895,7 +895,6 @@ static struct platform_driver asc_serial_driver = { | |||
895 | .driver = { | 895 | .driver = { |
896 | .name = DRIVER_NAME, | 896 | .name = DRIVER_NAME, |
897 | .pm = &asc_serial_pm_ops, | 897 | .pm = &asc_serial_pm_ops, |
898 | .owner = THIS_MODULE, | ||
899 | .of_match_table = of_match_ptr(asc_match), | 898 | .of_match_table = of_match_ptr(asc_match), |
900 | }, | 899 | }, |
901 | }; | 900 | }; |
diff --git a/drivers/tty/serial/sunhv.c b/drivers/tty/serial/sunhv.c index 25d43ce8b318..534754440fa8 100644 --- a/drivers/tty/serial/sunhv.c +++ b/drivers/tty/serial/sunhv.c | |||
@@ -626,7 +626,6 @@ MODULE_DEVICE_TABLE(of, hv_match); | |||
626 | static struct platform_driver hv_driver = { | 626 | static struct platform_driver hv_driver = { |
627 | .driver = { | 627 | .driver = { |
628 | .name = "hv", | 628 | .name = "hv", |
629 | .owner = THIS_MODULE, | ||
630 | .of_match_table = hv_match, | 629 | .of_match_table = hv_match, |
631 | }, | 630 | }, |
632 | .probe = hv_probe, | 631 | .probe = hv_probe, |
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c index b339fe4811cd..82a07a4fbf3b 100644 --- a/drivers/tty/serial/sunsab.c +++ b/drivers/tty/serial/sunsab.c | |||
@@ -1092,7 +1092,6 @@ MODULE_DEVICE_TABLE(of, sab_match); | |||
1092 | static struct platform_driver sab_driver = { | 1092 | static struct platform_driver sab_driver = { |
1093 | .driver = { | 1093 | .driver = { |
1094 | .name = "sab", | 1094 | .name = "sab", |
1095 | .owner = THIS_MODULE, | ||
1096 | .of_match_table = sab_match, | 1095 | .of_match_table = sab_match, |
1097 | }, | 1096 | }, |
1098 | .probe = sab_probe, | 1097 | .probe = sab_probe, |
diff --git a/drivers/tty/serial/sunsu.c b/drivers/tty/serial/sunsu.c index 5326ae195e5f..526331c146ef 100644 --- a/drivers/tty/serial/sunsu.c +++ b/drivers/tty/serial/sunsu.c | |||
@@ -1537,7 +1537,6 @@ MODULE_DEVICE_TABLE(of, su_match); | |||
1537 | static struct platform_driver su_driver = { | 1537 | static struct platform_driver su_driver = { |
1538 | .driver = { | 1538 | .driver = { |
1539 | .name = "su", | 1539 | .name = "su", |
1540 | .owner = THIS_MODULE, | ||
1541 | .of_match_table = su_match, | 1540 | .of_match_table = su_match, |
1542 | }, | 1541 | }, |
1543 | .probe = su_probe, | 1542 | .probe = su_probe, |
diff --git a/drivers/tty/serial/sunzilog.c b/drivers/tty/serial/sunzilog.c index 02df3940b95e..370546e085d3 100644 --- a/drivers/tty/serial/sunzilog.c +++ b/drivers/tty/serial/sunzilog.c | |||
@@ -1533,7 +1533,6 @@ MODULE_DEVICE_TABLE(of, zs_match); | |||
1533 | static struct platform_driver zs_driver = { | 1533 | static struct platform_driver zs_driver = { |
1534 | .driver = { | 1534 | .driver = { |
1535 | .name = "zs", | 1535 | .name = "zs", |
1536 | .owner = THIS_MODULE, | ||
1537 | .of_match_table = zs_match, | 1536 | .of_match_table = zs_match, |
1538 | }, | 1537 | }, |
1539 | .probe = zs_probe, | 1538 | .probe = zs_probe, |
diff --git a/drivers/tty/serial/timbuart.c b/drivers/tty/serial/timbuart.c index 0d11d5032b93..03e746378f1e 100644 --- a/drivers/tty/serial/timbuart.c +++ b/drivers/tty/serial/timbuart.c | |||
@@ -501,7 +501,6 @@ static int timbuart_remove(struct platform_device *dev) | |||
501 | static struct platform_driver timbuart_platform_driver = { | 501 | static struct platform_driver timbuart_platform_driver = { |
502 | .driver = { | 502 | .driver = { |
503 | .name = "timb-uart", | 503 | .name = "timb-uart", |
504 | .owner = THIS_MODULE, | ||
505 | }, | 504 | }, |
506 | .probe = timbuart_probe, | 505 | .probe = timbuart_probe, |
507 | .remove = timbuart_remove, | 506 | .remove = timbuart_remove, |
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index c107a0f0e72f..14d10fcfd210 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c | |||
@@ -1485,7 +1485,6 @@ MODULE_DEVICE_TABLE(of, ucc_uart_match); | |||
1485 | static struct platform_driver ucc_uart_of_driver = { | 1485 | static struct platform_driver ucc_uart_of_driver = { |
1486 | .driver = { | 1486 | .driver = { |
1487 | .name = "ucc_uart", | 1487 | .name = "ucc_uart", |
1488 | .owner = THIS_MODULE, | ||
1489 | .of_match_table = ucc_uart_match, | 1488 | .of_match_table = ucc_uart_match, |
1490 | }, | 1489 | }, |
1491 | .probe = ucc_uart_probe, | 1490 | .probe = ucc_uart_probe, |
diff --git a/drivers/tty/serial/vr41xx_siu.c b/drivers/tty/serial/vr41xx_siu.c index d7f9d622cdcb..485de53c5d75 100644 --- a/drivers/tty/serial/vr41xx_siu.c +++ b/drivers/tty/serial/vr41xx_siu.c | |||
@@ -954,7 +954,6 @@ static struct platform_driver siu_device_driver = { | |||
954 | .resume = siu_resume, | 954 | .resume = siu_resume, |
955 | .driver = { | 955 | .driver = { |
956 | .name = "SIU", | 956 | .name = "SIU", |
957 | .owner = THIS_MODULE, | ||
958 | }, | 957 | }, |
959 | }; | 958 | }; |
960 | 959 | ||
diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index b2bc9e8ba048..4079ec56f5f9 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty/serial/vt8500_serial.c | |||
@@ -745,7 +745,6 @@ static struct platform_driver vt8500_platform_driver = { | |||
745 | .remove = vt8500_serial_remove, | 745 | .remove = vt8500_serial_remove, |
746 | .driver = { | 746 | .driver = { |
747 | .name = "vt8500_serial", | 747 | .name = "vt8500_serial", |
748 | .owner = THIS_MODULE, | ||
749 | .of_match_table = wmt_dt_ids, | 748 | .of_match_table = wmt_dt_ids, |
750 | }, | 749 | }, |
751 | }; | 750 | }; |
diff --git a/drivers/uio/uio_dmem_genirq.c b/drivers/uio/uio_dmem_genirq.c index 8d0bba469566..915facbf552e 100644 --- a/drivers/uio/uio_dmem_genirq.c +++ b/drivers/uio/uio_dmem_genirq.c | |||
@@ -343,7 +343,6 @@ static struct platform_driver uio_dmem_genirq = { | |||
343 | .remove = uio_dmem_genirq_remove, | 343 | .remove = uio_dmem_genirq_remove, |
344 | .driver = { | 344 | .driver = { |
345 | .name = DRIVER_NAME, | 345 | .name = DRIVER_NAME, |
346 | .owner = THIS_MODULE, | ||
347 | .pm = &uio_dmem_genirq_dev_pm_ops, | 346 | .pm = &uio_dmem_genirq_dev_pm_ops, |
348 | .of_match_table = of_match_ptr(uio_of_genirq_match), | 347 | .of_match_table = of_match_ptr(uio_of_genirq_match), |
349 | }, | 348 | }, |
diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index 76669313e9a7..f598ecddc8a7 100644 --- a/drivers/uio/uio_pdrv_genirq.c +++ b/drivers/uio/uio_pdrv_genirq.c | |||
@@ -266,7 +266,6 @@ static struct platform_driver uio_pdrv_genirq = { | |||
266 | .remove = uio_pdrv_genirq_remove, | 266 | .remove = uio_pdrv_genirq_remove, |
267 | .driver = { | 267 | .driver = { |
268 | .name = DRIVER_NAME, | 268 | .name = DRIVER_NAME, |
269 | .owner = THIS_MODULE, | ||
270 | .pm = &uio_pdrv_genirq_dev_pm_ops, | 269 | .pm = &uio_pdrv_genirq_dev_pm_ops, |
271 | .of_match_table = of_match_ptr(uio_of_genirq_match), | 270 | .of_match_table = of_match_ptr(uio_of_genirq_match), |
272 | }, | 271 | }, |
diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c index c28d6e2e3df2..818735bb8c3a 100644 --- a/drivers/uio/uio_pruss.c +++ b/drivers/uio/uio_pruss.c | |||
@@ -231,7 +231,6 @@ static struct platform_driver pruss_driver = { | |||
231 | .remove = pruss_remove, | 231 | .remove = pruss_remove, |
232 | .driver = { | 232 | .driver = { |
233 | .name = DRV_NAME, | 233 | .name = DRV_NAME, |
234 | .owner = THIS_MODULE, | ||
235 | }, | 234 | }, |
236 | }; | 235 | }; |
237 | 236 | ||
diff --git a/drivers/usb/c67x00/c67x00-drv.c b/drivers/usb/c67x00/c67x00-drv.c index 8db3380c3329..5796c8820514 100644 --- a/drivers/usb/c67x00/c67x00-drv.c +++ b/drivers/usb/c67x00/c67x00-drv.c | |||
@@ -221,7 +221,6 @@ static struct platform_driver c67x00_driver = { | |||
221 | .probe = c67x00_drv_probe, | 221 | .probe = c67x00_drv_probe, |
222 | .remove = c67x00_drv_remove, | 222 | .remove = c67x00_drv_remove, |
223 | .driver = { | 223 | .driver = { |
224 | .owner = THIS_MODULE, | ||
225 | .name = "c67x00", | 224 | .name = "c67x00", |
226 | }, | 225 | }, |
227 | }; | 226 | }; |
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index a7ab0f15926e..e913792e4df5 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c | |||
@@ -215,7 +215,6 @@ static struct platform_driver ci_hdrc_imx_driver = { | |||
215 | .remove = ci_hdrc_imx_remove, | 215 | .remove = ci_hdrc_imx_remove, |
216 | .driver = { | 216 | .driver = { |
217 | .name = "imx_usb", | 217 | .name = "imx_usb", |
218 | .owner = THIS_MODULE, | ||
219 | .of_match_table = ci_hdrc_imx_dt_ids, | 218 | .of_match_table = ci_hdrc_imx_dt_ids, |
220 | }, | 219 | }, |
221 | }; | 220 | }; |
diff --git a/drivers/usb/chipidea/ci_hdrc_zevio.c b/drivers/usb/chipidea/ci_hdrc_zevio.c index 3bf6489ef5ec..d976fc1db73a 100644 --- a/drivers/usb/chipidea/ci_hdrc_zevio.c +++ b/drivers/usb/chipidea/ci_hdrc_zevio.c | |||
@@ -61,7 +61,6 @@ static struct platform_driver ci_hdrc_zevio_driver = { | |||
61 | .remove = ci_hdrc_zevio_remove, | 61 | .remove = ci_hdrc_zevio_remove, |
62 | .driver = { | 62 | .driver = { |
63 | .name = "zevio_usb", | 63 | .name = "zevio_usb", |
64 | .owner = THIS_MODULE, | ||
65 | .of_match_table = ci_hdrc_zevio_dt_ids, | 64 | .of_match_table = ci_hdrc_zevio_dt_ids, |
66 | }, | 65 | }, |
67 | }; | 66 | }; |
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 9bdc6bd73432..947ed6e78be2 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c | |||
@@ -751,7 +751,6 @@ static struct platform_driver ci_hdrc_driver = { | |||
751 | .remove = ci_hdrc_remove, | 751 | .remove = ci_hdrc_remove, |
752 | .driver = { | 752 | .driver = { |
753 | .name = "ci_hdrc", | 753 | .name = "ci_hdrc", |
754 | .owner = THIS_MODULE, | ||
755 | }, | 754 | }, |
756 | }; | 755 | }; |
757 | 756 | ||
diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index 926c997ef310..7776ec676014 100644 --- a/drivers/usb/chipidea/usbmisc_imx.c +++ b/drivers/usb/chipidea/usbmisc_imx.c | |||
@@ -372,7 +372,6 @@ static struct platform_driver usbmisc_imx_driver = { | |||
372 | .remove = usbmisc_imx_remove, | 372 | .remove = usbmisc_imx_remove, |
373 | .driver = { | 373 | .driver = { |
374 | .name = "usbmisc_imx", | 374 | .name = "usbmisc_imx", |
375 | .owner = THIS_MODULE, | ||
376 | .of_match_table = usbmisc_imx_dt_ids, | 375 | .of_match_table = usbmisc_imx_dt_ids, |
377 | }, | 376 | }, |
378 | }; | 377 | }; |
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index eee87098bb8b..75c17b96ddfa 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c | |||
@@ -3684,7 +3684,6 @@ MODULE_DEVICE_TABLE(of, s3c_hsotg_of_ids); | |||
3684 | static struct platform_driver s3c_hsotg_driver = { | 3684 | static struct platform_driver s3c_hsotg_driver = { |
3685 | .driver = { | 3685 | .driver = { |
3686 | .name = "s3c-hsotg", | 3686 | .name = "s3c-hsotg", |
3687 | .owner = THIS_MODULE, | ||
3688 | .of_match_table = of_match_ptr(s3c_hsotg_of_ids), | 3687 | .of_match_table = of_match_ptr(s3c_hsotg_of_ids), |
3689 | }, | 3688 | }, |
3690 | .probe = s3c_hsotg_probe, | 3689 | .probe = s3c_hsotg_probe, |
diff --git a/drivers/usb/gadget/legacy/hid.c b/drivers/usb/gadget/legacy/hid.c index 778613eb37af..3090aa2aa977 100644 --- a/drivers/usb/gadget/legacy/hid.c +++ b/drivers/usb/gadget/legacy/hid.c | |||
@@ -231,7 +231,6 @@ static __refdata struct usb_composite_driver hidg_driver = { | |||
231 | static struct platform_driver hidg_plat_driver = { | 231 | static struct platform_driver hidg_plat_driver = { |
232 | .remove = hidg_plat_driver_remove, | 232 | .remove = hidg_plat_driver_remove, |
233 | .driver = { | 233 | .driver = { |
234 | .owner = THIS_MODULE, | ||
235 | .name = "hidg", | 234 | .name = "hidg", |
236 | }, | 235 | }, |
237 | }; | 236 | }; |
diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index 9968f5331fe4..41f91b4922eb 100644 --- a/drivers/usb/gadget/udc/at91_udc.c +++ b/drivers/usb/gadget/udc/at91_udc.c | |||
@@ -1972,7 +1972,6 @@ static struct platform_driver at91_udc_driver = { | |||
1972 | .resume = at91udc_resume, | 1972 | .resume = at91udc_resume, |
1973 | .driver = { | 1973 | .driver = { |
1974 | .name = (char *) driver_name, | 1974 | .name = (char *) driver_name, |
1975 | .owner = THIS_MODULE, | ||
1976 | .of_match_table = of_match_ptr(at91_udc_dt_ids), | 1975 | .of_match_table = of_match_ptr(at91_udc_dt_ids), |
1977 | }, | 1976 | }, |
1978 | }; | 1977 | }; |
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 1529926e20a0..4721989ce641 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c | |||
@@ -2120,7 +2120,6 @@ static struct platform_driver udc_driver = { | |||
2120 | .remove = __exit_p(usba_udc_remove), | 2120 | .remove = __exit_p(usba_udc_remove), |
2121 | .driver = { | 2121 | .driver = { |
2122 | .name = "atmel_usba_udc", | 2122 | .name = "atmel_usba_udc", |
2123 | .owner = THIS_MODULE, | ||
2124 | .of_match_table = of_match_ptr(atmel_udc_dt_ids), | 2123 | .of_match_table = of_match_ptr(atmel_udc_dt_ids), |
2125 | }, | 2124 | }, |
2126 | }; | 2125 | }; |
diff --git a/drivers/usb/gadget/udc/bcm63xx_udc.c b/drivers/usb/gadget/udc/bcm63xx_udc.c index 2235b8808700..55ed4a937ec5 100644 --- a/drivers/usb/gadget/udc/bcm63xx_udc.c +++ b/drivers/usb/gadget/udc/bcm63xx_udc.c | |||
@@ -2425,7 +2425,6 @@ static struct platform_driver bcm63xx_udc_driver = { | |||
2425 | .remove = bcm63xx_udc_remove, | 2425 | .remove = bcm63xx_udc_remove, |
2426 | .driver = { | 2426 | .driver = { |
2427 | .name = DRV_MODULE_NAME, | 2427 | .name = DRV_MODULE_NAME, |
2428 | .owner = THIS_MODULE, | ||
2429 | }, | 2428 | }, |
2430 | }; | 2429 | }; |
2431 | module_platform_driver(bcm63xx_udc_driver); | 2430 | module_platform_driver(bcm63xx_udc_driver); |
diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c index 81dc5959e36b..bd3fc0ed0f30 100644 --- a/drivers/usb/gadget/udc/dummy_hcd.c +++ b/drivers/usb/gadget/udc/dummy_hcd.c | |||
@@ -1042,7 +1042,6 @@ static struct platform_driver dummy_udc_driver = { | |||
1042 | .resume = dummy_udc_resume, | 1042 | .resume = dummy_udc_resume, |
1043 | .driver = { | 1043 | .driver = { |
1044 | .name = (char *) gadget_name, | 1044 | .name = (char *) gadget_name, |
1045 | .owner = THIS_MODULE, | ||
1046 | }, | 1045 | }, |
1047 | }; | 1046 | }; |
1048 | 1047 | ||
@@ -2612,7 +2611,6 @@ static struct platform_driver dummy_hcd_driver = { | |||
2612 | .resume = dummy_hcd_resume, | 2611 | .resume = dummy_hcd_resume, |
2613 | .driver = { | 2612 | .driver = { |
2614 | .name = (char *) driver_name, | 2613 | .name = (char *) driver_name, |
2615 | .owner = THIS_MODULE, | ||
2616 | }, | 2614 | }, |
2617 | }; | 2615 | }; |
2618 | 2616 | ||
diff --git a/drivers/usb/gadget/udc/fotg210-udc.c b/drivers/usb/gadget/udc/fotg210-udc.c index 1d315921bf34..9aaf485ceac6 100644 --- a/drivers/usb/gadget/udc/fotg210-udc.c +++ b/drivers/usb/gadget/udc/fotg210-udc.c | |||
@@ -1203,7 +1203,6 @@ err_alloc: | |||
1203 | static struct platform_driver fotg210_driver = { | 1203 | static struct platform_driver fotg210_driver = { |
1204 | .driver = { | 1204 | .driver = { |
1205 | .name = (char *)udc_name, | 1205 | .name = (char *)udc_name, |
1206 | .owner = THIS_MODULE, | ||
1207 | }, | 1206 | }, |
1208 | .probe = fotg210_udc_probe, | 1207 | .probe = fotg210_udc_probe, |
1209 | .remove = fotg210_udc_remove, | 1208 | .remove = fotg210_udc_remove, |
diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc/fsl_qe_udc.c index dd18ea38e391..fd71ee712abd 100644 --- a/drivers/usb/gadget/udc/fsl_qe_udc.c +++ b/drivers/usb/gadget/udc/fsl_qe_udc.c | |||
@@ -2709,7 +2709,6 @@ MODULE_DEVICE_TABLE(of, qe_udc_match); | |||
2709 | static struct platform_driver udc_driver = { | 2709 | static struct platform_driver udc_driver = { |
2710 | .driver = { | 2710 | .driver = { |
2711 | .name = driver_name, | 2711 | .name = driver_name, |
2712 | .owner = THIS_MODULE, | ||
2713 | .of_match_table = qe_udc_match, | 2712 | .of_match_table = qe_udc_match, |
2714 | }, | 2713 | }, |
2715 | .probe = qe_udc_probe, | 2714 | .probe = qe_udc_probe, |
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index c3620791a315..8e71c9ce3f9f 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/drivers/usb/gadget/udc/fsl_udc_core.c | |||
@@ -2669,7 +2669,6 @@ static struct platform_driver udc_driver = { | |||
2669 | .resume = fsl_udc_resume, | 2669 | .resume = fsl_udc_resume, |
2670 | .driver = { | 2670 | .driver = { |
2671 | .name = driver_name, | 2671 | .name = driver_name, |
2672 | .owner = THIS_MODULE, | ||
2673 | /* udc suspend/resume called from OTG driver */ | 2672 | /* udc suspend/resume called from OTG driver */ |
2674 | .suspend = fsl_udc_otg_suspend, | 2673 | .suspend = fsl_udc_otg_suspend, |
2675 | .resume = fsl_udc_otg_resume, | 2674 | .resume = fsl_udc_otg_resume, |
diff --git a/drivers/usb/gadget/udc/fusb300_udc.c b/drivers/usb/gadget/udc/fusb300_udc.c index 8286df72add4..f2d2f55be851 100644 --- a/drivers/usb/gadget/udc/fusb300_udc.c +++ b/drivers/usb/gadget/udc/fusb300_udc.c | |||
@@ -1496,7 +1496,6 @@ static struct platform_driver fusb300_driver = { | |||
1496 | .remove = __exit_p(fusb300_remove), | 1496 | .remove = __exit_p(fusb300_remove), |
1497 | .driver = { | 1497 | .driver = { |
1498 | .name = (char *) udc_name, | 1498 | .name = (char *) udc_name, |
1499 | .owner = THIS_MODULE, | ||
1500 | }, | 1499 | }, |
1501 | }; | 1500 | }; |
1502 | 1501 | ||
diff --git a/drivers/usb/gadget/udc/gr_udc.c b/drivers/usb/gadget/udc/gr_udc.c index 1b3048a6a2a3..6902b04684e8 100644 --- a/drivers/usb/gadget/udc/gr_udc.c +++ b/drivers/usb/gadget/udc/gr_udc.c | |||
@@ -2262,7 +2262,6 @@ MODULE_DEVICE_TABLE(of, gr_match); | |||
2262 | static struct platform_driver gr_driver = { | 2262 | static struct platform_driver gr_driver = { |
2263 | .driver = { | 2263 | .driver = { |
2264 | .name = DRIVER_NAME, | 2264 | .name = DRIVER_NAME, |
2265 | .owner = THIS_MODULE, | ||
2266 | .of_match_table = gr_match, | 2265 | .of_match_table = gr_match, |
2267 | }, | 2266 | }, |
2268 | .probe = gr_probe, | 2267 | .probe = gr_probe, |
diff --git a/drivers/usb/gadget/udc/lpc32xx_udc.c b/drivers/usb/gadget/udc/lpc32xx_udc.c index feab0bac8fdc..28a35da3797f 100644 --- a/drivers/usb/gadget/udc/lpc32xx_udc.c +++ b/drivers/usb/gadget/udc/lpc32xx_udc.c | |||
@@ -3410,7 +3410,6 @@ static struct platform_driver lpc32xx_udc_driver = { | |||
3410 | .resume = lpc32xx_udc_resume, | 3410 | .resume = lpc32xx_udc_resume, |
3411 | .driver = { | 3411 | .driver = { |
3412 | .name = (char *) driver_name, | 3412 | .name = (char *) driver_name, |
3413 | .owner = THIS_MODULE, | ||
3414 | .of_match_table = of_match_ptr(lpc32xx_udc_of_match), | 3413 | .of_match_table = of_match_ptr(lpc32xx_udc_of_match), |
3415 | }, | 3414 | }, |
3416 | }; | 3415 | }; |
diff --git a/drivers/usb/gadget/udc/m66592-udc.c b/drivers/usb/gadget/udc/m66592-udc.c index 898565687a8c..36e1f7558dc9 100644 --- a/drivers/usb/gadget/udc/m66592-udc.c +++ b/drivers/usb/gadget/udc/m66592-udc.c | |||
@@ -1699,7 +1699,6 @@ static struct platform_driver m66592_driver = { | |||
1699 | .remove = __exit_p(m66592_remove), | 1699 | .remove = __exit_p(m66592_remove), |
1700 | .driver = { | 1700 | .driver = { |
1701 | .name = (char *) udc_name, | 1701 | .name = (char *) udc_name, |
1702 | .owner = THIS_MODULE, | ||
1703 | }, | 1702 | }, |
1704 | }; | 1703 | }; |
1705 | 1704 | ||
diff --git a/drivers/usb/gadget/udc/mv_u3d_core.c b/drivers/usb/gadget/udc/mv_u3d_core.c index 046a1f808b0d..0e48fc2ef7f6 100644 --- a/drivers/usb/gadget/udc/mv_u3d_core.c +++ b/drivers/usb/gadget/udc/mv_u3d_core.c | |||
@@ -2053,7 +2053,6 @@ static struct platform_driver mv_u3d_driver = { | |||
2053 | .remove = mv_u3d_remove, | 2053 | .remove = mv_u3d_remove, |
2054 | .shutdown = mv_u3d_shutdown, | 2054 | .shutdown = mv_u3d_shutdown, |
2055 | .driver = { | 2055 | .driver = { |
2056 | .owner = THIS_MODULE, | ||
2057 | .name = "mv-u3d", | 2056 | .name = "mv-u3d", |
2058 | .pm = &mv_u3d_pm_ops, | 2057 | .pm = &mv_u3d_pm_ops, |
2059 | }, | 2058 | }, |
diff --git a/drivers/usb/gadget/udc/mv_udc_core.c b/drivers/usb/gadget/udc/mv_udc_core.c index 3c5db80ae325..ffed7671cda7 100644 --- a/drivers/usb/gadget/udc/mv_udc_core.c +++ b/drivers/usb/gadget/udc/mv_udc_core.c | |||
@@ -2403,7 +2403,6 @@ static struct platform_driver udc_driver = { | |||
2403 | .remove = mv_udc_remove, | 2403 | .remove = mv_udc_remove, |
2404 | .shutdown = mv_udc_shutdown, | 2404 | .shutdown = mv_udc_shutdown, |
2405 | .driver = { | 2405 | .driver = { |
2406 | .owner = THIS_MODULE, | ||
2407 | .name = "mv-udc", | 2406 | .name = "mv-udc", |
2408 | #ifdef CONFIG_PM | 2407 | #ifdef CONFIG_PM |
2409 | .pm = &mv_udc_pm_ops, | 2408 | .pm = &mv_udc_pm_ops, |
diff --git a/drivers/usb/gadget/udc/net2272.c b/drivers/usb/gadget/udc/net2272.c index 84d7162a8022..c12c29d770de 100644 --- a/drivers/usb/gadget/udc/net2272.c +++ b/drivers/usb/gadget/udc/net2272.c | |||
@@ -2674,7 +2674,6 @@ static struct platform_driver net2272_plat_driver = { | |||
2674 | .remove = net2272_plat_remove, | 2674 | .remove = net2272_plat_remove, |
2675 | .driver = { | 2675 | .driver = { |
2676 | .name = driver_name, | 2676 | .name = driver_name, |
2677 | .owner = THIS_MODULE, | ||
2678 | }, | 2677 | }, |
2679 | /* FIXME .suspend, .resume */ | 2678 | /* FIXME .suspend, .resume */ |
2680 | }; | 2679 | }; |
diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c index dcdfea46003b..81a9aa3a3b2f 100644 --- a/drivers/usb/gadget/udc/omap_udc.c +++ b/drivers/usb/gadget/udc/omap_udc.c | |||
@@ -3026,7 +3026,6 @@ static struct platform_driver udc_driver = { | |||
3026 | .suspend = omap_udc_suspend, | 3026 | .suspend = omap_udc_suspend, |
3027 | .resume = omap_udc_resume, | 3027 | .resume = omap_udc_resume, |
3028 | .driver = { | 3028 | .driver = { |
3029 | .owner = THIS_MODULE, | ||
3030 | .name = (char *) driver_name, | 3029 | .name = (char *) driver_name, |
3031 | }, | 3030 | }, |
3032 | }; | 3031 | }; |
diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c index 42f7eeb8ff6f..42274f82e233 100644 --- a/drivers/usb/gadget/udc/pxa25x_udc.c +++ b/drivers/usb/gadget/udc/pxa25x_udc.c | |||
@@ -2271,7 +2271,6 @@ static struct platform_driver udc_driver = { | |||
2271 | .suspend = pxa25x_udc_suspend, | 2271 | .suspend = pxa25x_udc_suspend, |
2272 | .resume = pxa25x_udc_resume, | 2272 | .resume = pxa25x_udc_resume, |
2273 | .driver = { | 2273 | .driver = { |
2274 | .owner = THIS_MODULE, | ||
2275 | .name = "pxa25x-udc", | 2274 | .name = "pxa25x-udc", |
2276 | }, | 2275 | }, |
2277 | }; | 2276 | }; |
diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c index 4868369eeec6..61bceedf515d 100644 --- a/drivers/usb/gadget/udc/pxa27x_udc.c +++ b/drivers/usb/gadget/udc/pxa27x_udc.c | |||
@@ -2614,7 +2614,6 @@ MODULE_ALIAS("platform:pxa27x-udc"); | |||
2614 | static struct platform_driver udc_driver = { | 2614 | static struct platform_driver udc_driver = { |
2615 | .driver = { | 2615 | .driver = { |
2616 | .name = "pxa27x-udc", | 2616 | .name = "pxa27x-udc", |
2617 | .owner = THIS_MODULE, | ||
2618 | }, | 2617 | }, |
2619 | .probe = pxa_udc_probe, | 2618 | .probe = pxa_udc_probe, |
2620 | .remove = pxa_udc_remove, | 2619 | .remove = pxa_udc_remove, |
diff --git a/drivers/usb/gadget/udc/s3c-hsudc.c b/drivers/usb/gadget/udc/s3c-hsudc.c index dfbf55797360..712e569bcbd9 100644 --- a/drivers/usb/gadget/udc/s3c-hsudc.c +++ b/drivers/usb/gadget/udc/s3c-hsudc.c | |||
@@ -1354,7 +1354,6 @@ err_supplies: | |||
1354 | 1354 | ||
1355 | static struct platform_driver s3c_hsudc_driver = { | 1355 | static struct platform_driver s3c_hsudc_driver = { |
1356 | .driver = { | 1356 | .driver = { |
1357 | .owner = THIS_MODULE, | ||
1358 | .name = "s3c-hsudc", | 1357 | .name = "s3c-hsudc", |
1359 | }, | 1358 | }, |
1360 | .probe = s3c_hsudc_probe, | 1359 | .probe = s3c_hsudc_probe, |
diff --git a/drivers/usb/gadget/udc/s3c2410_udc.c b/drivers/usb/gadget/udc/s3c2410_udc.c index ff423d15beff..306734608ed9 100644 --- a/drivers/usb/gadget/udc/s3c2410_udc.c +++ b/drivers/usb/gadget/udc/s3c2410_udc.c | |||
@@ -1997,7 +1997,6 @@ MODULE_DEVICE_TABLE(platform, s3c_udc_ids); | |||
1997 | static struct platform_driver udc_driver_24x0 = { | 1997 | static struct platform_driver udc_driver_24x0 = { |
1998 | .driver = { | 1998 | .driver = { |
1999 | .name = "s3c24x0-usbgadget", | 1999 | .name = "s3c24x0-usbgadget", |
2000 | .owner = THIS_MODULE, | ||
2001 | }, | 2000 | }, |
2002 | .probe = s3c2410_udc_probe, | 2001 | .probe = s3c2410_udc_probe, |
2003 | .remove = s3c2410_udc_remove, | 2002 | .remove = s3c2410_udc_remove, |
diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index 7189f2e32ac2..e1b4f58283ad 100644 --- a/drivers/usb/host/ehci-exynos.c +++ b/drivers/usb/host/ehci-exynos.c | |||
@@ -323,7 +323,6 @@ static struct platform_driver exynos_ehci_driver = { | |||
323 | .shutdown = usb_hcd_platform_shutdown, | 323 | .shutdown = usb_hcd_platform_shutdown, |
324 | .driver = { | 324 | .driver = { |
325 | .name = "exynos-ehci", | 325 | .name = "exynos-ehci", |
326 | .owner = THIS_MODULE, | ||
327 | .pm = &exynos_ehci_pm_ops, | 326 | .pm = &exynos_ehci_pm_ops, |
328 | .of_match_table = of_match_ptr(exynos_ehci_match), | 327 | .of_match_table = of_match_ptr(exynos_ehci_match), |
329 | } | 328 | } |
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 22e15cab8ea5..ebd203ac3fad 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c | |||
@@ -321,7 +321,6 @@ static struct platform_driver ehci_orion_driver = { | |||
321 | .shutdown = usb_hcd_platform_shutdown, | 321 | .shutdown = usb_hcd_platform_shutdown, |
322 | .driver = { | 322 | .driver = { |
323 | .name = "orion-ehci", | 323 | .name = "orion-ehci", |
324 | .owner = THIS_MODULE, | ||
325 | .of_match_table = ehci_orion_dt_ids, | 324 | .of_match_table = ehci_orion_dt_ids, |
326 | }, | 325 | }, |
327 | }; | 326 | }; |
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 2f5b9ce3e042..bc6455c8b77a 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c | |||
@@ -379,7 +379,6 @@ static struct platform_driver ehci_platform_driver = { | |||
379 | .remove = ehci_platform_remove, | 379 | .remove = ehci_platform_remove, |
380 | .shutdown = usb_hcd_platform_shutdown, | 380 | .shutdown = usb_hcd_platform_shutdown, |
381 | .driver = { | 381 | .driver = { |
382 | .owner = THIS_MODULE, | ||
383 | .name = "ehci-platform", | 382 | .name = "ehci-platform", |
384 | .pm = &ehci_platform_pm_ops, | 383 | .pm = &ehci_platform_pm_ops, |
385 | .of_match_table = vt8500_ehci_ids, | 384 | .of_match_table = vt8500_ehci_ids, |
diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c index a9303aff125e..eb7a5a83fa3d 100644 --- a/drivers/usb/host/ehci-w90x900.c +++ b/drivers/usb/host/ehci-w90x900.c | |||
@@ -126,7 +126,6 @@ static struct platform_driver ehci_hcd_w90x900_driver = { | |||
126 | .remove = ehci_w90x900_remove, | 126 | .remove = ehci_w90x900_remove, |
127 | .driver = { | 127 | .driver = { |
128 | .name = "w90x900-ehci", | 128 | .name = "w90x900-ehci", |
129 | .owner = THIS_MODULE, | ||
130 | }, | 129 | }, |
131 | }; | 130 | }; |
132 | 131 | ||
diff --git a/drivers/usb/host/fhci-hcd.c b/drivers/usb/host/fhci-hcd.c index a1a1ef521436..c6cebb96fd21 100644 --- a/drivers/usb/host/fhci-hcd.c +++ b/drivers/usb/host/fhci-hcd.c | |||
@@ -821,7 +821,6 @@ MODULE_DEVICE_TABLE(of, of_fhci_match); | |||
821 | static struct platform_driver of_fhci_driver = { | 821 | static struct platform_driver of_fhci_driver = { |
822 | .driver = { | 822 | .driver = { |
823 | .name = "fsl,usb-fhci", | 823 | .name = "fsl,usb-fhci", |
824 | .owner = THIS_MODULE, | ||
825 | .of_match_table = of_fhci_match, | 824 | .of_match_table = of_fhci_match, |
826 | }, | 825 | }, |
827 | .probe = of_fhci_probe, | 826 | .probe = of_fhci_probe, |
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index 9162d1b6c0a3..7e325e90d7d9 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c | |||
@@ -326,7 +326,6 @@ static const struct of_device_id fsl_usb2_mph_dr_of_match[] = { | |||
326 | static struct platform_driver fsl_usb2_mph_dr_driver = { | 326 | static struct platform_driver fsl_usb2_mph_dr_driver = { |
327 | .driver = { | 327 | .driver = { |
328 | .name = "fsl-usb2-mph-dr", | 328 | .name = "fsl-usb2-mph-dr", |
329 | .owner = THIS_MODULE, | ||
330 | .of_match_table = fsl_usb2_mph_dr_of_match, | 329 | .of_match_table = fsl_usb2_mph_dr_of_match, |
331 | }, | 330 | }, |
332 | .probe = fsl_usb2_mph_dr_of_probe, | 331 | .probe = fsl_usb2_mph_dr_of_probe, |
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index 240e792c81a7..31c9c4d0fa0b 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c | |||
@@ -1707,7 +1707,6 @@ static struct platform_driver isp116x_driver = { | |||
1707 | .resume = isp116x_resume, | 1707 | .resume = isp116x_resume, |
1708 | .driver = { | 1708 | .driver = { |
1709 | .name = hcd_name, | 1709 | .name = hcd_name, |
1710 | .owner = THIS_MODULE, | ||
1711 | }, | 1710 | }, |
1712 | }; | 1711 | }; |
1713 | 1712 | ||
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 4bb37982855e..75e5876f9d7c 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -2778,7 +2778,6 @@ static struct platform_driver isp1362_driver = { | |||
2778 | .resume = isp1362_resume, | 2778 | .resume = isp1362_resume, |
2779 | .driver = { | 2779 | .driver = { |
2780 | .name = hcd_name, | 2780 | .name = hcd_name, |
2781 | .owner = THIS_MODULE, | ||
2782 | }, | 2781 | }, |
2783 | }; | 2782 | }; |
2784 | 2783 | ||
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index df931e9ba5b5..09254a43bc01 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c | |||
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, of_isp1760_match); | |||
161 | static struct platform_driver isp1760_of_driver = { | 161 | static struct platform_driver isp1760_of_driver = { |
162 | .driver = { | 162 | .driver = { |
163 | .name = "nxp-isp1760", | 163 | .name = "nxp-isp1760", |
164 | .owner = THIS_MODULE, | ||
165 | .of_match_table = of_isp1760_match, | 164 | .of_match_table = of_isp1760_match, |
166 | }, | 165 | }, |
167 | .probe = of_isp1760_probe, | 166 | .probe = of_isp1760_probe, |
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index e49eb4f90f5d..1a4ea93e620d 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c | |||
@@ -664,7 +664,6 @@ static struct platform_driver ohci_hcd_at91_driver = { | |||
664 | .resume = ohci_hcd_at91_drv_resume, | 664 | .resume = ohci_hcd_at91_drv_resume, |
665 | .driver = { | 665 | .driver = { |
666 | .name = "at91_ohci", | 666 | .name = "at91_ohci", |
667 | .owner = THIS_MODULE, | ||
668 | .of_match_table = of_match_ptr(at91_ohci_dt_ids), | 667 | .of_match_table = of_match_ptr(at91_ohci_dt_ids), |
669 | }, | 668 | }, |
670 | }; | 669 | }; |
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index d28b6583ba02..4589e3abba83 100644 --- a/drivers/usb/host/ohci-exynos.c +++ b/drivers/usb/host/ohci-exynos.c | |||
@@ -292,7 +292,6 @@ static struct platform_driver exynos_ohci_driver = { | |||
292 | .shutdown = exynos_ohci_shutdown, | 292 | .shutdown = exynos_ohci_shutdown, |
293 | .driver = { | 293 | .driver = { |
294 | .name = "exynos-ohci", | 294 | .name = "exynos-ohci", |
295 | .owner = THIS_MODULE, | ||
296 | .pm = &exynos_ohci_pm_ops, | 295 | .pm = &exynos_ohci_pm_ops, |
297 | .of_match_table = of_match_ptr(exynos_ohci_match), | 296 | .of_match_table = of_match_ptr(exynos_ohci_match), |
298 | } | 297 | } |
diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c index ba180ed0f81c..d9f0481d7258 100644 --- a/drivers/usb/host/ohci-nxp.c +++ b/drivers/usb/host/ohci-nxp.c | |||
@@ -322,7 +322,6 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_nxp_match); | |||
322 | static struct platform_driver ohci_hcd_nxp_driver = { | 322 | static struct platform_driver ohci_hcd_nxp_driver = { |
323 | .driver = { | 323 | .driver = { |
324 | .name = "usb-ohci", | 324 | .name = "usb-ohci", |
325 | .owner = THIS_MODULE, | ||
326 | .of_match_table = of_match_ptr(ohci_hcd_nxp_match), | 325 | .of_match_table = of_match_ptr(ohci_hcd_nxp_match), |
327 | }, | 326 | }, |
328 | .probe = ohci_hcd_nxp_probe, | 327 | .probe = ohci_hcd_nxp_probe, |
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 0231606d47c2..989a90156f17 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -481,7 +481,6 @@ static struct platform_driver ohci_hcd_omap_driver = { | |||
481 | .resume = ohci_omap_resume, | 481 | .resume = ohci_omap_resume, |
482 | #endif | 482 | #endif |
483 | .driver = { | 483 | .driver = { |
484 | .owner = THIS_MODULE, | ||
485 | .name = "ohci", | 484 | .name = "ohci", |
486 | }, | 485 | }, |
487 | }; | 486 | }; |
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index 4369299064c7..b348483ca174 100644 --- a/drivers/usb/host/ohci-platform.c +++ b/drivers/usb/host/ohci-platform.c | |||
@@ -364,7 +364,6 @@ static struct platform_driver ohci_platform_driver = { | |||
364 | .remove = ohci_platform_remove, | 364 | .remove = ohci_platform_remove, |
365 | .shutdown = usb_hcd_platform_shutdown, | 365 | .shutdown = usb_hcd_platform_shutdown, |
366 | .driver = { | 366 | .driver = { |
367 | .owner = THIS_MODULE, | ||
368 | .name = "ohci-platform", | 367 | .name = "ohci-platform", |
369 | .pm = &ohci_platform_pm_ops, | 368 | .pm = &ohci_platform_pm_ops, |
370 | .of_match_table = ohci_platform_ids, | 369 | .of_match_table = ohci_platform_ids, |
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index e68f3d02cd1a..c069856ed39e 100644 --- a/drivers/usb/host/ohci-pxa27x.c +++ b/drivers/usb/host/ohci-pxa27x.c | |||
@@ -610,7 +610,6 @@ static struct platform_driver ohci_hcd_pxa27x_driver = { | |||
610 | .shutdown = usb_hcd_platform_shutdown, | 610 | .shutdown = usb_hcd_platform_shutdown, |
611 | .driver = { | 611 | .driver = { |
612 | .name = "pxa27x-ohci", | 612 | .name = "pxa27x-ohci", |
613 | .owner = THIS_MODULE, | ||
614 | .of_match_table = of_match_ptr(pxa_ohci_dt_ids), | 613 | .of_match_table = of_match_ptr(pxa_ohci_dt_ids), |
615 | #ifdef CONFIG_PM | 614 | #ifdef CONFIG_PM |
616 | .pm = &ohci_hcd_pxa27x_pm_ops, | 615 | .pm = &ohci_hcd_pxa27x_pm_ops, |
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c index 3d753a9d3141..095113ea1fcb 100644 --- a/drivers/usb/host/ohci-s3c2410.c +++ b/drivers/usb/host/ohci-s3c2410.c | |||
@@ -462,7 +462,6 @@ static struct platform_driver ohci_hcd_s3c2410_driver = { | |||
462 | .remove = ohci_hcd_s3c2410_drv_remove, | 462 | .remove = ohci_hcd_s3c2410_drv_remove, |
463 | .shutdown = usb_hcd_platform_shutdown, | 463 | .shutdown = usb_hcd_platform_shutdown, |
464 | .driver = { | 464 | .driver = { |
465 | .owner = THIS_MODULE, | ||
466 | .name = "s3c2410-ohci", | 465 | .name = "s3c2410-ohci", |
467 | .pm = &ohci_hcd_s3c2410_pm_ops, | 466 | .pm = &ohci_hcd_s3c2410_pm_ops, |
468 | }, | 467 | }, |
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 8d5876692e7c..062e173d8848 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c | |||
@@ -176,7 +176,6 @@ static struct platform_driver spear_ohci_hcd_driver = { | |||
176 | .resume = spear_ohci_hcd_drv_resume, | 176 | .resume = spear_ohci_hcd_drv_resume, |
177 | #endif | 177 | #endif |
178 | .driver = { | 178 | .driver = { |
179 | .owner = THIS_MODULE, | ||
180 | .name = "spear-ohci", | 179 | .name = "spear-ohci", |
181 | .of_match_table = spear_ohci_id_table, | 180 | .of_match_table = spear_ohci_id_table, |
182 | }, | 181 | }, |
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index 110b4b9ebeaa..c4bcfaedeec9 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -2535,7 +2535,6 @@ static struct platform_driver r8a66597_driver = { | |||
2535 | .remove = r8a66597_remove, | 2535 | .remove = r8a66597_remove, |
2536 | .driver = { | 2536 | .driver = { |
2537 | .name = hcd_name, | 2537 | .name = hcd_name, |
2538 | .owner = THIS_MODULE, | ||
2539 | .pm = R8A66597_DEV_PM_OPS, | 2538 | .pm = R8A66597_DEV_PM_OPS, |
2540 | }, | 2539 | }, |
2541 | }; | 2540 | }; |
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index c0671750671f..5972c0513182 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -3219,7 +3219,6 @@ static struct platform_driver u132_platform_driver = { | |||
3219 | .resume = u132_resume, | 3219 | .resume = u132_resume, |
3220 | .driver = { | 3220 | .driver = { |
3221 | .name = hcd_name, | 3221 | .name = hcd_name, |
3222 | .owner = THIS_MODULE, | ||
3223 | }, | 3222 | }, |
3224 | }; | 3223 | }; |
3225 | static int __init u132_hcd_init(void) | 3224 | static int __init u132_hcd_init(void) |
diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c index ae7e1206ca54..20b4c30ef7b8 100644 --- a/drivers/usb/misc/usb3503.c +++ b/drivers/usb/misc/usb3503.c | |||
@@ -405,7 +405,6 @@ static struct platform_driver usb3503_platform_driver = { | |||
405 | .driver = { | 405 | .driver = { |
406 | .name = USB3503_I2C_NAME, | 406 | .name = USB3503_I2C_NAME, |
407 | .of_match_table = of_match_ptr(usb3503_of_match), | 407 | .of_match_table = of_match_ptr(usb3503_of_match), |
408 | .owner = THIS_MODULE, | ||
409 | }, | 408 | }, |
410 | .probe = usb3503_platform_probe, | 409 | .probe = usb3503_platform_probe, |
411 | }; | 410 | }; |
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index b841ee0bff06..4d81bb9d11db 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -2362,7 +2362,6 @@ static struct platform_driver musb_driver = { | |||
2362 | .driver = { | 2362 | .driver = { |
2363 | .name = (char *)musb_driver_name, | 2363 | .name = (char *)musb_driver_name, |
2364 | .bus = &platform_bus_type, | 2364 | .bus = &platform_bus_type, |
2365 | .owner = THIS_MODULE, | ||
2366 | .pm = MUSB_DEV_PM_OPS, | 2365 | .pm = MUSB_DEV_PM_OPS, |
2367 | }, | 2366 | }, |
2368 | .probe = musb_probe, | 2367 | .probe = musb_probe, |
diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c index 11ab2c45e462..579ef4e9cc41 100644 --- a/drivers/usb/phy/phy-ab8500-usb.c +++ b/drivers/usb/phy/phy-ab8500-usb.c | |||
@@ -1505,7 +1505,6 @@ static struct platform_driver ab8500_usb_driver = { | |||
1505 | .id_table = ab8500_usb_devtype, | 1505 | .id_table = ab8500_usb_devtype, |
1506 | .driver = { | 1506 | .driver = { |
1507 | .name = "abx5x0-usb", | 1507 | .name = "abx5x0-usb", |
1508 | .owner = THIS_MODULE, | ||
1509 | }, | 1508 | }, |
1510 | }; | 1509 | }; |
1511 | 1510 | ||
diff --git a/drivers/usb/phy/phy-am335x-control.c b/drivers/usb/phy/phy-am335x-control.c index 35b6083b7999..460b515cc5cf 100644 --- a/drivers/usb/phy/phy-am335x-control.c +++ b/drivers/usb/phy/phy-am335x-control.c | |||
@@ -175,7 +175,6 @@ static struct platform_driver am335x_control_driver = { | |||
175 | .probe = am335x_control_usb_probe, | 175 | .probe = am335x_control_usb_probe, |
176 | .driver = { | 176 | .driver = { |
177 | .name = "am335x-control-usb", | 177 | .name = "am335x-control-usb", |
178 | .owner = THIS_MODULE, | ||
179 | .of_match_table = omap_control_usb_id_table, | 178 | .of_match_table = omap_control_usb_id_table, |
180 | }, | 179 | }, |
181 | }; | 180 | }; |
diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c index b70e05537180..90b67a4ca221 100644 --- a/drivers/usb/phy/phy-am335x.c +++ b/drivers/usb/phy/phy-am335x.c | |||
@@ -137,7 +137,6 @@ static struct platform_driver am335x_phy_driver = { | |||
137 | .remove = am335x_phy_remove, | 137 | .remove = am335x_phy_remove, |
138 | .driver = { | 138 | .driver = { |
139 | .name = "am335x-phy-driver", | 139 | .name = "am335x-phy-driver", |
140 | .owner = THIS_MODULE, | ||
141 | .pm = &am335x_pm_ops, | 140 | .pm = &am335x_pm_ops, |
142 | .of_match_table = am335x_phy_ids, | 141 | .of_match_table = am335x_phy_ids, |
143 | }, | 142 | }, |
diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c index 7594e5069ae5..1bb4d3adc9c7 100644 --- a/drivers/usb/phy/phy-generic.c +++ b/drivers/usb/phy/phy-generic.c | |||
@@ -286,7 +286,6 @@ static struct platform_driver usb_phy_generic_driver = { | |||
286 | .remove = usb_phy_generic_remove, | 286 | .remove = usb_phy_generic_remove, |
287 | .driver = { | 287 | .driver = { |
288 | .name = "usb_phy_generic", | 288 | .name = "usb_phy_generic", |
289 | .owner = THIS_MODULE, | ||
290 | .of_match_table = nop_xceiv_dt_ids, | 289 | .of_match_table = nop_xceiv_dt_ids, |
291 | }, | 290 | }, |
292 | }; | 291 | }; |
diff --git a/drivers/usb/phy/phy-gpio-vbus-usb.c b/drivers/usb/phy/phy-gpio-vbus-usb.c index f4b14bd97e14..b5c368a9175f 100644 --- a/drivers/usb/phy/phy-gpio-vbus-usb.c +++ b/drivers/usb/phy/phy-gpio-vbus-usb.c | |||
@@ -380,7 +380,6 @@ MODULE_ALIAS("platform:gpio-vbus"); | |||
380 | static struct platform_driver gpio_vbus_driver = { | 380 | static struct platform_driver gpio_vbus_driver = { |
381 | .driver = { | 381 | .driver = { |
382 | .name = "gpio-vbus", | 382 | .name = "gpio-vbus", |
383 | .owner = THIS_MODULE, | ||
384 | #ifdef CONFIG_PM | 383 | #ifdef CONFIG_PM |
385 | .pm = &gpio_vbus_dev_pm_ops, | 384 | .pm = &gpio_vbus_dev_pm_ops, |
386 | #endif | 385 | #endif |
diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c index 8eea56d3ded6..397b17134487 100644 --- a/drivers/usb/phy/phy-isp1301-omap.c +++ b/drivers/usb/phy/phy-isp1301-omap.c | |||
@@ -878,7 +878,6 @@ static struct platform_driver omap_otg_driver = { | |||
878 | .probe = otg_probe, | 878 | .probe = otg_probe, |
879 | .remove = otg_remove, | 879 | .remove = otg_remove, |
880 | .driver = { | 880 | .driver = { |
881 | .owner = THIS_MODULE, | ||
882 | .name = "omap_otg", | 881 | .name = "omap_otg", |
883 | }, | 882 | }, |
884 | }; | 883 | }; |
diff --git a/drivers/usb/phy/phy-keystone.c b/drivers/usb/phy/phy-keystone.c index f4d722de912b..e0556f7832b5 100644 --- a/drivers/usb/phy/phy-keystone.c +++ b/drivers/usb/phy/phy-keystone.c | |||
@@ -123,7 +123,6 @@ static struct platform_driver keystone_usbphy_driver = { | |||
123 | .remove = keystone_usbphy_remove, | 123 | .remove = keystone_usbphy_remove, |
124 | .driver = { | 124 | .driver = { |
125 | .name = "keystone-usbphy", | 125 | .name = "keystone-usbphy", |
126 | .owner = THIS_MODULE, | ||
127 | .of_match_table = keystone_usbphy_ids, | 126 | .of_match_table = keystone_usbphy_ids, |
128 | }, | 127 | }, |
129 | }; | 128 | }; |
diff --git a/drivers/usb/phy/phy-mv-usb.c b/drivers/usb/phy/phy-mv-usb.c index 7d80c54f0ac6..2162f7a37f76 100644 --- a/drivers/usb/phy/phy-mv-usb.c +++ b/drivers/usb/phy/phy-mv-usb.c | |||
@@ -896,7 +896,6 @@ static struct platform_driver mv_otg_driver = { | |||
896 | .probe = mv_otg_probe, | 896 | .probe = mv_otg_probe, |
897 | .remove = mv_otg_remove, | 897 | .remove = mv_otg_remove, |
898 | .driver = { | 898 | .driver = { |
899 | .owner = THIS_MODULE, | ||
900 | .name = driver_name, | 899 | .name = driver_name, |
901 | }, | 900 | }, |
902 | #ifdef CONFIG_PM | 901 | #ifdef CONFIG_PM |
diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index 0e0c41587a08..9aef6ca162fe 100644 --- a/drivers/usb/phy/phy-mxs-usb.c +++ b/drivers/usb/phy/phy-mxs-usb.c | |||
@@ -491,7 +491,6 @@ static struct platform_driver mxs_phy_driver = { | |||
491 | .remove = mxs_phy_remove, | 491 | .remove = mxs_phy_remove, |
492 | .driver = { | 492 | .driver = { |
493 | .name = DRIVER_NAME, | 493 | .name = DRIVER_NAME, |
494 | .owner = THIS_MODULE, | ||
495 | .of_match_table = mxs_phy_dt_ids, | 494 | .of_match_table = mxs_phy_dt_ids, |
496 | .pm = &mxs_phy_pm, | 495 | .pm = &mxs_phy_pm, |
497 | }, | 496 | }, |
diff --git a/drivers/usb/phy/phy-omap-otg.c b/drivers/usb/phy/phy-omap-otg.c index 11598cdb3189..56ee7603034b 100644 --- a/drivers/usb/phy/phy-omap-otg.c +++ b/drivers/usb/phy/phy-omap-otg.c | |||
@@ -158,7 +158,6 @@ static struct platform_driver omap_otg_driver = { | |||
158 | .probe = omap_otg_probe, | 158 | .probe = omap_otg_probe, |
159 | .remove = omap_otg_remove, | 159 | .remove = omap_otg_remove, |
160 | .driver = { | 160 | .driver = { |
161 | .owner = THIS_MODULE, | ||
162 | .name = "omap_otg", | 161 | .name = "omap_otg", |
163 | }, | 162 | }, |
164 | }; | 163 | }; |
diff --git a/drivers/usb/phy/phy-tahvo.c b/drivers/usb/phy/phy-tahvo.c index cc61ee44b911..6a6777d2f57d 100644 --- a/drivers/usb/phy/phy-tahvo.c +++ b/drivers/usb/phy/phy-tahvo.c | |||
@@ -446,7 +446,6 @@ static struct platform_driver tahvo_usb_driver = { | |||
446 | .remove = tahvo_usb_remove, | 446 | .remove = tahvo_usb_remove, |
447 | .driver = { | 447 | .driver = { |
448 | .name = "tahvo-usb", | 448 | .name = "tahvo-usb", |
449 | .owner = THIS_MODULE, | ||
450 | }, | 449 | }, |
451 | }; | 450 | }; |
452 | module_platform_driver(tahvo_usb_driver); | 451 | module_platform_driver(tahvo_usb_driver); |
diff --git a/drivers/usb/phy/phy-tegra-usb.c b/drivers/usb/phy/phy-tegra-usb.c index 886f1807a67b..af9c9ec9b2a6 100644 --- a/drivers/usb/phy/phy-tegra-usb.c +++ b/drivers/usb/phy/phy-tegra-usb.c | |||
@@ -1086,7 +1086,6 @@ static struct platform_driver tegra_usb_phy_driver = { | |||
1086 | .remove = tegra_usb_phy_remove, | 1086 | .remove = tegra_usb_phy_remove, |
1087 | .driver = { | 1087 | .driver = { |
1088 | .name = "tegra-phy", | 1088 | .name = "tegra-phy", |
1089 | .owner = THIS_MODULE, | ||
1090 | .of_match_table = tegra_usb_phy_id_table, | 1089 | .of_match_table = tegra_usb_phy_id_table, |
1091 | }, | 1090 | }, |
1092 | }; | 1091 | }; |
diff --git a/drivers/usb/phy/phy-twl6030-usb.c b/drivers/usb/phy/phy-twl6030-usb.c index 44ea082e40dc..12741856a75c 100644 --- a/drivers/usb/phy/phy-twl6030-usb.c +++ b/drivers/usb/phy/phy-twl6030-usb.c | |||
@@ -430,7 +430,6 @@ static struct platform_driver twl6030_usb_driver = { | |||
430 | .remove = twl6030_usb_remove, | 430 | .remove = twl6030_usb_remove, |
431 | .driver = { | 431 | .driver = { |
432 | .name = "twl6030_usb", | 432 | .name = "twl6030_usb", |
433 | .owner = THIS_MODULE, | ||
434 | .of_match_table = of_match_ptr(twl6030_usb_id_table), | 433 | .of_match_table = of_match_ptr(twl6030_usb_id_table), |
435 | }, | 434 | }, |
436 | }; | 435 | }; |
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c index c02374b6049c..933143bccb7c 100644 --- a/drivers/usb/usbip/vhci_hcd.c +++ b/drivers/usb/usbip/vhci_hcd.c | |||
@@ -1110,7 +1110,6 @@ static struct platform_driver vhci_driver = { | |||
1110 | .resume = vhci_hcd_resume, | 1110 | .resume = vhci_hcd_resume, |
1111 | .driver = { | 1111 | .driver = { |
1112 | .name = driver_name, | 1112 | .name = driver_name, |
1113 | .owner = THIS_MODULE, | ||
1114 | }, | 1113 | }, |
1115 | }; | 1114 | }; |
1116 | 1115 | ||
diff --git a/drivers/video/fbdev/amifb.c b/drivers/video/fbdev/amifb.c index 518f790ef88a..35f7900a0573 100644 --- a/drivers/video/fbdev/amifb.c +++ b/drivers/video/fbdev/amifb.c | |||
@@ -3782,7 +3782,6 @@ static struct platform_driver amifb_driver = { | |||
3782 | .remove = __exit_p(amifb_remove), | 3782 | .remove = __exit_p(amifb_remove), |
3783 | .driver = { | 3783 | .driver = { |
3784 | .name = "amiga-video", | 3784 | .name = "amiga-video", |
3785 | .owner = THIS_MODULE, | ||
3786 | }, | 3785 | }, |
3787 | }; | 3786 | }; |
3788 | 3787 | ||
diff --git a/drivers/video/fbdev/atmel_lcdfb.c b/drivers/video/fbdev/atmel_lcdfb.c index 9ec81d46fc57..94a8d04e60f9 100644 --- a/drivers/video/fbdev/atmel_lcdfb.c +++ b/drivers/video/fbdev/atmel_lcdfb.c | |||
@@ -1465,7 +1465,6 @@ static struct platform_driver atmel_lcdfb_driver = { | |||
1465 | .id_table = atmel_lcdfb_devtypes, | 1465 | .id_table = atmel_lcdfb_devtypes, |
1466 | .driver = { | 1466 | .driver = { |
1467 | .name = "atmel_lcdfb", | 1467 | .name = "atmel_lcdfb", |
1468 | .owner = THIS_MODULE, | ||
1469 | .of_match_table = of_match_ptr(atmel_lcdfb_dt_ids), | 1468 | .of_match_table = of_match_ptr(atmel_lcdfb_dt_ids), |
1470 | }, | 1469 | }, |
1471 | }; | 1470 | }; |
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c index 0676746ec68c..59560189b24a 100644 --- a/drivers/video/fbdev/au1100fb.c +++ b/drivers/video/fbdev/au1100fb.c | |||
@@ -638,7 +638,6 @@ int au1100fb_drv_resume(struct platform_device *dev) | |||
638 | static struct platform_driver au1100fb_driver = { | 638 | static struct platform_driver au1100fb_driver = { |
639 | .driver = { | 639 | .driver = { |
640 | .name = "au1100-lcd", | 640 | .name = "au1100-lcd", |
641 | .owner = THIS_MODULE, | ||
642 | }, | 641 | }, |
643 | .probe = au1100fb_drv_probe, | 642 | .probe = au1100fb_drv_probe, |
644 | .remove = au1100fb_drv_remove, | 643 | .remove = au1100fb_drv_remove, |
diff --git a/drivers/video/fbdev/au1200fb.c b/drivers/video/fbdev/au1200fb.c index 18600d4e1b3f..f9507b1894df 100644 --- a/drivers/video/fbdev/au1200fb.c +++ b/drivers/video/fbdev/au1200fb.c | |||
@@ -1841,7 +1841,6 @@ static const struct dev_pm_ops au1200fb_pmops = { | |||
1841 | static struct platform_driver au1200fb_driver = { | 1841 | static struct platform_driver au1200fb_driver = { |
1842 | .driver = { | 1842 | .driver = { |
1843 | .name = "au1200-lcd", | 1843 | .name = "au1200-lcd", |
1844 | .owner = THIS_MODULE, | ||
1845 | .pm = AU1200FB_PMOPS, | 1844 | .pm = AU1200FB_PMOPS, |
1846 | }, | 1845 | }, |
1847 | .probe = au1200fb_drv_probe, | 1846 | .probe = au1200fb_drv_probe, |
diff --git a/drivers/video/fbdev/auo_k1900fb.c b/drivers/video/fbdev/auo_k1900fb.c index f5b668e77af3..7637c60eae3d 100644 --- a/drivers/video/fbdev/auo_k1900fb.c +++ b/drivers/video/fbdev/auo_k1900fb.c | |||
@@ -193,7 +193,6 @@ static struct platform_driver auok1900fb_driver = { | |||
193 | .probe = auok1900fb_probe, | 193 | .probe = auok1900fb_probe, |
194 | .remove = auok1900fb_remove, | 194 | .remove = auok1900fb_remove, |
195 | .driver = { | 195 | .driver = { |
196 | .owner = THIS_MODULE, | ||
197 | .name = "auo_k1900fb", | 196 | .name = "auo_k1900fb", |
198 | .pm = &auok190x_pm, | 197 | .pm = &auok190x_pm, |
199 | }, | 198 | }, |
diff --git a/drivers/video/fbdev/auo_k1901fb.c b/drivers/video/fbdev/auo_k1901fb.c index 12b9adcb75c5..681fe61957b6 100644 --- a/drivers/video/fbdev/auo_k1901fb.c +++ b/drivers/video/fbdev/auo_k1901fb.c | |||
@@ -246,7 +246,6 @@ static struct platform_driver auok1901fb_driver = { | |||
246 | .probe = auok1901fb_probe, | 246 | .probe = auok1901fb_probe, |
247 | .remove = auok1901fb_remove, | 247 | .remove = auok1901fb_remove, |
248 | .driver = { | 248 | .driver = { |
249 | .owner = THIS_MODULE, | ||
250 | .name = "auo_k1901fb", | 249 | .name = "auo_k1901fb", |
251 | .pm = &auok190x_pm, | 250 | .pm = &auok190x_pm, |
252 | }, | 251 | }, |
diff --git a/drivers/video/fbdev/bf537-lq035.c b/drivers/video/fbdev/bf537-lq035.c index a82d2578d976..7db3052b471d 100644 --- a/drivers/video/fbdev/bf537-lq035.c +++ b/drivers/video/fbdev/bf537-lq035.c | |||
@@ -894,7 +894,6 @@ static struct platform_driver bfin_lq035_driver = { | |||
894 | .resume = bfin_lq035_resume, | 894 | .resume = bfin_lq035_resume, |
895 | .driver = { | 895 | .driver = { |
896 | .name = KBUILD_MODNAME, | 896 | .name = KBUILD_MODNAME, |
897 | .owner = THIS_MODULE, | ||
898 | }, | 897 | }, |
899 | }; | 898 | }; |
900 | 899 | ||
diff --git a/drivers/video/fbdev/bf54x-lq043fb.c b/drivers/video/fbdev/bf54x-lq043fb.c index adbef542c998..8f1f97c75619 100644 --- a/drivers/video/fbdev/bf54x-lq043fb.c +++ b/drivers/video/fbdev/bf54x-lq043fb.c | |||
@@ -756,7 +756,6 @@ static struct platform_driver bfin_bf54x_driver = { | |||
756 | .resume = bfin_bf54x_resume, | 756 | .resume = bfin_bf54x_resume, |
757 | .driver = { | 757 | .driver = { |
758 | .name = DRIVER_NAME, | 758 | .name = DRIVER_NAME, |
759 | .owner = THIS_MODULE, | ||
760 | }, | 759 | }, |
761 | }; | 760 | }; |
762 | module_platform_driver(bfin_bf54x_driver); | 761 | module_platform_driver(bfin_bf54x_driver); |
diff --git a/drivers/video/fbdev/bfin-t350mcqb-fb.c b/drivers/video/fbdev/bfin-t350mcqb-fb.c index b5cf1307a3d9..e5ee4d9677f7 100644 --- a/drivers/video/fbdev/bfin-t350mcqb-fb.c +++ b/drivers/video/fbdev/bfin-t350mcqb-fb.c | |||
@@ -661,7 +661,6 @@ static struct platform_driver bfin_t350mcqb_driver = { | |||
661 | .resume = bfin_t350mcqb_resume, | 661 | .resume = bfin_t350mcqb_resume, |
662 | .driver = { | 662 | .driver = { |
663 | .name = DRIVER_NAME, | 663 | .name = DRIVER_NAME, |
664 | .owner = THIS_MODULE, | ||
665 | }, | 664 | }, |
666 | }; | 665 | }; |
667 | module_platform_driver(bfin_t350mcqb_driver); | 666 | module_platform_driver(bfin_t350mcqb_driver); |
diff --git a/drivers/video/fbdev/broadsheetfb.c b/drivers/video/fbdev/broadsheetfb.c index 8556264b16b7..1c29bd19e3d5 100644 --- a/drivers/video/fbdev/broadsheetfb.c +++ b/drivers/video/fbdev/broadsheetfb.c | |||
@@ -1212,7 +1212,6 @@ static struct platform_driver broadsheetfb_driver = { | |||
1212 | .probe = broadsheetfb_probe, | 1212 | .probe = broadsheetfb_probe, |
1213 | .remove = broadsheetfb_remove, | 1213 | .remove = broadsheetfb_remove, |
1214 | .driver = { | 1214 | .driver = { |
1215 | .owner = THIS_MODULE, | ||
1216 | .name = "broadsheetfb", | 1215 | .name = "broadsheetfb", |
1217 | }, | 1216 | }, |
1218 | }; | 1217 | }; |
diff --git a/drivers/video/fbdev/bw2.c b/drivers/video/fbdev/bw2.c index bc123d6947a4..8c5b281f0b29 100644 --- a/drivers/video/fbdev/bw2.c +++ b/drivers/video/fbdev/bw2.c | |||
@@ -377,7 +377,6 @@ MODULE_DEVICE_TABLE(of, bw2_match); | |||
377 | static struct platform_driver bw2_driver = { | 377 | static struct platform_driver bw2_driver = { |
378 | .driver = { | 378 | .driver = { |
379 | .name = "bw2", | 379 | .name = "bw2", |
380 | .owner = THIS_MODULE, | ||
381 | .of_match_table = bw2_match, | 380 | .of_match_table = bw2_match, |
382 | }, | 381 | }, |
383 | .probe = bw2_probe, | 382 | .probe = bw2_probe, |
diff --git a/drivers/video/fbdev/cg14.c b/drivers/video/fbdev/cg14.c index c79745b136bb..43e915eaf606 100644 --- a/drivers/video/fbdev/cg14.c +++ b/drivers/video/fbdev/cg14.c | |||
@@ -597,7 +597,6 @@ MODULE_DEVICE_TABLE(of, cg14_match); | |||
597 | static struct platform_driver cg14_driver = { | 597 | static struct platform_driver cg14_driver = { |
598 | .driver = { | 598 | .driver = { |
599 | .name = "cg14", | 599 | .name = "cg14", |
600 | .owner = THIS_MODULE, | ||
601 | .of_match_table = cg14_match, | 600 | .of_match_table = cg14_match, |
602 | }, | 601 | }, |
603 | .probe = cg14_probe, | 602 | .probe = cg14_probe, |
diff --git a/drivers/video/fbdev/cg3.c b/drivers/video/fbdev/cg3.c index 64a89d5747ed..716391f22e75 100644 --- a/drivers/video/fbdev/cg3.c +++ b/drivers/video/fbdev/cg3.c | |||
@@ -463,7 +463,6 @@ MODULE_DEVICE_TABLE(of, cg3_match); | |||
463 | static struct platform_driver cg3_driver = { | 463 | static struct platform_driver cg3_driver = { |
464 | .driver = { | 464 | .driver = { |
465 | .name = "cg3", | 465 | .name = "cg3", |
466 | .owner = THIS_MODULE, | ||
467 | .of_match_table = cg3_match, | 466 | .of_match_table = cg3_match, |
468 | }, | 467 | }, |
469 | .probe = cg3_probe, | 468 | .probe = cg3_probe, |
diff --git a/drivers/video/fbdev/cg6.c b/drivers/video/fbdev/cg6.c index 70781fea092a..bdf901ed5291 100644 --- a/drivers/video/fbdev/cg6.c +++ b/drivers/video/fbdev/cg6.c | |||
@@ -856,7 +856,6 @@ MODULE_DEVICE_TABLE(of, cg6_match); | |||
856 | static struct platform_driver cg6_driver = { | 856 | static struct platform_driver cg6_driver = { |
857 | .driver = { | 857 | .driver = { |
858 | .name = "cg6", | 858 | .name = "cg6", |
859 | .owner = THIS_MODULE, | ||
860 | .of_match_table = cg6_match, | 859 | .of_match_table = cg6_match, |
861 | }, | 860 | }, |
862 | .probe = cg6_probe, | 861 | .probe = cg6_probe, |
diff --git a/drivers/video/fbdev/clps711x-fb.c b/drivers/video/fbdev/clps711x-fb.c index 49a7bb4ef02f..649b32f78c08 100644 --- a/drivers/video/fbdev/clps711x-fb.c +++ b/drivers/video/fbdev/clps711x-fb.c | |||
@@ -384,7 +384,6 @@ MODULE_DEVICE_TABLE(of, clps711x_fb_dt_ids); | |||
384 | static struct platform_driver clps711x_fb_driver = { | 384 | static struct platform_driver clps711x_fb_driver = { |
385 | .driver = { | 385 | .driver = { |
386 | .name = CLPS711X_FB_NAME, | 386 | .name = CLPS711X_FB_NAME, |
387 | .owner = THIS_MODULE, | ||
388 | .of_match_table = clps711x_fb_dt_ids, | 387 | .of_match_table = clps711x_fb_dt_ids, |
389 | }, | 388 | }, |
390 | .probe = clps711x_fb_probe, | 389 | .probe = clps711x_fb_probe, |
diff --git a/drivers/video/fbdev/clps711xfb.c b/drivers/video/fbdev/clps711xfb.c index f00980607b8f..7693aea8fb23 100644 --- a/drivers/video/fbdev/clps711xfb.c +++ b/drivers/video/fbdev/clps711xfb.c | |||
@@ -303,7 +303,6 @@ static int clps711x_fb_remove(struct platform_device *pdev) | |||
303 | static struct platform_driver clps711x_fb_driver = { | 303 | static struct platform_driver clps711x_fb_driver = { |
304 | .driver = { | 304 | .driver = { |
305 | .name = "video-clps711x", | 305 | .name = "video-clps711x", |
306 | .owner = THIS_MODULE, | ||
307 | }, | 306 | }, |
308 | .probe = clps711x_fb_probe, | 307 | .probe = clps711x_fb_probe, |
309 | .remove = clps711x_fb_remove, | 308 | .remove = clps711x_fb_remove, |
diff --git a/drivers/video/fbdev/cobalt_lcdfb.c b/drivers/video/fbdev/cobalt_lcdfb.c index d5533f4db1cf..07675d6f323e 100644 --- a/drivers/video/fbdev/cobalt_lcdfb.c +++ b/drivers/video/fbdev/cobalt_lcdfb.c | |||
@@ -391,7 +391,6 @@ static struct platform_driver cobalt_lcdfb_driver = { | |||
391 | .remove = cobalt_lcdfb_remove, | 391 | .remove = cobalt_lcdfb_remove, |
392 | .driver = { | 392 | .driver = { |
393 | .name = "cobalt-lcd", | 393 | .name = "cobalt-lcd", |
394 | .owner = THIS_MODULE, | ||
395 | }, | 394 | }, |
396 | }; | 395 | }; |
397 | module_platform_driver(cobalt_lcdfb_driver); | 396 | module_platform_driver(cobalt_lcdfb_driver); |
diff --git a/drivers/video/fbdev/da8xx-fb.c b/drivers/video/fbdev/da8xx-fb.c index 10c876c95772..0081725c6b5b 100644 --- a/drivers/video/fbdev/da8xx-fb.c +++ b/drivers/video/fbdev/da8xx-fb.c | |||
@@ -1659,7 +1659,6 @@ static struct platform_driver da8xx_fb_driver = { | |||
1659 | .remove = fb_remove, | 1659 | .remove = fb_remove, |
1660 | .driver = { | 1660 | .driver = { |
1661 | .name = DRIVER_NAME, | 1661 | .name = DRIVER_NAME, |
1662 | .owner = THIS_MODULE, | ||
1663 | .pm = &fb_pm_ops, | 1662 | .pm = &fb_pm_ops, |
1664 | }, | 1663 | }, |
1665 | }; | 1664 | }; |
diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c index 982f6abe6faf..4bfff349b1fb 100644 --- a/drivers/video/fbdev/efifb.c +++ b/drivers/video/fbdev/efifb.c | |||
@@ -311,7 +311,6 @@ static int efifb_remove(struct platform_device *pdev) | |||
311 | static struct platform_driver efifb_driver = { | 311 | static struct platform_driver efifb_driver = { |
312 | .driver = { | 312 | .driver = { |
313 | .name = "efi-framebuffer", | 313 | .name = "efi-framebuffer", |
314 | .owner = THIS_MODULE, | ||
315 | }, | 314 | }, |
316 | .probe = efifb_probe, | 315 | .probe = efifb_probe, |
317 | .remove = efifb_remove, | 316 | .remove = efifb_remove, |
diff --git a/drivers/video/fbdev/ep93xx-fb.c b/drivers/video/fbdev/ep93xx-fb.c index 35a0f533f1a2..7ec251cc9c03 100644 --- a/drivers/video/fbdev/ep93xx-fb.c +++ b/drivers/video/fbdev/ep93xx-fb.c | |||
@@ -622,7 +622,6 @@ static struct platform_driver ep93xxfb_driver = { | |||
622 | .remove = ep93xxfb_remove, | 622 | .remove = ep93xxfb_remove, |
623 | .driver = { | 623 | .driver = { |
624 | .name = "ep93xx-fb", | 624 | .name = "ep93xx-fb", |
625 | .owner = THIS_MODULE, | ||
626 | }, | 625 | }, |
627 | }; | 626 | }; |
628 | module_platform_driver(ep93xxfb_driver); | 627 | module_platform_driver(ep93xxfb_driver); |
diff --git a/drivers/video/fbdev/exynos/exynos_mipi_dsi.c b/drivers/video/fbdev/exynos/exynos_mipi_dsi.c index cee9602f9a7b..cc702df8605a 100644 --- a/drivers/video/fbdev/exynos/exynos_mipi_dsi.c +++ b/drivers/video/fbdev/exynos/exynos_mipi_dsi.c | |||
@@ -562,7 +562,6 @@ static struct platform_driver exynos_mipi_dsi_driver = { | |||
562 | .remove = exynos_mipi_dsi_remove, | 562 | .remove = exynos_mipi_dsi_remove, |
563 | .driver = { | 563 | .driver = { |
564 | .name = "exynos-mipi-dsim", | 564 | .name = "exynos-mipi-dsim", |
565 | .owner = THIS_MODULE, | ||
566 | .pm = &exynos_mipi_dsi_pm_ops, | 565 | .pm = &exynos_mipi_dsi_pm_ops, |
567 | }, | 566 | }, |
568 | }; | 567 | }; |
diff --git a/drivers/video/fbdev/ffb.c b/drivers/video/fbdev/ffb.c index 4c4ffa61ae26..dda31e0a45af 100644 --- a/drivers/video/fbdev/ffb.c +++ b/drivers/video/fbdev/ffb.c | |||
@@ -1052,7 +1052,6 @@ MODULE_DEVICE_TABLE(of, ffb_match); | |||
1052 | static struct platform_driver ffb_driver = { | 1052 | static struct platform_driver ffb_driver = { |
1053 | .driver = { | 1053 | .driver = { |
1054 | .name = "ffb", | 1054 | .name = "ffb", |
1055 | .owner = THIS_MODULE, | ||
1056 | .of_match_table = ffb_match, | 1055 | .of_match_table = ffb_match, |
1057 | }, | 1056 | }, |
1058 | .probe = ffb_probe, | 1057 | .probe = ffb_probe, |
diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/video/fbdev/fsl-diu-fb.c index e8758b9c3bcc..7fa2e6f9e322 100644 --- a/drivers/video/fbdev/fsl-diu-fb.c +++ b/drivers/video/fbdev/fsl-diu-fb.c | |||
@@ -1881,7 +1881,6 @@ MODULE_DEVICE_TABLE(of, fsl_diu_match); | |||
1881 | static struct platform_driver fsl_diu_driver = { | 1881 | static struct platform_driver fsl_diu_driver = { |
1882 | .driver = { | 1882 | .driver = { |
1883 | .name = "fsl-diu-fb", | 1883 | .name = "fsl-diu-fb", |
1884 | .owner = THIS_MODULE, | ||
1885 | .of_match_table = fsl_diu_match, | 1884 | .of_match_table = fsl_diu_match, |
1886 | }, | 1885 | }, |
1887 | .probe = fsl_diu_probe, | 1886 | .probe = fsl_diu_probe, |
diff --git a/drivers/video/fbdev/grvga.c b/drivers/video/fbdev/grvga.c index 2db5bb1a33e8..b471f92969b1 100644 --- a/drivers/video/fbdev/grvga.c +++ b/drivers/video/fbdev/grvga.c | |||
@@ -549,7 +549,6 @@ MODULE_DEVICE_TABLE(of, svgactrl_of_match); | |||
549 | static struct platform_driver grvga_driver = { | 549 | static struct platform_driver grvga_driver = { |
550 | .driver = { | 550 | .driver = { |
551 | .name = "grlib-svgactrl", | 551 | .name = "grlib-svgactrl", |
552 | .owner = THIS_MODULE, | ||
553 | .of_match_table = svgactrl_of_match, | 552 | .of_match_table = svgactrl_of_match, |
554 | }, | 553 | }, |
555 | .probe = grvga_probe, | 554 | .probe = grvga_probe, |
diff --git a/drivers/video/fbdev/hecubafb.c b/drivers/video/fbdev/hecubafb.c index f64120ec9192..e4031ef39491 100644 --- a/drivers/video/fbdev/hecubafb.c +++ b/drivers/video/fbdev/hecubafb.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver hecubafb_driver = { | |||
300 | .probe = hecubafb_probe, | 300 | .probe = hecubafb_probe, |
301 | .remove = hecubafb_remove, | 301 | .remove = hecubafb_remove, |
302 | .driver = { | 302 | .driver = { |
303 | .owner = THIS_MODULE, | ||
304 | .name = "hecubafb", | 303 | .name = "hecubafb", |
305 | }, | 304 | }, |
306 | }; | 305 | }; |
diff --git a/drivers/video/fbdev/hitfb.c b/drivers/video/fbdev/hitfb.c index a648d5186c6e..9d68dc9ee7bf 100644 --- a/drivers/video/fbdev/hitfb.c +++ b/drivers/video/fbdev/hitfb.c | |||
@@ -464,7 +464,6 @@ static struct platform_driver hitfb_driver = { | |||
464 | .remove = hitfb_remove, | 464 | .remove = hitfb_remove, |
465 | .driver = { | 465 | .driver = { |
466 | .name = "hitfb", | 466 | .name = "hitfb", |
467 | .owner = THIS_MODULE, | ||
468 | .pm = &hitfb_dev_pm_ops, | 467 | .pm = &hitfb_dev_pm_ops, |
469 | }, | 468 | }, |
470 | }; | 469 | }; |
diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index f6e621684953..3b6a3c8c36e2 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c | |||
@@ -1061,7 +1061,6 @@ static struct platform_driver imxfb_driver = { | |||
1061 | .driver = { | 1061 | .driver = { |
1062 | .name = DRIVER_NAME, | 1062 | .name = DRIVER_NAME, |
1063 | .of_match_table = imxfb_of_dev_id, | 1063 | .of_match_table = imxfb_of_dev_id, |
1064 | .owner = THIS_MODULE, | ||
1065 | .pm = &imxfb_pm_ops, | 1064 | .pm = &imxfb_pm_ops, |
1066 | }, | 1065 | }, |
1067 | .probe = imxfb_probe, | 1066 | .probe = imxfb_probe, |
diff --git a/drivers/video/fbdev/leo.c b/drivers/video/fbdev/leo.c index 2c7f7d479fe2..62e59dc90ee6 100644 --- a/drivers/video/fbdev/leo.c +++ b/drivers/video/fbdev/leo.c | |||
@@ -662,7 +662,6 @@ MODULE_DEVICE_TABLE(of, leo_match); | |||
662 | static struct platform_driver leo_driver = { | 662 | static struct platform_driver leo_driver = { |
663 | .driver = { | 663 | .driver = { |
664 | .name = "leo", | 664 | .name = "leo", |
665 | .owner = THIS_MODULE, | ||
666 | .of_match_table = leo_match, | 665 | .of_match_table = leo_match, |
667 | }, | 666 | }, |
668 | .probe = leo_probe, | 667 | .probe = leo_probe, |
diff --git a/drivers/video/fbdev/mb862xx/mb862xxfbdrv.c b/drivers/video/fbdev/mb862xx/mb862xxfbdrv.c index 0cd4c3318511..9b8bebdf8f86 100644 --- a/drivers/video/fbdev/mb862xx/mb862xxfbdrv.c +++ b/drivers/video/fbdev/mb862xx/mb862xxfbdrv.c | |||
@@ -835,7 +835,6 @@ static struct of_device_id of_platform_mb862xx_tbl[] = { | |||
835 | static struct platform_driver of_platform_mb862xxfb_driver = { | 835 | static struct platform_driver of_platform_mb862xxfb_driver = { |
836 | .driver = { | 836 | .driver = { |
837 | .name = DRV_NAME, | 837 | .name = DRV_NAME, |
838 | .owner = THIS_MODULE, | ||
839 | .of_match_table = of_platform_mb862xx_tbl, | 838 | .of_match_table = of_platform_mb862xx_tbl, |
840 | }, | 839 | }, |
841 | .probe = of_platform_mb862xx_probe, | 840 | .probe = of_platform_mb862xx_probe, |
diff --git a/drivers/video/fbdev/metronomefb.c b/drivers/video/fbdev/metronomefb.c index 195cc2db4c2c..ad04a01e2761 100644 --- a/drivers/video/fbdev/metronomefb.c +++ b/drivers/video/fbdev/metronomefb.c | |||
@@ -766,7 +766,6 @@ static struct platform_driver metronomefb_driver = { | |||
766 | .probe = metronomefb_probe, | 766 | .probe = metronomefb_probe, |
767 | .remove = metronomefb_remove, | 767 | .remove = metronomefb_remove, |
768 | .driver = { | 768 | .driver = { |
769 | .owner = THIS_MODULE, | ||
770 | .name = "metronomefb", | 769 | .name = "metronomefb", |
771 | }, | 770 | }, |
772 | }; | 771 | }; |
diff --git a/drivers/video/fbdev/mmp/fb/mmpfb.c b/drivers/video/fbdev/mmp/fb/mmpfb.c index 910fcc6ecece..92279e02dd94 100644 --- a/drivers/video/fbdev/mmp/fb/mmpfb.c +++ b/drivers/video/fbdev/mmp/fb/mmpfb.c | |||
@@ -673,7 +673,6 @@ failed_destroy_mutex: | |||
673 | static struct platform_driver mmpfb_driver = { | 673 | static struct platform_driver mmpfb_driver = { |
674 | .driver = { | 674 | .driver = { |
675 | .name = "mmp-fb", | 675 | .name = "mmp-fb", |
676 | .owner = THIS_MODULE, | ||
677 | }, | 676 | }, |
678 | .probe = mmpfb_probe, | 677 | .probe = mmpfb_probe, |
679 | }; | 678 | }; |
diff --git a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c index 8621a9f2bdcc..117383634de9 100644 --- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c +++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c | |||
@@ -572,7 +572,6 @@ failed: | |||
572 | static struct platform_driver mmphw_driver = { | 572 | static struct platform_driver mmphw_driver = { |
573 | .driver = { | 573 | .driver = { |
574 | .name = "mmp-disp", | 574 | .name = "mmp-disp", |
575 | .owner = THIS_MODULE, | ||
576 | }, | 575 | }, |
577 | .probe = mmphw_probe, | 576 | .probe = mmphw_probe, |
578 | }; | 577 | }; |
diff --git a/drivers/video/fbdev/mx3fb.c b/drivers/video/fbdev/mx3fb.c index 23ec781e9a61..9c3f5f53cbd1 100644 --- a/drivers/video/fbdev/mx3fb.c +++ b/drivers/video/fbdev/mx3fb.c | |||
@@ -1646,7 +1646,6 @@ static int mx3fb_remove(struct platform_device *dev) | |||
1646 | static struct platform_driver mx3fb_driver = { | 1646 | static struct platform_driver mx3fb_driver = { |
1647 | .driver = { | 1647 | .driver = { |
1648 | .name = MX3FB_NAME, | 1648 | .name = MX3FB_NAME, |
1649 | .owner = THIS_MODULE, | ||
1650 | }, | 1649 | }, |
1651 | .probe = mx3fb_probe, | 1650 | .probe = mx3fb_probe, |
1652 | .remove = mx3fb_remove, | 1651 | .remove = mx3fb_remove, |
diff --git a/drivers/video/fbdev/nuc900fb.c b/drivers/video/fbdev/nuc900fb.c index 478f9808dee4..389fa2cbb713 100644 --- a/drivers/video/fbdev/nuc900fb.c +++ b/drivers/video/fbdev/nuc900fb.c | |||
@@ -755,7 +755,6 @@ static struct platform_driver nuc900fb_driver = { | |||
755 | .resume = nuc900fb_resume, | 755 | .resume = nuc900fb_resume, |
756 | .driver = { | 756 | .driver = { |
757 | .name = "nuc900-lcd", | 757 | .name = "nuc900-lcd", |
758 | .owner = THIS_MODULE, | ||
759 | }, | 758 | }, |
760 | }; | 759 | }; |
761 | 760 | ||
diff --git a/drivers/video/fbdev/omap/lcd_ams_delta.c b/drivers/video/fbdev/omap/lcd_ams_delta.c index 4a5f2cd3d3bf..f912a207b394 100644 --- a/drivers/video/fbdev/omap/lcd_ams_delta.c +++ b/drivers/video/fbdev/omap/lcd_ams_delta.c | |||
@@ -218,7 +218,6 @@ static struct platform_driver ams_delta_panel_driver = { | |||
218 | .resume = ams_delta_panel_resume, | 218 | .resume = ams_delta_panel_resume, |
219 | .driver = { | 219 | .driver = { |
220 | .name = "lcd_ams_delta", | 220 | .name = "lcd_ams_delta", |
221 | .owner = THIS_MODULE, | ||
222 | }, | 221 | }, |
223 | }; | 222 | }; |
224 | 223 | ||
diff --git a/drivers/video/fbdev/omap/lcd_h3.c b/drivers/video/fbdev/omap/lcd_h3.c index 49bdeca81e50..a0729d0200d0 100644 --- a/drivers/video/fbdev/omap/lcd_h3.c +++ b/drivers/video/fbdev/omap/lcd_h3.c | |||
@@ -120,7 +120,6 @@ static struct platform_driver h3_panel_driver = { | |||
120 | .resume = h3_panel_resume, | 120 | .resume = h3_panel_resume, |
121 | .driver = { | 121 | .driver = { |
122 | .name = "lcd_h3", | 122 | .name = "lcd_h3", |
123 | .owner = THIS_MODULE, | ||
124 | }, | 123 | }, |
125 | }; | 124 | }; |
126 | 125 | ||
diff --git a/drivers/video/fbdev/omap/lcd_htcherald.c b/drivers/video/fbdev/omap/lcd_htcherald.c index 20f477851d54..8b4dfa058258 100644 --- a/drivers/video/fbdev/omap/lcd_htcherald.c +++ b/drivers/video/fbdev/omap/lcd_htcherald.c | |||
@@ -111,7 +111,6 @@ static struct platform_driver htcherald_panel_driver = { | |||
111 | .resume = htcherald_panel_resume, | 111 | .resume = htcherald_panel_resume, |
112 | .driver = { | 112 | .driver = { |
113 | .name = "lcd_htcherald", | 113 | .name = "lcd_htcherald", |
114 | .owner = THIS_MODULE, | ||
115 | }, | 114 | }, |
116 | }; | 115 | }; |
117 | 116 | ||
diff --git a/drivers/video/fbdev/omap/lcd_inn1510.c b/drivers/video/fbdev/omap/lcd_inn1510.c index 2ee423279e35..49907fab36ac 100644 --- a/drivers/video/fbdev/omap/lcd_inn1510.c +++ b/drivers/video/fbdev/omap/lcd_inn1510.c | |||
@@ -106,7 +106,6 @@ static struct platform_driver innovator1510_panel_driver = { | |||
106 | .resume = innovator1510_panel_resume, | 106 | .resume = innovator1510_panel_resume, |
107 | .driver = { | 107 | .driver = { |
108 | .name = "lcd_inn1510", | 108 | .name = "lcd_inn1510", |
109 | .owner = THIS_MODULE, | ||
110 | }, | 109 | }, |
111 | }; | 110 | }; |
112 | 111 | ||
diff --git a/drivers/video/fbdev/omap/lcd_inn1610.c b/drivers/video/fbdev/omap/lcd_inn1610.c index e3d3d135aa48..8b42894eeb77 100644 --- a/drivers/video/fbdev/omap/lcd_inn1610.c +++ b/drivers/video/fbdev/omap/lcd_inn1610.c | |||
@@ -127,7 +127,6 @@ static struct platform_driver innovator1610_panel_driver = { | |||
127 | .resume = innovator1610_panel_resume, | 127 | .resume = innovator1610_panel_resume, |
128 | .driver = { | 128 | .driver = { |
129 | .name = "lcd_inn1610", | 129 | .name = "lcd_inn1610", |
130 | .owner = THIS_MODULE, | ||
131 | }, | 130 | }, |
132 | }; | 131 | }; |
133 | 132 | ||
diff --git a/drivers/video/fbdev/omap/lcd_osk.c b/drivers/video/fbdev/omap/lcd_osk.c index 7fbe04bce0ed..c3ddebf934b2 100644 --- a/drivers/video/fbdev/omap/lcd_osk.c +++ b/drivers/video/fbdev/omap/lcd_osk.c | |||
@@ -126,7 +126,6 @@ static struct platform_driver osk_panel_driver = { | |||
126 | .resume = osk_panel_resume, | 126 | .resume = osk_panel_resume, |
127 | .driver = { | 127 | .driver = { |
128 | .name = "lcd_osk", | 128 | .name = "lcd_osk", |
129 | .owner = THIS_MODULE, | ||
130 | }, | 129 | }, |
131 | }; | 130 | }; |
132 | 131 | ||
diff --git a/drivers/video/fbdev/omap/lcd_palmte.c b/drivers/video/fbdev/omap/lcd_palmte.c index ff4fb624b904..2713fed286f7 100644 --- a/drivers/video/fbdev/omap/lcd_palmte.c +++ b/drivers/video/fbdev/omap/lcd_palmte.c | |||
@@ -103,7 +103,6 @@ static struct platform_driver palmte_panel_driver = { | |||
103 | .resume = palmte_panel_resume, | 103 | .resume = palmte_panel_resume, |
104 | .driver = { | 104 | .driver = { |
105 | .name = "lcd_palmte", | 105 | .name = "lcd_palmte", |
106 | .owner = THIS_MODULE, | ||
107 | }, | 106 | }, |
108 | }; | 107 | }; |
109 | 108 | ||
diff --git a/drivers/video/fbdev/omap/lcd_palmtt.c b/drivers/video/fbdev/omap/lcd_palmtt.c index aaf3c8ba1243..3d0ea04ec248 100644 --- a/drivers/video/fbdev/omap/lcd_palmtt.c +++ b/drivers/video/fbdev/omap/lcd_palmtt.c | |||
@@ -109,7 +109,6 @@ static struct platform_driver palmtt_panel_driver = { | |||
109 | .resume = palmtt_panel_resume, | 109 | .resume = palmtt_panel_resume, |
110 | .driver = { | 110 | .driver = { |
111 | .name = "lcd_palmtt", | 111 | .name = "lcd_palmtt", |
112 | .owner = THIS_MODULE, | ||
113 | }, | 112 | }, |
114 | }; | 113 | }; |
115 | 114 | ||
diff --git a/drivers/video/fbdev/omap/lcd_palmz71.c b/drivers/video/fbdev/omap/lcd_palmz71.c index 3b7d8aa1cf34..a20db4f7ea99 100644 --- a/drivers/video/fbdev/omap/lcd_palmz71.c +++ b/drivers/video/fbdev/omap/lcd_palmz71.c | |||
@@ -105,7 +105,6 @@ static struct platform_driver palmz71_panel_driver = { | |||
105 | .resume = palmz71_panel_resume, | 105 | .resume = palmz71_panel_resume, |
106 | .driver = { | 106 | .driver = { |
107 | .name = "lcd_palmz71", | 107 | .name = "lcd_palmz71", |
108 | .owner = THIS_MODULE, | ||
109 | }, | 108 | }, |
110 | }; | 109 | }; |
111 | 110 | ||
diff --git a/drivers/video/fbdev/omap/omapfb_main.c b/drivers/video/fbdev/omap/omapfb_main.c index d8d028d98711..1fb3ea3c98a1 100644 --- a/drivers/video/fbdev/omap/omapfb_main.c +++ b/drivers/video/fbdev/omap/omapfb_main.c | |||
@@ -1869,7 +1869,6 @@ static struct platform_driver omapfb_driver = { | |||
1869 | .resume = omapfb_resume, | 1869 | .resume = omapfb_resume, |
1870 | .driver = { | 1870 | .driver = { |
1871 | .name = MODULE_NAME, | 1871 | .name = MODULE_NAME, |
1872 | .owner = THIS_MODULE, | ||
1873 | }, | 1872 | }, |
1874 | }; | 1873 | }; |
1875 | 1874 | ||
diff --git a/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c b/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c index 91921665b98b..9a2b5ce58545 100644 --- a/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c +++ b/drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c | |||
@@ -308,7 +308,6 @@ static struct platform_driver tvc_connector_driver = { | |||
308 | .remove = __exit_p(tvc_remove), | 308 | .remove = __exit_p(tvc_remove), |
309 | .driver = { | 309 | .driver = { |
310 | .name = "connector-analog-tv", | 310 | .name = "connector-analog-tv", |
311 | .owner = THIS_MODULE, | ||
312 | .of_match_table = tvc_of_match, | 311 | .of_match_table = tvc_of_match, |
313 | .suppress_bind_attrs = true, | 312 | .suppress_bind_attrs = true, |
314 | }, | 313 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/connector-dvi.c b/drivers/video/fbdev/omap2/displays-new/connector-dvi.c index 2dfb6e5ff0cc..2314a875f35c 100644 --- a/drivers/video/fbdev/omap2/displays-new/connector-dvi.c +++ b/drivers/video/fbdev/omap2/displays-new/connector-dvi.c | |||
@@ -389,7 +389,6 @@ static struct platform_driver dvi_connector_driver = { | |||
389 | .remove = __exit_p(dvic_remove), | 389 | .remove = __exit_p(dvic_remove), |
390 | .driver = { | 390 | .driver = { |
391 | .name = "connector-dvi", | 391 | .name = "connector-dvi", |
392 | .owner = THIS_MODULE, | ||
393 | .of_match_table = dvic_of_match, | 392 | .of_match_table = dvic_of_match, |
394 | .suppress_bind_attrs = true, | 393 | .suppress_bind_attrs = true, |
395 | }, | 394 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/connector-hdmi.c b/drivers/video/fbdev/omap2/displays-new/connector-hdmi.c index 7b25967a91eb..88ed96798966 100644 --- a/drivers/video/fbdev/omap2/displays-new/connector-hdmi.c +++ b/drivers/video/fbdev/omap2/displays-new/connector-hdmi.c | |||
@@ -435,7 +435,6 @@ static struct platform_driver hdmi_connector_driver = { | |||
435 | .remove = __exit_p(hdmic_remove), | 435 | .remove = __exit_p(hdmic_remove), |
436 | .driver = { | 436 | .driver = { |
437 | .name = "connector-hdmi", | 437 | .name = "connector-hdmi", |
438 | .owner = THIS_MODULE, | ||
439 | .of_match_table = hdmic_of_match, | 438 | .of_match_table = hdmic_of_match, |
440 | .suppress_bind_attrs = true, | 439 | .suppress_bind_attrs = true, |
441 | }, | 440 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c b/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c index 47ee7cdee1c5..e85f7e1f70f7 100644 --- a/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c +++ b/drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c | |||
@@ -296,7 +296,6 @@ static struct platform_driver tfp410_driver = { | |||
296 | .remove = __exit_p(tfp410_remove), | 296 | .remove = __exit_p(tfp410_remove), |
297 | .driver = { | 297 | .driver = { |
298 | .name = "tfp410", | 298 | .name = "tfp410", |
299 | .owner = THIS_MODULE, | ||
300 | .of_match_table = tfp410_of_match, | 299 | .of_match_table = tfp410_of_match, |
301 | .suppress_bind_attrs = true, | 300 | .suppress_bind_attrs = true, |
302 | }, | 301 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c b/drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c index c4abd56dd846..d782f8cc350f 100644 --- a/drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c +++ b/drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c | |||
@@ -459,7 +459,6 @@ static struct platform_driver tpd_driver = { | |||
459 | .remove = __exit_p(tpd_remove), | 459 | .remove = __exit_p(tpd_remove), |
460 | .driver = { | 460 | .driver = { |
461 | .name = "tpd12s015", | 461 | .name = "tpd12s015", |
462 | .owner = THIS_MODULE, | ||
463 | .of_match_table = tpd_of_match, | 462 | .of_match_table = tpd_of_match, |
464 | .suppress_bind_attrs = true, | 463 | .suppress_bind_attrs = true, |
465 | }, | 464 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/panel-dpi.c b/drivers/video/fbdev/omap2/displays-new/panel-dpi.c index a9c3dcf0f6b5..eb8fd8140ad0 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-dpi.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-dpi.c | |||
@@ -325,7 +325,6 @@ static struct platform_driver panel_dpi_driver = { | |||
325 | .remove = __exit_p(panel_dpi_remove), | 325 | .remove = __exit_p(panel_dpi_remove), |
326 | .driver = { | 326 | .driver = { |
327 | .name = "panel-dpi", | 327 | .name = "panel-dpi", |
328 | .owner = THIS_MODULE, | ||
329 | .of_match_table = panel_dpi_of_match, | 328 | .of_match_table = panel_dpi_of_match, |
330 | .suppress_bind_attrs = true, | 329 | .suppress_bind_attrs = true, |
331 | }, | 330 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c b/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c index 899cb1ab523d..3414c2609320 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c | |||
@@ -1376,7 +1376,6 @@ static struct platform_driver dsicm_driver = { | |||
1376 | .remove = __exit_p(dsicm_remove), | 1376 | .remove = __exit_p(dsicm_remove), |
1377 | .driver = { | 1377 | .driver = { |
1378 | .name = "panel-dsi-cm", | 1378 | .name = "panel-dsi-cm", |
1379 | .owner = THIS_MODULE, | ||
1380 | .of_match_table = dsicm_of_match, | 1379 | .of_match_table = dsicm_of_match, |
1381 | .suppress_bind_attrs = true, | 1380 | .suppress_bind_attrs = true, |
1382 | }, | 1381 | }, |
diff --git a/drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c b/drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c index 234142cc3764..18b19b6e1ac2 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c | |||
@@ -408,7 +408,6 @@ static struct platform_driver sharp_ls_driver = { | |||
408 | .remove = __exit_p(sharp_ls_remove), | 408 | .remove = __exit_p(sharp_ls_remove), |
409 | .driver = { | 409 | .driver = { |
410 | .name = "panel-sharp-ls037v7dw01", | 410 | .name = "panel-sharp-ls037v7dw01", |
411 | .owner = THIS_MODULE, | ||
412 | .of_match_table = sharp_ls_of_match, | 411 | .of_match_table = sharp_ls_of_match, |
413 | .suppress_bind_attrs = true, | 412 | .suppress_bind_attrs = true, |
414 | }, | 413 | }, |
diff --git a/drivers/video/fbdev/omap2/dss/core.c b/drivers/video/fbdev/omap2/dss/core.c index 6b74f73fb524..d5d92124e019 100644 --- a/drivers/video/fbdev/omap2/dss/core.c +++ b/drivers/video/fbdev/omap2/dss/core.c | |||
@@ -244,7 +244,6 @@ static struct platform_driver omap_dss_driver = { | |||
244 | .shutdown = omap_dss_shutdown, | 244 | .shutdown = omap_dss_shutdown, |
245 | .driver = { | 245 | .driver = { |
246 | .name = "omapdss", | 246 | .name = "omapdss", |
247 | .owner = THIS_MODULE, | ||
248 | }, | 247 | }, |
249 | }; | 248 | }; |
250 | 249 | ||
diff --git a/drivers/video/fbdev/omap2/dss/dispc.c b/drivers/video/fbdev/omap2/dss/dispc.c index 0e9a74bb9fc2..5ef59d3e011e 100644 --- a/drivers/video/fbdev/omap2/dss/dispc.c +++ b/drivers/video/fbdev/omap2/dss/dispc.c | |||
@@ -3839,7 +3839,6 @@ static struct platform_driver omap_dispchw_driver = { | |||
3839 | .remove = __exit_p(omap_dispchw_remove), | 3839 | .remove = __exit_p(omap_dispchw_remove), |
3840 | .driver = { | 3840 | .driver = { |
3841 | .name = "omapdss_dispc", | 3841 | .name = "omapdss_dispc", |
3842 | .owner = THIS_MODULE, | ||
3843 | .pm = &dispc_pm_ops, | 3842 | .pm = &dispc_pm_ops, |
3844 | .of_match_table = dispc_of_match, | 3843 | .of_match_table = dispc_of_match, |
3845 | .suppress_bind_attrs = true, | 3844 | .suppress_bind_attrs = true, |
diff --git a/drivers/video/fbdev/omap2/dss/dpi.c b/drivers/video/fbdev/omap2/dss/dpi.c index 4a3363dae74a..497690a8a480 100644 --- a/drivers/video/fbdev/omap2/dss/dpi.c +++ b/drivers/video/fbdev/omap2/dss/dpi.c | |||
@@ -719,7 +719,6 @@ static struct platform_driver omap_dpi_driver = { | |||
719 | .remove = __exit_p(omap_dpi_remove), | 719 | .remove = __exit_p(omap_dpi_remove), |
720 | .driver = { | 720 | .driver = { |
721 | .name = "omapdss_dpi", | 721 | .name = "omapdss_dpi", |
722 | .owner = THIS_MODULE, | ||
723 | .suppress_bind_attrs = true, | 722 | .suppress_bind_attrs = true, |
724 | }, | 723 | }, |
725 | }; | 724 | }; |
diff --git a/drivers/video/fbdev/omap2/dss/dsi.c b/drivers/video/fbdev/omap2/dss/dsi.c index 0793bc67a275..43b5445c1515 100644 --- a/drivers/video/fbdev/omap2/dss/dsi.c +++ b/drivers/video/fbdev/omap2/dss/dsi.c | |||
@@ -5751,7 +5751,6 @@ static struct platform_driver omap_dsihw_driver = { | |||
5751 | .remove = __exit_p(omap_dsihw_remove), | 5751 | .remove = __exit_p(omap_dsihw_remove), |
5752 | .driver = { | 5752 | .driver = { |
5753 | .name = "omapdss_dsi", | 5753 | .name = "omapdss_dsi", |
5754 | .owner = THIS_MODULE, | ||
5755 | .pm = &dsi_pm_ops, | 5754 | .pm = &dsi_pm_ops, |
5756 | .of_match_table = dsi_of_match, | 5755 | .of_match_table = dsi_of_match, |
5757 | .suppress_bind_attrs = true, | 5756 | .suppress_bind_attrs = true, |
diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c index 14bcd6c43f72..0db603c2d73c 100644 --- a/drivers/video/fbdev/omap2/dss/dss.c +++ b/drivers/video/fbdev/omap2/dss/dss.c | |||
@@ -963,7 +963,6 @@ static struct platform_driver omap_dsshw_driver = { | |||
963 | .remove = __exit_p(omap_dsshw_remove), | 963 | .remove = __exit_p(omap_dsshw_remove), |
964 | .driver = { | 964 | .driver = { |
965 | .name = "omapdss_dss", | 965 | .name = "omapdss_dss", |
966 | .owner = THIS_MODULE, | ||
967 | .pm = &dss_pm_ops, | 966 | .pm = &dss_pm_ops, |
968 | .of_match_table = dss_of_match, | 967 | .of_match_table = dss_of_match, |
969 | .suppress_bind_attrs = true, | 968 | .suppress_bind_attrs = true, |
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4.c b/drivers/video/fbdev/omap2/dss/hdmi4.c index 9a8713ca090c..aac9623e6fc7 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi4.c +++ b/drivers/video/fbdev/omap2/dss/hdmi4.c | |||
@@ -778,7 +778,6 @@ static struct platform_driver omapdss_hdmihw_driver = { | |||
778 | .remove = __exit_p(omapdss_hdmihw_remove), | 778 | .remove = __exit_p(omapdss_hdmihw_remove), |
779 | .driver = { | 779 | .driver = { |
780 | .name = "omapdss_hdmi", | 780 | .name = "omapdss_hdmi", |
781 | .owner = THIS_MODULE, | ||
782 | .pm = &hdmi_pm_ops, | 781 | .pm = &hdmi_pm_ops, |
783 | .of_match_table = hdmi_of_match, | 782 | .of_match_table = hdmi_of_match, |
784 | .suppress_bind_attrs = true, | 783 | .suppress_bind_attrs = true, |
diff --git a/drivers/video/fbdev/omap2/dss/hdmi5.c b/drivers/video/fbdev/omap2/dss/hdmi5.c index 169b764bb9d4..1ab679a5b4d9 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi5.c +++ b/drivers/video/fbdev/omap2/dss/hdmi5.c | |||
@@ -803,7 +803,6 @@ static struct platform_driver omapdss_hdmihw_driver = { | |||
803 | .remove = __exit_p(omapdss_hdmihw_remove), | 803 | .remove = __exit_p(omapdss_hdmihw_remove), |
804 | .driver = { | 804 | .driver = { |
805 | .name = "omapdss_hdmi5", | 805 | .name = "omapdss_hdmi5", |
806 | .owner = THIS_MODULE, | ||
807 | .pm = &hdmi_pm_ops, | 806 | .pm = &hdmi_pm_ops, |
808 | .of_match_table = hdmi_of_match, | 807 | .of_match_table = hdmi_of_match, |
809 | .suppress_bind_attrs = true, | 808 | .suppress_bind_attrs = true, |
diff --git a/drivers/video/fbdev/omap2/dss/rfbi.c b/drivers/video/fbdev/omap2/dss/rfbi.c index 878273f58839..28e694b11ff9 100644 --- a/drivers/video/fbdev/omap2/dss/rfbi.c +++ b/drivers/video/fbdev/omap2/dss/rfbi.c | |||
@@ -1042,7 +1042,6 @@ static struct platform_driver omap_rfbihw_driver = { | |||
1042 | .remove = __exit_p(omap_rfbihw_remove), | 1042 | .remove = __exit_p(omap_rfbihw_remove), |
1043 | .driver = { | 1043 | .driver = { |
1044 | .name = "omapdss_rfbi", | 1044 | .name = "omapdss_rfbi", |
1045 | .owner = THIS_MODULE, | ||
1046 | .pm = &rfbi_pm_ops, | 1045 | .pm = &rfbi_pm_ops, |
1047 | .suppress_bind_attrs = true, | 1046 | .suppress_bind_attrs = true, |
1048 | }, | 1047 | }, |
diff --git a/drivers/video/fbdev/omap2/dss/sdi.c b/drivers/video/fbdev/omap2/dss/sdi.c index 4c9c46d4ea60..83ea2f75e127 100644 --- a/drivers/video/fbdev/omap2/dss/sdi.c +++ b/drivers/video/fbdev/omap2/dss/sdi.c | |||
@@ -376,7 +376,6 @@ static struct platform_driver omap_sdi_driver = { | |||
376 | .remove = __exit_p(omap_sdi_remove), | 376 | .remove = __exit_p(omap_sdi_remove), |
377 | .driver = { | 377 | .driver = { |
378 | .name = "omapdss_sdi", | 378 | .name = "omapdss_sdi", |
379 | .owner = THIS_MODULE, | ||
380 | .suppress_bind_attrs = true, | 379 | .suppress_bind_attrs = true, |
381 | }, | 380 | }, |
382 | }; | 381 | }; |
diff --git a/drivers/video/fbdev/omap2/dss/venc.c b/drivers/video/fbdev/omap2/dss/venc.c index d077d8a75ddc..ef7fd925e7f2 100644 --- a/drivers/video/fbdev/omap2/dss/venc.c +++ b/drivers/video/fbdev/omap2/dss/venc.c | |||
@@ -963,7 +963,6 @@ static struct platform_driver omap_venchw_driver = { | |||
963 | .remove = __exit_p(omap_venchw_remove), | 963 | .remove = __exit_p(omap_venchw_remove), |
964 | .driver = { | 964 | .driver = { |
965 | .name = "omapdss_venc", | 965 | .name = "omapdss_venc", |
966 | .owner = THIS_MODULE, | ||
967 | .pm = &venc_pm_ops, | 966 | .pm = &venc_pm_ops, |
968 | .of_match_table = venc_of_match, | 967 | .of_match_table = venc_of_match, |
969 | .suppress_bind_attrs = true, | 968 | .suppress_bind_attrs = true, |
diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c index ce8a70570756..22f07f88bc40 100644 --- a/drivers/video/fbdev/omap2/omapfb/omapfb-main.c +++ b/drivers/video/fbdev/omap2/omapfb/omapfb-main.c | |||
@@ -2638,7 +2638,6 @@ static struct platform_driver omapfb_driver = { | |||
2638 | .remove = omapfb_remove, | 2638 | .remove = omapfb_remove, |
2639 | .driver = { | 2639 | .driver = { |
2640 | .name = "omapfb", | 2640 | .name = "omapfb", |
2641 | .owner = THIS_MODULE, | ||
2642 | }, | 2641 | }, |
2643 | }; | 2642 | }; |
2644 | 2643 | ||
diff --git a/drivers/video/fbdev/p9100.c b/drivers/video/fbdev/p9100.c index 367cea8f43f3..1f6ee76af878 100644 --- a/drivers/video/fbdev/p9100.c +++ b/drivers/video/fbdev/p9100.c | |||
@@ -353,7 +353,6 @@ MODULE_DEVICE_TABLE(of, p9100_match); | |||
353 | static struct platform_driver p9100_driver = { | 353 | static struct platform_driver p9100_driver = { |
354 | .driver = { | 354 | .driver = { |
355 | .name = "p9100", | 355 | .name = "p9100", |
356 | .owner = THIS_MODULE, | ||
357 | .of_match_table = p9100_match, | 356 | .of_match_table = p9100_match, |
358 | }, | 357 | }, |
359 | .probe = p9100_probe, | 358 | .probe = p9100_probe, |
diff --git a/drivers/video/fbdev/platinumfb.c b/drivers/video/fbdev/platinumfb.c index 4c9299576827..518d1fd38a81 100644 --- a/drivers/video/fbdev/platinumfb.c +++ b/drivers/video/fbdev/platinumfb.c | |||
@@ -679,7 +679,6 @@ static struct platform_driver platinum_driver = | |||
679 | { | 679 | { |
680 | .driver = { | 680 | .driver = { |
681 | .name = "platinumfb", | 681 | .name = "platinumfb", |
682 | .owner = THIS_MODULE, | ||
683 | .of_match_table = platinumfb_match, | 682 | .of_match_table = platinumfb_match, |
684 | }, | 683 | }, |
685 | .probe = platinumfb_probe, | 684 | .probe = platinumfb_probe, |
diff --git a/drivers/video/fbdev/pxa168fb.c b/drivers/video/fbdev/pxa168fb.c index c95b9e46d48f..e209b039f553 100644 --- a/drivers/video/fbdev/pxa168fb.c +++ b/drivers/video/fbdev/pxa168fb.c | |||
@@ -823,7 +823,6 @@ static int pxa168fb_remove(struct platform_device *pdev) | |||
823 | static struct platform_driver pxa168fb_driver = { | 823 | static struct platform_driver pxa168fb_driver = { |
824 | .driver = { | 824 | .driver = { |
825 | .name = "pxa168-fb", | 825 | .name = "pxa168-fb", |
826 | .owner = THIS_MODULE, | ||
827 | }, | 826 | }, |
828 | .probe = pxa168fb_probe, | 827 | .probe = pxa168fb_probe, |
829 | .remove = pxa168fb_remove, | 828 | .remove = pxa168fb_remove, |
diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 4df3657fe221..86bd457d039d 100644 --- a/drivers/video/fbdev/pxa3xx-gcu.c +++ b/drivers/video/fbdev/pxa3xx-gcu.c | |||
@@ -707,7 +707,6 @@ static struct platform_driver pxa3xx_gcu_driver = { | |||
707 | .probe = pxa3xx_gcu_probe, | 707 | .probe = pxa3xx_gcu_probe, |
708 | .remove = pxa3xx_gcu_remove, | 708 | .remove = pxa3xx_gcu_remove, |
709 | .driver = { | 709 | .driver = { |
710 | .owner = THIS_MODULE, | ||
711 | .name = DRV_NAME, | 710 | .name = DRV_NAME, |
712 | }, | 711 | }, |
713 | }; | 712 | }; |
diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c index a5acca88fa63..da2431eda2fd 100644 --- a/drivers/video/fbdev/pxafb.c +++ b/drivers/video/fbdev/pxafb.c | |||
@@ -2304,7 +2304,6 @@ static struct platform_driver pxafb_driver = { | |||
2304 | .probe = pxafb_probe, | 2304 | .probe = pxafb_probe, |
2305 | .remove = pxafb_remove, | 2305 | .remove = pxafb_remove, |
2306 | .driver = { | 2306 | .driver = { |
2307 | .owner = THIS_MODULE, | ||
2308 | .name = "pxa2xx-fb", | 2307 | .name = "pxa2xx-fb", |
2309 | #ifdef CONFIG_PM | 2308 | #ifdef CONFIG_PM |
2310 | .pm = &pxafb_pm_ops, | 2309 | .pm = &pxafb_pm_ops, |
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c index b33abb0a433d..a623a4d0c94f 100644 --- a/drivers/video/fbdev/s3c-fb.c +++ b/drivers/video/fbdev/s3c-fb.c | |||
@@ -1971,7 +1971,6 @@ static struct platform_driver s3c_fb_driver = { | |||
1971 | .id_table = s3c_fb_driver_ids, | 1971 | .id_table = s3c_fb_driver_ids, |
1972 | .driver = { | 1972 | .driver = { |
1973 | .name = "s3c-fb", | 1973 | .name = "s3c-fb", |
1974 | .owner = THIS_MODULE, | ||
1975 | .pm = &s3cfb_pm_ops, | 1974 | .pm = &s3cfb_pm_ops, |
1976 | }, | 1975 | }, |
1977 | }; | 1976 | }; |
diff --git a/drivers/video/fbdev/s3c2410fb.c b/drivers/video/fbdev/s3c2410fb.c index e350eb57f11d..d6704add1601 100644 --- a/drivers/video/fbdev/s3c2410fb.c +++ b/drivers/video/fbdev/s3c2410fb.c | |||
@@ -1104,7 +1104,6 @@ static struct platform_driver s3c2410fb_driver = { | |||
1104 | .resume = s3c2410fb_resume, | 1104 | .resume = s3c2410fb_resume, |
1105 | .driver = { | 1105 | .driver = { |
1106 | .name = "s3c2410-lcd", | 1106 | .name = "s3c2410-lcd", |
1107 | .owner = THIS_MODULE, | ||
1108 | }, | 1107 | }, |
1109 | }; | 1108 | }; |
1110 | 1109 | ||
@@ -1115,7 +1114,6 @@ static struct platform_driver s3c2412fb_driver = { | |||
1115 | .resume = s3c2410fb_resume, | 1114 | .resume = s3c2410fb_resume, |
1116 | .driver = { | 1115 | .driver = { |
1117 | .name = "s3c2412-lcd", | 1116 | .name = "s3c2412-lcd", |
1118 | .owner = THIS_MODULE, | ||
1119 | }, | 1117 | }, |
1120 | }; | 1118 | }; |
1121 | 1119 | ||
diff --git a/drivers/video/fbdev/sa1100fb.c b/drivers/video/fbdev/sa1100fb.c index 9690216d38ff..4900b37d2240 100644 --- a/drivers/video/fbdev/sa1100fb.c +++ b/drivers/video/fbdev/sa1100fb.c | |||
@@ -1288,7 +1288,6 @@ static struct platform_driver sa1100fb_driver = { | |||
1288 | .resume = sa1100fb_resume, | 1288 | .resume = sa1100fb_resume, |
1289 | .driver = { | 1289 | .driver = { |
1290 | .name = "sa11x0-fb", | 1290 | .name = "sa11x0-fb", |
1291 | .owner = THIS_MODULE, | ||
1292 | }, | 1291 | }, |
1293 | }; | 1292 | }; |
1294 | 1293 | ||
diff --git a/drivers/video/fbdev/sh7760fb.c b/drivers/video/fbdev/sh7760fb.c index 1265b25f9f99..96de91d76623 100644 --- a/drivers/video/fbdev/sh7760fb.c +++ b/drivers/video/fbdev/sh7760fb.c | |||
@@ -578,7 +578,6 @@ static int sh7760fb_remove(struct platform_device *dev) | |||
578 | static struct platform_driver sh7760_lcdc_driver = { | 578 | static struct platform_driver sh7760_lcdc_driver = { |
579 | .driver = { | 579 | .driver = { |
580 | .name = "sh7760-lcdc", | 580 | .name = "sh7760-lcdc", |
581 | .owner = THIS_MODULE, | ||
582 | }, | 581 | }, |
583 | .probe = sh7760fb_probe, | 582 | .probe = sh7760fb_probe, |
584 | .remove = sh7760fb_remove, | 583 | .remove = sh7760fb_remove, |
diff --git a/drivers/video/fbdev/sh_mobile_lcdcfb.c b/drivers/video/fbdev/sh_mobile_lcdcfb.c index 2bcc84ac18c7..ba03c8e65ddb 100644 --- a/drivers/video/fbdev/sh_mobile_lcdcfb.c +++ b/drivers/video/fbdev/sh_mobile_lcdcfb.c | |||
@@ -2849,7 +2849,6 @@ err1: | |||
2849 | static struct platform_driver sh_mobile_lcdc_driver = { | 2849 | static struct platform_driver sh_mobile_lcdc_driver = { |
2850 | .driver = { | 2850 | .driver = { |
2851 | .name = "sh_mobile_lcdc_fb", | 2851 | .name = "sh_mobile_lcdc_fb", |
2852 | .owner = THIS_MODULE, | ||
2853 | .pm = &sh_mobile_lcdc_dev_pm_ops, | 2852 | .pm = &sh_mobile_lcdc_dev_pm_ops, |
2854 | }, | 2853 | }, |
2855 | .probe = sh_mobile_lcdc_probe, | 2854 | .probe = sh_mobile_lcdc_probe, |
diff --git a/drivers/video/fbdev/sh_mobile_meram.c b/drivers/video/fbdev/sh_mobile_meram.c index a297de5cc859..1d56108dee9c 100644 --- a/drivers/video/fbdev/sh_mobile_meram.c +++ b/drivers/video/fbdev/sh_mobile_meram.c | |||
@@ -745,7 +745,6 @@ static int sh_mobile_meram_remove(struct platform_device *pdev) | |||
745 | static struct platform_driver sh_mobile_meram_driver = { | 745 | static struct platform_driver sh_mobile_meram_driver = { |
746 | .driver = { | 746 | .driver = { |
747 | .name = "sh_mobile_meram", | 747 | .name = "sh_mobile_meram", |
748 | .owner = THIS_MODULE, | ||
749 | .pm = &sh_mobile_meram_dev_pm_ops, | 748 | .pm = &sh_mobile_meram_dev_pm_ops, |
750 | }, | 749 | }, |
751 | .probe = sh_mobile_meram_probe, | 750 | .probe = sh_mobile_meram_probe, |
diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c index 210f3a02121a..76756c80cad6 100644 --- a/drivers/video/fbdev/simplefb.c +++ b/drivers/video/fbdev/simplefb.c | |||
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(of, simplefb_of_match); | |||
267 | static struct platform_driver simplefb_driver = { | 267 | static struct platform_driver simplefb_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "simple-framebuffer", | 269 | .name = "simple-framebuffer", |
270 | .owner = THIS_MODULE, | ||
271 | .of_match_table = simplefb_of_match, | 270 | .of_match_table = simplefb_of_match, |
272 | }, | 271 | }, |
273 | .probe = simplefb_probe, | 272 | .probe = simplefb_probe, |
diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index 9e74e8fbe074..0f8fb9925e11 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c | |||
@@ -2224,7 +2224,6 @@ static struct platform_driver sm501fb_driver = { | |||
2224 | .resume = sm501fb_resume, | 2224 | .resume = sm501fb_resume, |
2225 | .driver = { | 2225 | .driver = { |
2226 | .name = "sm501-fb", | 2226 | .name = "sm501-fb", |
2227 | .owner = THIS_MODULE, | ||
2228 | }, | 2227 | }, |
2229 | }; | 2228 | }; |
2230 | 2229 | ||
diff --git a/drivers/video/fbdev/sunxvr1000.c b/drivers/video/fbdev/sunxvr1000.c index 58241b47a96d..08879bdfad35 100644 --- a/drivers/video/fbdev/sunxvr1000.c +++ b/drivers/video/fbdev/sunxvr1000.c | |||
@@ -202,7 +202,6 @@ static struct platform_driver gfb_driver = { | |||
202 | .remove = gfb_remove, | 202 | .remove = gfb_remove, |
203 | .driver = { | 203 | .driver = { |
204 | .name = "gfb", | 204 | .name = "gfb", |
205 | .owner = THIS_MODULE, | ||
206 | .of_match_table = gfb_match, | 205 | .of_match_table = gfb_match, |
207 | }, | 206 | }, |
208 | }; | 207 | }; |
diff --git a/drivers/video/fbdev/tcx.c b/drivers/video/fbdev/tcx.c index 7fb2d696fac7..54ad08854c94 100644 --- a/drivers/video/fbdev/tcx.c +++ b/drivers/video/fbdev/tcx.c | |||
@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, tcx_match); | |||
512 | static struct platform_driver tcx_driver = { | 512 | static struct platform_driver tcx_driver = { |
513 | .driver = { | 513 | .driver = { |
514 | .name = "tcx", | 514 | .name = "tcx", |
515 | .owner = THIS_MODULE, | ||
516 | .of_match_table = tcx_match, | 515 | .of_match_table = tcx_match, |
517 | }, | 516 | }, |
518 | .probe = tcx_probe, | 517 | .probe = tcx_probe, |
diff --git a/drivers/video/fbdev/vesafb.c b/drivers/video/fbdev/vesafb.c index 6170e7f58640..d79a0ac49fc7 100644 --- a/drivers/video/fbdev/vesafb.c +++ b/drivers/video/fbdev/vesafb.c | |||
@@ -512,7 +512,6 @@ static int vesafb_remove(struct platform_device *pdev) | |||
512 | static struct platform_driver vesafb_driver = { | 512 | static struct platform_driver vesafb_driver = { |
513 | .driver = { | 513 | .driver = { |
514 | .name = "vesa-framebuffer", | 514 | .name = "vesa-framebuffer", |
515 | .owner = THIS_MODULE, | ||
516 | }, | 515 | }, |
517 | .probe = vesafb_probe, | 516 | .probe = vesafb_probe, |
518 | .remove = vesafb_remove, | 517 | .remove = vesafb_remove, |
diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c index a1134c3f6c11..ffaf29eeaaba 100644 --- a/drivers/video/fbdev/vt8500lcdfb.c +++ b/drivers/video/fbdev/vt8500lcdfb.c | |||
@@ -486,7 +486,6 @@ static struct platform_driver vt8500lcd_driver = { | |||
486 | .probe = vt8500lcd_probe, | 486 | .probe = vt8500lcd_probe, |
487 | .remove = vt8500lcd_remove, | 487 | .remove = vt8500lcd_remove, |
488 | .driver = { | 488 | .driver = { |
489 | .owner = THIS_MODULE, | ||
490 | .name = "vt8500-lcd", | 489 | .name = "vt8500-lcd", |
491 | .of_match_table = of_match_ptr(via_dt_ids), | 490 | .of_match_table = of_match_ptr(via_dt_ids), |
492 | }, | 491 | }, |
diff --git a/drivers/video/fbdev/wm8505fb.c b/drivers/video/fbdev/wm8505fb.c index d2fafbbcd7f8..e925619da39b 100644 --- a/drivers/video/fbdev/wm8505fb.c +++ b/drivers/video/fbdev/wm8505fb.c | |||
@@ -407,7 +407,6 @@ static struct platform_driver wm8505fb_driver = { | |||
407 | .probe = wm8505fb_probe, | 407 | .probe = wm8505fb_probe, |
408 | .remove = wm8505fb_remove, | 408 | .remove = wm8505fb_remove, |
409 | .driver = { | 409 | .driver = { |
410 | .owner = THIS_MODULE, | ||
411 | .name = DRIVER_NAME, | 410 | .name = DRIVER_NAME, |
412 | .of_match_table = wmt_dt_ids, | 411 | .of_match_table = wmt_dt_ids, |
413 | }, | 412 | }, |
diff --git a/drivers/video/fbdev/wmt_ge_rops.c b/drivers/video/fbdev/wmt_ge_rops.c index 9df6fe78a44b..89d23844c1db 100644 --- a/drivers/video/fbdev/wmt_ge_rops.c +++ b/drivers/video/fbdev/wmt_ge_rops.c | |||
@@ -167,7 +167,6 @@ static struct platform_driver wmt_ge_rops_driver = { | |||
167 | .probe = wmt_ge_rops_probe, | 167 | .probe = wmt_ge_rops_probe, |
168 | .remove = wmt_ge_rops_remove, | 168 | .remove = wmt_ge_rops_remove, |
169 | .driver = { | 169 | .driver = { |
170 | .owner = THIS_MODULE, | ||
171 | .name = "wmt_ge_rops", | 170 | .name = "wmt_ge_rops", |
172 | .of_match_table = wmt_dt_ids, | 171 | .of_match_table = wmt_dt_ids, |
173 | }, | 172 | }, |
diff --git a/drivers/video/fbdev/xilinxfb.c b/drivers/video/fbdev/xilinxfb.c index 553cff2f3f4c..17dc119c7a98 100644 --- a/drivers/video/fbdev/xilinxfb.c +++ b/drivers/video/fbdev/xilinxfb.c | |||
@@ -497,7 +497,6 @@ static struct platform_driver xilinxfb_of_driver = { | |||
497 | .remove = xilinxfb_of_remove, | 497 | .remove = xilinxfb_of_remove, |
498 | .driver = { | 498 | .driver = { |
499 | .name = DRIVER_NAME, | 499 | .name = DRIVER_NAME, |
500 | .owner = THIS_MODULE, | ||
501 | .of_match_table = xilinxfb_of_match, | 500 | .of_match_table = xilinxfb_of_match, |
502 | }, | 501 | }, |
503 | }; | 502 | }; |
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index ef9a1650bb80..5b0917670f89 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c | |||
@@ -639,7 +639,6 @@ static struct platform_driver virtio_mmio_driver = { | |||
639 | .remove = virtio_mmio_remove, | 639 | .remove = virtio_mmio_remove, |
640 | .driver = { | 640 | .driver = { |
641 | .name = "virtio-mmio", | 641 | .name = "virtio-mmio", |
642 | .owner = THIS_MODULE, | ||
643 | .of_match_table = virtio_mmio_match, | 642 | .of_match_table = virtio_mmio_match, |
644 | }, | 643 | }, |
645 | }; | 644 | }; |
diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c index da3d0f0ad63c..53bf2c860ad3 100644 --- a/drivers/w1/masters/mxc_w1.c +++ b/drivers/w1/masters/mxc_w1.c | |||
@@ -175,7 +175,6 @@ MODULE_DEVICE_TABLE(of, mxc_w1_dt_ids); | |||
175 | static struct platform_driver mxc_w1_driver = { | 175 | static struct platform_driver mxc_w1_driver = { |
176 | .driver = { | 176 | .driver = { |
177 | .name = "mxc_w1", | 177 | .name = "mxc_w1", |
178 | .owner = THIS_MODULE, | ||
179 | .of_match_table = mxc_w1_dt_ids, | 178 | .of_match_table = mxc_w1_dt_ids, |
180 | }, | 179 | }, |
181 | .probe = mxc_w1_probe, | 180 | .probe = mxc_w1_probe, |
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c index 1d111e56c8c8..b99a932ad901 100644 --- a/drivers/w1/masters/w1-gpio.c +++ b/drivers/w1/masters/w1-gpio.c | |||
@@ -228,7 +228,6 @@ static int w1_gpio_resume(struct platform_device *pdev) | |||
228 | static struct platform_driver w1_gpio_driver = { | 228 | static struct platform_driver w1_gpio_driver = { |
229 | .driver = { | 229 | .driver = { |
230 | .name = "w1-gpio", | 230 | .name = "w1-gpio", |
231 | .owner = THIS_MODULE, | ||
232 | .of_match_table = of_match_ptr(w1_gpio_dt_ids), | 231 | .of_match_table = of_match_ptr(w1_gpio_dt_ids), |
233 | }, | 232 | }, |
234 | .probe = w1_gpio_probe, | 233 | .probe = w1_gpio_probe, |
diff --git a/drivers/watchdog/acquirewdt.c b/drivers/watchdog/acquirewdt.c index 5614416f1032..d6210d946082 100644 --- a/drivers/watchdog/acquirewdt.c +++ b/drivers/watchdog/acquirewdt.c | |||
@@ -294,7 +294,6 @@ static struct platform_driver acquirewdt_driver = { | |||
294 | .remove = acq_remove, | 294 | .remove = acq_remove, |
295 | .shutdown = acq_shutdown, | 295 | .shutdown = acq_shutdown, |
296 | .driver = { | 296 | .driver = { |
297 | .owner = THIS_MODULE, | ||
298 | .name = DRV_NAME, | 297 | .name = DRV_NAME, |
299 | }, | 298 | }, |
300 | }; | 299 | }; |
diff --git a/drivers/watchdog/advantechwdt.c b/drivers/watchdog/advantechwdt.c index 7796db7fa6e1..7d7db0c5a64e 100644 --- a/drivers/watchdog/advantechwdt.c +++ b/drivers/watchdog/advantechwdt.c | |||
@@ -302,7 +302,6 @@ static struct platform_driver advwdt_driver = { | |||
302 | .remove = advwdt_remove, | 302 | .remove = advwdt_remove, |
303 | .shutdown = advwdt_shutdown, | 303 | .shutdown = advwdt_shutdown, |
304 | .driver = { | 304 | .driver = { |
305 | .owner = THIS_MODULE, | ||
306 | .name = DRV_NAME, | 305 | .name = DRV_NAME, |
307 | }, | 306 | }, |
308 | }; | 307 | }; |
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c index ae6c287a49cb..6d5ae251e309 100644 --- a/drivers/watchdog/ar7_wdt.c +++ b/drivers/watchdog/ar7_wdt.c | |||
@@ -324,7 +324,6 @@ static struct platform_driver ar7_wdt_driver = { | |||
324 | .remove = ar7_wdt_remove, | 324 | .remove = ar7_wdt_remove, |
325 | .shutdown = ar7_wdt_shutdown, | 325 | .shutdown = ar7_wdt_shutdown, |
326 | .driver = { | 326 | .driver = { |
327 | .owner = THIS_MODULE, | ||
328 | .name = "ar7_wdt", | 327 | .name = "ar7_wdt", |
329 | }, | 328 | }, |
330 | }; | 329 | }; |
diff --git a/drivers/watchdog/at32ap700x_wdt.c b/drivers/watchdog/at32ap700x_wdt.c index 25b5c67d3af9..81ba8920f127 100644 --- a/drivers/watchdog/at32ap700x_wdt.c +++ b/drivers/watchdog/at32ap700x_wdt.c | |||
@@ -422,7 +422,6 @@ static struct platform_driver at32_wdt_driver = { | |||
422 | .resume = at32_wdt_resume, | 422 | .resume = at32_wdt_resume, |
423 | .driver = { | 423 | .driver = { |
424 | .name = "at32_wdt", | 424 | .name = "at32_wdt", |
425 | .owner = THIS_MODULE, | ||
426 | }, | 425 | }, |
427 | .shutdown = at32_wdt_shutdown, | 426 | .shutdown = at32_wdt_shutdown, |
428 | }; | 427 | }; |
diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c index dee6cc21d270..d244112d5b6f 100644 --- a/drivers/watchdog/at91rm9200_wdt.c +++ b/drivers/watchdog/at91rm9200_wdt.c | |||
@@ -268,7 +268,6 @@ static struct platform_driver at91wdt_driver = { | |||
268 | .resume = at91wdt_resume, | 268 | .resume = at91wdt_resume, |
269 | .driver = { | 269 | .driver = { |
270 | .name = "at91_wdt", | 270 | .name = "at91_wdt", |
271 | .owner = THIS_MODULE, | ||
272 | .of_match_table = at91_wdt_dt_ids, | 271 | .of_match_table = at91_wdt_dt_ids, |
273 | }, | 272 | }, |
274 | }; | 273 | }; |
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index 489729b26298..6df940528fd2 100644 --- a/drivers/watchdog/at91sam9_wdt.c +++ b/drivers/watchdog/at91sam9_wdt.c | |||
@@ -393,7 +393,6 @@ static struct platform_driver at91wdt_driver = { | |||
393 | .remove = __exit_p(at91wdt_remove), | 393 | .remove = __exit_p(at91wdt_remove), |
394 | .driver = { | 394 | .driver = { |
395 | .name = "at91_wdt", | 395 | .name = "at91_wdt", |
396 | .owner = THIS_MODULE, | ||
397 | .of_match_table = of_match_ptr(at91_wdt_dt_ids), | 396 | .of_match_table = of_match_ptr(at91_wdt_dt_ids), |
398 | }, | 397 | }, |
399 | }; | 398 | }; |
diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c index 41ac4660fb89..835d310081e1 100644 --- a/drivers/watchdog/ath79_wdt.c +++ b/drivers/watchdog/ath79_wdt.c | |||
@@ -326,7 +326,6 @@ static struct platform_driver ath79_wdt_driver = { | |||
326 | .shutdown = ath97_wdt_shutdown, | 326 | .shutdown = ath97_wdt_shutdown, |
327 | .driver = { | 327 | .driver = { |
328 | .name = DRIVER_NAME, | 328 | .name = DRIVER_NAME, |
329 | .owner = THIS_MODULE, | ||
330 | .of_match_table = of_match_ptr(ath79_wdt_match), | 329 | .of_match_table = of_match_ptr(ath79_wdt_match), |
331 | }, | 330 | }, |
332 | }; | 331 | }; |
diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c index 8df450c090a9..2b5a9bbf80b7 100644 --- a/drivers/watchdog/bcm2835_wdt.c +++ b/drivers/watchdog/bcm2835_wdt.c | |||
@@ -167,7 +167,6 @@ static struct platform_driver bcm2835_wdt_driver = { | |||
167 | .shutdown = bcm2835_wdt_shutdown, | 167 | .shutdown = bcm2835_wdt_shutdown, |
168 | .driver = { | 168 | .driver = { |
169 | .name = "bcm2835-wdt", | 169 | .name = "bcm2835-wdt", |
170 | .owner = THIS_MODULE, | ||
171 | .of_match_table = bcm2835_wdt_of_match, | 170 | .of_match_table = bcm2835_wdt_of_match, |
172 | }, | 171 | }, |
173 | }; | 172 | }; |
diff --git a/drivers/watchdog/bcm47xx_wdt.c b/drivers/watchdog/bcm47xx_wdt.c index b61fcc535979..9816485f6825 100644 --- a/drivers/watchdog/bcm47xx_wdt.c +++ b/drivers/watchdog/bcm47xx_wdt.c | |||
@@ -242,7 +242,6 @@ static int bcm47xx_wdt_remove(struct platform_device *pdev) | |||
242 | 242 | ||
243 | static struct platform_driver bcm47xx_wdt_driver = { | 243 | static struct platform_driver bcm47xx_wdt_driver = { |
244 | .driver = { | 244 | .driver = { |
245 | .owner = THIS_MODULE, | ||
246 | .name = "bcm47xx-wdt", | 245 | .name = "bcm47xx-wdt", |
247 | }, | 246 | }, |
248 | .probe = bcm47xx_wdt_probe, | 247 | .probe = bcm47xx_wdt_probe, |
diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c index 5a8e879a430a..ab26fd90729e 100644 --- a/drivers/watchdog/bcm63xx_wdt.c +++ b/drivers/watchdog/bcm63xx_wdt.c | |||
@@ -304,7 +304,6 @@ static struct platform_driver bcm63xx_wdt_driver = { | |||
304 | .remove = bcm63xx_wdt_remove, | 304 | .remove = bcm63xx_wdt_remove, |
305 | .shutdown = bcm63xx_wdt_shutdown, | 305 | .shutdown = bcm63xx_wdt_shutdown, |
306 | .driver = { | 306 | .driver = { |
307 | .owner = THIS_MODULE, | ||
308 | .name = "bcm63xx-wdt", | 307 | .name = "bcm63xx-wdt", |
309 | } | 308 | } |
310 | }; | 309 | }; |
diff --git a/drivers/watchdog/bcm_kona_wdt.c b/drivers/watchdog/bcm_kona_wdt.c index 9c248099f4a2..4e37db3539a4 100644 --- a/drivers/watchdog/bcm_kona_wdt.c +++ b/drivers/watchdog/bcm_kona_wdt.c | |||
@@ -352,7 +352,6 @@ MODULE_DEVICE_TABLE(of, bcm_kona_wdt_of_match); | |||
352 | static struct platform_driver bcm_kona_wdt_driver = { | 352 | static struct platform_driver bcm_kona_wdt_driver = { |
353 | .driver = { | 353 | .driver = { |
354 | .name = BCM_KONA_WDT_NAME, | 354 | .name = BCM_KONA_WDT_NAME, |
355 | .owner = THIS_MODULE, | ||
356 | .of_match_table = bcm_kona_wdt_of_match, | 355 | .of_match_table = bcm_kona_wdt_of_match, |
357 | }, | 356 | }, |
358 | .probe = bcm_kona_wdt_probe, | 357 | .probe = bcm_kona_wdt_probe, |
diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c index a3b6a5b30f9f..aa4d2e8a8ef9 100644 --- a/drivers/watchdog/bfin_wdt.c +++ b/drivers/watchdog/bfin_wdt.c | |||
@@ -407,7 +407,6 @@ static struct platform_driver bfin_wdt_driver = { | |||
407 | .resume = bfin_wdt_resume, | 407 | .resume = bfin_wdt_resume, |
408 | .driver = { | 408 | .driver = { |
409 | .name = WATCHDOG_NAME, | 409 | .name = WATCHDOG_NAME, |
410 | .owner = THIS_MODULE, | ||
411 | }, | 410 | }, |
412 | }; | 411 | }; |
413 | 412 | ||
diff --git a/drivers/watchdog/coh901327_wdt.c b/drivers/watchdog/coh901327_wdt.c index 4bd070f524e5..ce12f437f195 100644 --- a/drivers/watchdog/coh901327_wdt.c +++ b/drivers/watchdog/coh901327_wdt.c | |||
@@ -448,7 +448,6 @@ static const struct of_device_id coh901327_dt_match[] = { | |||
448 | 448 | ||
449 | static struct platform_driver coh901327_driver = { | 449 | static struct platform_driver coh901327_driver = { |
450 | .driver = { | 450 | .driver = { |
451 | .owner = THIS_MODULE, | ||
452 | .name = "coh901327_wdog", | 451 | .name = "coh901327_wdog", |
453 | .of_match_table = coh901327_dt_match, | 452 | .of_match_table = coh901327_dt_match, |
454 | }, | 453 | }, |
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c index e55ed702209f..02007689e9ca 100644 --- a/drivers/watchdog/cpwd.c +++ b/drivers/watchdog/cpwd.c | |||
@@ -679,7 +679,6 @@ MODULE_DEVICE_TABLE(of, cpwd_match); | |||
679 | static struct platform_driver cpwd_driver = { | 679 | static struct platform_driver cpwd_driver = { |
680 | .driver = { | 680 | .driver = { |
681 | .name = DRIVER_NAME, | 681 | .name = DRIVER_NAME, |
682 | .owner = THIS_MODULE, | ||
683 | .of_match_table = cpwd_match, | 682 | .of_match_table = cpwd_match, |
684 | }, | 683 | }, |
685 | .probe = cpwd_probe, | 684 | .probe = cpwd_probe, |
diff --git a/drivers/watchdog/davinci_wdt.c b/drivers/watchdog/davinci_wdt.c index d09ad2254b57..cfdf8a408aea 100644 --- a/drivers/watchdog/davinci_wdt.c +++ b/drivers/watchdog/davinci_wdt.c | |||
@@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE(of, davinci_wdt_of_match); | |||
218 | static struct platform_driver platform_wdt_driver = { | 218 | static struct platform_driver platform_wdt_driver = { |
219 | .driver = { | 219 | .driver = { |
220 | .name = "davinci-wdt", | 220 | .name = "davinci-wdt", |
221 | .owner = THIS_MODULE, | ||
222 | .of_match_table = davinci_wdt_of_match, | 221 | .of_match_table = davinci_wdt_of_match, |
223 | }, | 222 | }, |
224 | .probe = davinci_wdt_probe, | 223 | .probe = davinci_wdt_probe, |
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 9e577a64ec9e..b34a2e4e4e43 100644 --- a/drivers/watchdog/dw_wdt.c +++ b/drivers/watchdog/dw_wdt.c | |||
@@ -382,7 +382,6 @@ static struct platform_driver dw_wdt_driver = { | |||
382 | .remove = dw_wdt_drv_remove, | 382 | .remove = dw_wdt_drv_remove, |
383 | .driver = { | 383 | .driver = { |
384 | .name = "dw_wdt", | 384 | .name = "dw_wdt", |
385 | .owner = THIS_MODULE, | ||
386 | .of_match_table = of_match_ptr(dw_wdt_of_match), | 385 | .of_match_table = of_match_ptr(dw_wdt_of_match), |
387 | .pm = &dw_wdt_pm_ops, | 386 | .pm = &dw_wdt_pm_ops, |
388 | }, | 387 | }, |
diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c index 5f54e1e5819a..7a2cc7191c58 100644 --- a/drivers/watchdog/ep93xx_wdt.c +++ b/drivers/watchdog/ep93xx_wdt.c | |||
@@ -156,7 +156,6 @@ static int ep93xx_wdt_remove(struct platform_device *pdev) | |||
156 | 156 | ||
157 | static struct platform_driver ep93xx_wdt_driver = { | 157 | static struct platform_driver ep93xx_wdt_driver = { |
158 | .driver = { | 158 | .driver = { |
159 | .owner = THIS_MODULE, | ||
160 | .name = "ep93xx-wdt", | 159 | .name = "ep93xx-wdt", |
161 | }, | 160 | }, |
162 | .probe = ep93xx_wdt_probe, | 161 | .probe = ep93xx_wdt_probe, |
diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/gef_wdt.c index 25beb30878d7..cc1bdfc2ff71 100644 --- a/drivers/watchdog/gef_wdt.c +++ b/drivers/watchdog/gef_wdt.c | |||
@@ -307,7 +307,6 @@ static const struct of_device_id gef_wdt_ids[] = { | |||
307 | static struct platform_driver gef_wdt_driver = { | 307 | static struct platform_driver gef_wdt_driver = { |
308 | .driver = { | 308 | .driver = { |
309 | .name = "gef_wdt", | 309 | .name = "gef_wdt", |
310 | .owner = THIS_MODULE, | ||
311 | .of_match_table = gef_wdt_ids, | 310 | .of_match_table = gef_wdt_ids, |
312 | }, | 311 | }, |
313 | .probe = gef_wdt_probe, | 312 | .probe = gef_wdt_probe, |
diff --git a/drivers/watchdog/geodewdt.c b/drivers/watchdog/geodewdt.c index 4c43e3fa8bd2..88e01238f01b 100644 --- a/drivers/watchdog/geodewdt.c +++ b/drivers/watchdog/geodewdt.c | |||
@@ -258,7 +258,6 @@ static struct platform_driver geodewdt_driver = { | |||
258 | .remove = geodewdt_remove, | 258 | .remove = geodewdt_remove, |
259 | .shutdown = geodewdt_shutdown, | 259 | .shutdown = geodewdt_shutdown, |
260 | .driver = { | 260 | .driver = { |
261 | .owner = THIS_MODULE, | ||
262 | .name = DRV_NAME, | 261 | .name = DRV_NAME, |
263 | }, | 262 | }, |
264 | }; | 263 | }; |
diff --git a/drivers/watchdog/gpio_wdt.c b/drivers/watchdog/gpio_wdt.c index 220a9e07cfd5..bbdb19b45332 100644 --- a/drivers/watchdog/gpio_wdt.c +++ b/drivers/watchdog/gpio_wdt.c | |||
@@ -241,7 +241,6 @@ MODULE_DEVICE_TABLE(of, gpio_wdt_dt_ids); | |||
241 | static struct platform_driver gpio_wdt_driver = { | 241 | static struct platform_driver gpio_wdt_driver = { |
242 | .driver = { | 242 | .driver = { |
243 | .name = "gpio-wdt", | 243 | .name = "gpio-wdt", |
244 | .owner = THIS_MODULE, | ||
245 | .of_match_table = gpio_wdt_dt_ids, | 244 | .of_match_table = gpio_wdt_dt_ids, |
246 | }, | 245 | }, |
247 | .probe = gpio_wdt_probe, | 246 | .probe = gpio_wdt_probe, |
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index 0ba1b7c99760..05ee0bf88ce9 100644 --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c | |||
@@ -576,7 +576,6 @@ static struct platform_driver iTCO_wdt_driver = { | |||
576 | .remove = iTCO_wdt_remove, | 576 | .remove = iTCO_wdt_remove, |
577 | .shutdown = iTCO_wdt_shutdown, | 577 | .shutdown = iTCO_wdt_shutdown, |
578 | .driver = { | 578 | .driver = { |
579 | .owner = THIS_MODULE, | ||
580 | .name = DRV_NAME, | 579 | .name = DRV_NAME, |
581 | }, | 580 | }, |
582 | }; | 581 | }; |
diff --git a/drivers/watchdog/ib700wdt.c b/drivers/watchdog/ib700wdt.c index 4247c498ee78..f2e4e1eeb8dd 100644 --- a/drivers/watchdog/ib700wdt.c +++ b/drivers/watchdog/ib700wdt.c | |||
@@ -339,7 +339,6 @@ static struct platform_driver ibwdt_driver = { | |||
339 | .remove = ibwdt_remove, | 339 | .remove = ibwdt_remove, |
340 | .shutdown = ibwdt_shutdown, | 340 | .shutdown = ibwdt_shutdown, |
341 | .driver = { | 341 | .driver = { |
342 | .owner = THIS_MODULE, | ||
343 | .name = DRV_NAME, | 342 | .name = DRV_NAME, |
344 | }, | 343 | }, |
345 | }; | 344 | }; |
diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c index 07f88f54e5c0..9bc39ae51624 100644 --- a/drivers/watchdog/ie6xx_wdt.c +++ b/drivers/watchdog/ie6xx_wdt.c | |||
@@ -313,7 +313,6 @@ static struct platform_driver ie6xx_wdt_driver = { | |||
313 | .remove = ie6xx_wdt_remove, | 313 | .remove = ie6xx_wdt_remove, |
314 | .driver = { | 314 | .driver = { |
315 | .name = DRIVER_NAME, | 315 | .name = DRIVER_NAME, |
316 | .owner = THIS_MODULE, | ||
317 | }, | 316 | }, |
318 | }; | 317 | }; |
319 | 318 | ||
diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index 7e12f88bb4a6..65b84d8c0b93 100644 --- a/drivers/watchdog/imx2_wdt.c +++ b/drivers/watchdog/imx2_wdt.c | |||
@@ -337,7 +337,6 @@ static struct platform_driver imx2_wdt_driver = { | |||
337 | .shutdown = imx2_wdt_shutdown, | 337 | .shutdown = imx2_wdt_shutdown, |
338 | .driver = { | 338 | .driver = { |
339 | .name = DRIVER_NAME, | 339 | .name = DRIVER_NAME, |
340 | .owner = THIS_MODULE, | ||
341 | .of_match_table = imx2_wdt_dt_ids, | 340 | .of_match_table = imx2_wdt_dt_ids, |
342 | }, | 341 | }, |
343 | }; | 342 | }; |
diff --git a/drivers/watchdog/intel-mid_wdt.c b/drivers/watchdog/intel-mid_wdt.c index ca66e8e74635..84f6701c391f 100644 --- a/drivers/watchdog/intel-mid_wdt.c +++ b/drivers/watchdog/intel-mid_wdt.c | |||
@@ -172,7 +172,6 @@ static struct platform_driver mid_wdt_driver = { | |||
172 | .probe = mid_wdt_probe, | 172 | .probe = mid_wdt_probe, |
173 | .remove = mid_wdt_remove, | 173 | .remove = mid_wdt_remove, |
174 | .driver = { | 174 | .driver = { |
175 | .owner = THIS_MODULE, | ||
176 | .name = "intel_mid_wdt", | 175 | .name = "intel_mid_wdt", |
177 | }, | 176 | }, |
178 | }; | 177 | }; |
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c index 91e45ca589e6..18e41afa4da3 100644 --- a/drivers/watchdog/jz4740_wdt.c +++ b/drivers/watchdog/jz4740_wdt.c | |||
@@ -211,7 +211,6 @@ static struct platform_driver jz4740_wdt_driver = { | |||
211 | .remove = jz4740_wdt_remove, | 211 | .remove = jz4740_wdt_remove, |
212 | .driver = { | 212 | .driver = { |
213 | .name = "jz4740-wdt", | 213 | .name = "jz4740-wdt", |
214 | .owner = THIS_MODULE, | ||
215 | }, | 214 | }, |
216 | }; | 215 | }; |
217 | 216 | ||
diff --git a/drivers/watchdog/kempld_wdt.c b/drivers/watchdog/kempld_wdt.c index d9c1a1601926..5bf931ce1353 100644 --- a/drivers/watchdog/kempld_wdt.c +++ b/drivers/watchdog/kempld_wdt.c | |||
@@ -563,7 +563,6 @@ static int kempld_wdt_resume(struct platform_device *pdev) | |||
563 | static struct platform_driver kempld_wdt_driver = { | 563 | static struct platform_driver kempld_wdt_driver = { |
564 | .driver = { | 564 | .driver = { |
565 | .name = "kempld-wdt", | 565 | .name = "kempld-wdt", |
566 | .owner = THIS_MODULE, | ||
567 | }, | 566 | }, |
568 | .probe = kempld_wdt_probe, | 567 | .probe = kempld_wdt_probe, |
569 | .remove = kempld_wdt_remove, | 568 | .remove = kempld_wdt_remove, |
diff --git a/drivers/watchdog/ks8695_wdt.c b/drivers/watchdog/ks8695_wdt.c index 40ca5594a336..b7ea39b455c8 100644 --- a/drivers/watchdog/ks8695_wdt.c +++ b/drivers/watchdog/ks8695_wdt.c | |||
@@ -296,7 +296,6 @@ static struct platform_driver ks8695wdt_driver = { | |||
296 | .resume = ks8695wdt_resume, | 296 | .resume = ks8695wdt_resume, |
297 | .driver = { | 297 | .driver = { |
298 | .name = "ks8695_wdt", | 298 | .name = "ks8695_wdt", |
299 | .owner = THIS_MODULE, | ||
300 | }, | 299 | }, |
301 | }; | 300 | }; |
302 | 301 | ||
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c index 021e84eb88eb..582f2fa1b8d9 100644 --- a/drivers/watchdog/lantiq_wdt.c +++ b/drivers/watchdog/lantiq_wdt.c | |||
@@ -232,7 +232,6 @@ static struct platform_driver ltq_wdt_driver = { | |||
232 | .remove = ltq_wdt_remove, | 232 | .remove = ltq_wdt_remove, |
233 | .driver = { | 233 | .driver = { |
234 | .name = "wdt", | 234 | .name = "wdt", |
235 | .owner = THIS_MODULE, | ||
236 | .of_match_table = ltq_wdt_match, | 235 | .of_match_table = ltq_wdt_match, |
237 | }, | 236 | }, |
238 | }; | 237 | }; |
diff --git a/drivers/watchdog/max63xx_wdt.c b/drivers/watchdog/max63xx_wdt.c index 0e9cc6f5a919..08da3114accb 100644 --- a/drivers/watchdog/max63xx_wdt.c +++ b/drivers/watchdog/max63xx_wdt.c | |||
@@ -231,7 +231,6 @@ static struct platform_driver max63xx_wdt_driver = { | |||
231 | .id_table = max63xx_id_table, | 231 | .id_table = max63xx_id_table, |
232 | .driver = { | 232 | .driver = { |
233 | .name = "max63xx_wdt", | 233 | .name = "max63xx_wdt", |
234 | .owner = THIS_MODULE, | ||
235 | }, | 234 | }, |
236 | }; | 235 | }; |
237 | 236 | ||
diff --git a/drivers/watchdog/menf21bmc_wdt.c b/drivers/watchdog/menf21bmc_wdt.c index 2042874d5ce3..59f0913c7341 100644 --- a/drivers/watchdog/menf21bmc_wdt.c +++ b/drivers/watchdog/menf21bmc_wdt.c | |||
@@ -187,7 +187,6 @@ static void menf21bmc_wdt_shutdown(struct platform_device *pdev) | |||
187 | 187 | ||
188 | static struct platform_driver menf21bmc_wdt = { | 188 | static struct platform_driver menf21bmc_wdt = { |
189 | .driver = { | 189 | .driver = { |
190 | .owner = THIS_MODULE, | ||
191 | .name = DEVNAME, | 190 | .name = DEVNAME, |
192 | }, | 191 | }, |
193 | .probe = menf21bmc_wdt_probe, | 192 | .probe = menf21bmc_wdt_probe, |
diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watchdog/moxart_wdt.c index a64405b82596..2789da2c0515 100644 --- a/drivers/watchdog/moxart_wdt.c +++ b/drivers/watchdog/moxart_wdt.c | |||
@@ -174,7 +174,6 @@ static struct platform_driver moxart_wdt_driver = { | |||
174 | .remove = moxart_wdt_remove, | 174 | .remove = moxart_wdt_remove, |
175 | .driver = { | 175 | .driver = { |
176 | .name = "moxart-watchdog", | 176 | .name = "moxart-watchdog", |
177 | .owner = THIS_MODULE, | ||
178 | .of_match_table = moxart_watchdog_match, | 177 | .of_match_table = moxart_watchdog_match, |
179 | }, | 178 | }, |
180 | }; | 179 | }; |
diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c index 7831955cd9e1..689381a24887 100644 --- a/drivers/watchdog/mpc8xxx_wdt.c +++ b/drivers/watchdog/mpc8xxx_wdt.c | |||
@@ -249,7 +249,6 @@ static struct platform_driver mpc8xxx_wdt_driver = { | |||
249 | .remove = mpc8xxx_wdt_remove, | 249 | .remove = mpc8xxx_wdt_remove, |
250 | .driver = { | 250 | .driver = { |
251 | .name = "mpc8xxx_wdt", | 251 | .name = "mpc8xxx_wdt", |
252 | .owner = THIS_MODULE, | ||
253 | .of_match_table = mpc8xxx_wdt_match, | 252 | .of_match_table = mpc8xxx_wdt_match, |
254 | }, | 253 | }, |
255 | }; | 254 | }; |
diff --git a/drivers/watchdog/mv64x60_wdt.c b/drivers/watchdog/mv64x60_wdt.c index f9fa58409396..315275d7bab6 100644 --- a/drivers/watchdog/mv64x60_wdt.c +++ b/drivers/watchdog/mv64x60_wdt.c | |||
@@ -300,7 +300,6 @@ static struct platform_driver mv64x60_wdt_driver = { | |||
300 | .probe = mv64x60_wdt_probe, | 300 | .probe = mv64x60_wdt_probe, |
301 | .remove = mv64x60_wdt_remove, | 301 | .remove = mv64x60_wdt_remove, |
302 | .driver = { | 302 | .driver = { |
303 | .owner = THIS_MODULE, | ||
304 | .name = MV64x60_WDT_NAME, | 303 | .name = MV64x60_WDT_NAME, |
305 | }, | 304 | }, |
306 | }; | 305 | }; |
diff --git a/drivers/watchdog/nuc900_wdt.c b/drivers/watchdog/nuc900_wdt.c index 7135803ca1a3..d5bed78c4d9f 100644 --- a/drivers/watchdog/nuc900_wdt.c +++ b/drivers/watchdog/nuc900_wdt.c | |||
@@ -297,7 +297,6 @@ static struct platform_driver nuc900wdt_driver = { | |||
297 | .remove = nuc900wdt_remove, | 297 | .remove = nuc900wdt_remove, |
298 | .driver = { | 298 | .driver = { |
299 | .name = "nuc900-wdt", | 299 | .name = "nuc900-wdt", |
300 | .owner = THIS_MODULE, | ||
301 | }, | 300 | }, |
302 | }; | 301 | }; |
303 | 302 | ||
diff --git a/drivers/watchdog/nv_tco.c b/drivers/watchdog/nv_tco.c index 0b9ec61e1313..c028454be66c 100644 --- a/drivers/watchdog/nv_tco.c +++ b/drivers/watchdog/nv_tco.c | |||
@@ -471,7 +471,6 @@ static struct platform_driver nv_tco_driver = { | |||
471 | .remove = nv_tco_remove, | 471 | .remove = nv_tco_remove, |
472 | .shutdown = nv_tco_shutdown, | 472 | .shutdown = nv_tco_shutdown, |
473 | .driver = { | 473 | .driver = { |
474 | .owner = THIS_MODULE, | ||
475 | .name = TCO_MODULE_NAME, | 474 | .name = TCO_MODULE_NAME, |
476 | }, | 475 | }, |
477 | }; | 476 | }; |
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 3691b157516a..9f2709db61ca 100644 --- a/drivers/watchdog/omap_wdt.c +++ b/drivers/watchdog/omap_wdt.c | |||
@@ -353,7 +353,6 @@ static struct platform_driver omap_wdt_driver = { | |||
353 | .suspend = omap_wdt_suspend, | 353 | .suspend = omap_wdt_suspend, |
354 | .resume = omap_wdt_resume, | 354 | .resume = omap_wdt_resume, |
355 | .driver = { | 355 | .driver = { |
356 | .owner = THIS_MODULE, | ||
357 | .name = "omap_wdt", | 356 | .name = "omap_wdt", |
358 | .of_match_table = omap_wdt_of_match, | 357 | .of_match_table = omap_wdt_of_match, |
359 | }, | 358 | }, |
diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c index 00d0741228fc..469031e528e1 100644 --- a/drivers/watchdog/orion_wdt.c +++ b/drivers/watchdog/orion_wdt.c | |||
@@ -593,7 +593,6 @@ static struct platform_driver orion_wdt_driver = { | |||
593 | .remove = orion_wdt_remove, | 593 | .remove = orion_wdt_remove, |
594 | .shutdown = orion_wdt_shutdown, | 594 | .shutdown = orion_wdt_shutdown, |
595 | .driver = { | 595 | .driver = { |
596 | .owner = THIS_MODULE, | ||
597 | .name = "orion_wdt", | 596 | .name = "orion_wdt", |
598 | .of_match_table = orion_wdt_of_match_table, | 597 | .of_match_table = orion_wdt_of_match_table, |
599 | }, | 598 | }, |
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index 15fb316e9437..55e220150103 100644 --- a/drivers/watchdog/pnx4008_wdt.c +++ b/drivers/watchdog/pnx4008_wdt.c | |||
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, pnx4008_wdt_match); | |||
207 | static struct platform_driver platform_wdt_driver = { | 207 | static struct platform_driver platform_wdt_driver = { |
208 | .driver = { | 208 | .driver = { |
209 | .name = "pnx4008-watchdog", | 209 | .name = "pnx4008-watchdog", |
210 | .owner = THIS_MODULE, | ||
211 | .of_match_table = of_match_ptr(pnx4008_wdt_match), | 210 | .of_match_table = of_match_ptr(pnx4008_wdt_match), |
212 | }, | 211 | }, |
213 | .probe = pnx4008_wdt_probe, | 212 | .probe = pnx4008_wdt_probe, |
diff --git a/drivers/watchdog/rdc321x_wdt.c b/drivers/watchdog/rdc321x_wdt.c index 29cf4dcbc59c..47a8f1b1087d 100644 --- a/drivers/watchdog/rdc321x_wdt.c +++ b/drivers/watchdog/rdc321x_wdt.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver rdc321x_wdt_driver = { | |||
287 | .probe = rdc321x_wdt_probe, | 287 | .probe = rdc321x_wdt_probe, |
288 | .remove = rdc321x_wdt_remove, | 288 | .remove = rdc321x_wdt_remove, |
289 | .driver = { | 289 | .driver = { |
290 | .owner = THIS_MODULE, | ||
291 | .name = "rdc321x-wdt", | 290 | .name = "rdc321x-wdt", |
292 | }, | 291 | }, |
293 | }; | 292 | }; |
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c index cfed0fe264dc..aba53424605e 100644 --- a/drivers/watchdog/riowd.c +++ b/drivers/watchdog/riowd.c | |||
@@ -237,7 +237,6 @@ MODULE_DEVICE_TABLE(of, riowd_match); | |||
237 | static struct platform_driver riowd_driver = { | 237 | static struct platform_driver riowd_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = DRIVER_NAME, | 239 | .name = DRIVER_NAME, |
240 | .owner = THIS_MODULE, | ||
241 | .of_match_table = riowd_match, | 240 | .of_match_table = riowd_match, |
242 | }, | 241 | }, |
243 | .probe = riowd_probe, | 242 | .probe = riowd_probe, |
diff --git a/drivers/watchdog/rt2880_wdt.c b/drivers/watchdog/rt2880_wdt.c index d92c2d5859ce..11aad5b7aafe 100644 --- a/drivers/watchdog/rt2880_wdt.c +++ b/drivers/watchdog/rt2880_wdt.c | |||
@@ -194,7 +194,6 @@ static struct platform_driver rt288x_wdt_driver = { | |||
194 | .shutdown = rt288x_wdt_shutdown, | 194 | .shutdown = rt288x_wdt_shutdown, |
195 | .driver = { | 195 | .driver = { |
196 | .name = KBUILD_MODNAME, | 196 | .name = KBUILD_MODNAME, |
197 | .owner = THIS_MODULE, | ||
198 | .of_match_table = rt288x_wdt_match, | 197 | .of_match_table = rt288x_wdt_match, |
199 | }, | 198 | }, |
200 | }; | 199 | }; |
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 8532c3e2aea7..0fc874b4da6e 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c | |||
@@ -741,7 +741,6 @@ static struct platform_driver s3c2410wdt_driver = { | |||
741 | .shutdown = s3c2410wdt_shutdown, | 741 | .shutdown = s3c2410wdt_shutdown, |
742 | .id_table = s3c2410_wdt_ids, | 742 | .id_table = s3c2410_wdt_ids, |
743 | .driver = { | 743 | .driver = { |
744 | .owner = THIS_MODULE, | ||
745 | .name = "s3c2410-wdt", | 744 | .name = "s3c2410-wdt", |
746 | .pm = &s3c2410wdt_pm_ops, | 745 | .pm = &s3c2410wdt_pm_ops, |
747 | .of_match_table = of_match_ptr(s3c2410_wdt_match), | 746 | .of_match_table = of_match_ptr(s3c2410_wdt_match), |
diff --git a/drivers/watchdog/sch311x_wdt.c b/drivers/watchdog/sch311x_wdt.c index b96127ea3de1..43d0cbb7ba0b 100644 --- a/drivers/watchdog/sch311x_wdt.c +++ b/drivers/watchdog/sch311x_wdt.c | |||
@@ -453,7 +453,6 @@ static struct platform_driver sch311x_wdt_driver = { | |||
453 | .remove = sch311x_wdt_remove, | 453 | .remove = sch311x_wdt_remove, |
454 | .shutdown = sch311x_wdt_shutdown, | 454 | .shutdown = sch311x_wdt_shutdown, |
455 | .driver = { | 455 | .driver = { |
456 | .owner = THIS_MODULE, | ||
457 | .name = DRV_NAME, | 456 | .name = DRV_NAME, |
458 | }, | 457 | }, |
459 | }; | 458 | }; |
diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c index fa89bb30d004..567458b137a6 100644 --- a/drivers/watchdog/shwdt.c +++ b/drivers/watchdog/shwdt.c | |||
@@ -303,7 +303,6 @@ static void sh_wdt_shutdown(struct platform_device *pdev) | |||
303 | static struct platform_driver sh_wdt_driver = { | 303 | static struct platform_driver sh_wdt_driver = { |
304 | .driver = { | 304 | .driver = { |
305 | .name = DRV_NAME, | 305 | .name = DRV_NAME, |
306 | .owner = THIS_MODULE, | ||
307 | }, | 306 | }, |
308 | 307 | ||
309 | .probe = sh_wdt_probe, | 308 | .probe = sh_wdt_probe, |
diff --git a/drivers/watchdog/sirfsoc_wdt.c b/drivers/watchdog/sirfsoc_wdt.c index 702d07870808..42fa5c0c518a 100644 --- a/drivers/watchdog/sirfsoc_wdt.c +++ b/drivers/watchdog/sirfsoc_wdt.c | |||
@@ -210,7 +210,6 @@ MODULE_DEVICE_TABLE(of, sirfsoc_wdt_of_match); | |||
210 | static struct platform_driver sirfsoc_wdt_driver = { | 210 | static struct platform_driver sirfsoc_wdt_driver = { |
211 | .driver = { | 211 | .driver = { |
212 | .name = "sirfsoc-wdt", | 212 | .name = "sirfsoc-wdt", |
213 | .owner = THIS_MODULE, | ||
214 | .pm = &sirfsoc_wdt_pm_ops, | 213 | .pm = &sirfsoc_wdt_pm_ops, |
215 | .of_match_table = sirfsoc_wdt_of_match, | 214 | .of_match_table = sirfsoc_wdt_of_match, |
216 | }, | 215 | }, |
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c index 5cca9cddb87d..eb8044ef0ea0 100644 --- a/drivers/watchdog/sp5100_tco.c +++ b/drivers/watchdog/sp5100_tco.c | |||
@@ -538,7 +538,6 @@ static struct platform_driver sp5100_tco_driver = { | |||
538 | .remove = sp5100_tco_remove, | 538 | .remove = sp5100_tco_remove, |
539 | .shutdown = sp5100_tco_shutdown, | 539 | .shutdown = sp5100_tco_shutdown, |
540 | .driver = { | 540 | .driver = { |
541 | .owner = THIS_MODULE, | ||
542 | .name = TCO_MODULE_NAME, | 541 | .name = TCO_MODULE_NAME, |
543 | }, | 542 | }, |
544 | }; | 543 | }; |
diff --git a/drivers/watchdog/sunxi_wdt.c b/drivers/watchdog/sunxi_wdt.c index b62301e74e5f..a29afb37c48c 100644 --- a/drivers/watchdog/sunxi_wdt.c +++ b/drivers/watchdog/sunxi_wdt.c | |||
@@ -314,7 +314,6 @@ static struct platform_driver sunxi_wdt_driver = { | |||
314 | .remove = sunxi_wdt_remove, | 314 | .remove = sunxi_wdt_remove, |
315 | .shutdown = sunxi_wdt_shutdown, | 315 | .shutdown = sunxi_wdt_shutdown, |
316 | .driver = { | 316 | .driver = { |
317 | .owner = THIS_MODULE, | ||
318 | .name = DRV_NAME, | 317 | .name = DRV_NAME, |
319 | .of_match_table = sunxi_wdt_dt_ids, | 318 | .of_match_table = sunxi_wdt_dt_ids, |
320 | }, | 319 | }, |
diff --git a/drivers/watchdog/tegra_wdt.c b/drivers/watchdog/tegra_wdt.c index 750e2a26cb12..30451ea46902 100644 --- a/drivers/watchdog/tegra_wdt.c +++ b/drivers/watchdog/tegra_wdt.c | |||
@@ -289,7 +289,6 @@ static struct platform_driver tegra_wdt_driver = { | |||
289 | .probe = tegra_wdt_probe, | 289 | .probe = tegra_wdt_probe, |
290 | .remove = tegra_wdt_remove, | 290 | .remove = tegra_wdt_remove, |
291 | .driver = { | 291 | .driver = { |
292 | .owner = THIS_MODULE, | ||
293 | .name = "tegra-wdt", | 292 | .name = "tegra-wdt", |
294 | .pm = &tegra_wdt_pm_ops, | 293 | .pm = &tegra_wdt_pm_ops, |
295 | .of_match_table = tegra_wdt_of_match, | 294 | .of_match_table = tegra_wdt_of_match, |
diff --git a/drivers/watchdog/ts72xx_wdt.c b/drivers/watchdog/ts72xx_wdt.c index dee9c6cbe6df..119beb7f6017 100644 --- a/drivers/watchdog/ts72xx_wdt.c +++ b/drivers/watchdog/ts72xx_wdt.c | |||
@@ -436,7 +436,6 @@ static struct platform_driver ts72xx_wdt_driver = { | |||
436 | .remove = ts72xx_wdt_remove, | 436 | .remove = ts72xx_wdt_remove, |
437 | .driver = { | 437 | .driver = { |
438 | .name = "ts72xx-wdt", | 438 | .name = "ts72xx-wdt", |
439 | .owner = THIS_MODULE, | ||
440 | }, | 439 | }, |
441 | }; | 440 | }; |
442 | 441 | ||
diff --git a/drivers/watchdog/twl4030_wdt.c b/drivers/watchdog/twl4030_wdt.c index 2d4535dc2676..12c15903d098 100644 --- a/drivers/watchdog/twl4030_wdt.c +++ b/drivers/watchdog/twl4030_wdt.c | |||
@@ -140,7 +140,6 @@ static struct platform_driver twl4030_wdt_driver = { | |||
140 | .suspend = twl4030_wdt_suspend, | 140 | .suspend = twl4030_wdt_suspend, |
141 | .resume = twl4030_wdt_resume, | 141 | .resume = twl4030_wdt_resume, |
142 | .driver = { | 142 | .driver = { |
143 | .owner = THIS_MODULE, | ||
144 | .name = "twl4030_wdt", | 143 | .name = "twl4030_wdt", |
145 | .of_match_table = twl_wdt_of_match, | 144 | .of_match_table = twl_wdt_of_match, |
146 | }, | 145 | }, |
diff --git a/drivers/watchdog/txx9wdt.c b/drivers/watchdog/txx9wdt.c index 6a447e321dd0..7f615933d31a 100644 --- a/drivers/watchdog/txx9wdt.c +++ b/drivers/watchdog/txx9wdt.c | |||
@@ -167,7 +167,6 @@ static struct platform_driver txx9wdt_driver = { | |||
167 | .shutdown = txx9wdt_shutdown, | 167 | .shutdown = txx9wdt_shutdown, |
168 | .driver = { | 168 | .driver = { |
169 | .name = "txx9wdt", | 169 | .name = "txx9wdt", |
170 | .owner = THIS_MODULE, | ||
171 | }, | 170 | }, |
172 | }; | 171 | }; |
173 | 172 | ||
diff --git a/drivers/watchdog/ux500_wdt.c b/drivers/watchdog/ux500_wdt.c index 5aed9d7ad47e..9de09ab00838 100644 --- a/drivers/watchdog/ux500_wdt.c +++ b/drivers/watchdog/ux500_wdt.c | |||
@@ -156,7 +156,6 @@ static struct platform_driver ux500_wdt_driver = { | |||
156 | .suspend = ux500_wdt_suspend, | 156 | .suspend = ux500_wdt_suspend, |
157 | .resume = ux500_wdt_resume, | 157 | .resume = ux500_wdt_resume, |
158 | .driver = { | 158 | .driver = { |
159 | .owner = THIS_MODULE, | ||
160 | .name = "ux500_wdt", | 159 | .name = "ux500_wdt", |
161 | }, | 160 | }, |
162 | }; | 161 | }; |
diff --git a/drivers/watchdog/xen_wdt.c b/drivers/watchdog/xen_wdt.c index 7a42dffd39e5..cf0e650c2015 100644 --- a/drivers/watchdog/xen_wdt.c +++ b/drivers/watchdog/xen_wdt.c | |||
@@ -320,7 +320,6 @@ static struct platform_driver xen_wdt_driver = { | |||
320 | .suspend = xen_wdt_suspend, | 320 | .suspend = xen_wdt_suspend, |
321 | .resume = xen_wdt_resume, | 321 | .resume = xen_wdt_resume, |
322 | .driver = { | 322 | .driver = { |
323 | .owner = THIS_MODULE, | ||
324 | .name = DRV_NAME, | 323 | .name = DRV_NAME, |
325 | }, | 324 | }, |
326 | }; | 325 | }; |
diff --git a/drivers/zorro/zorro.c b/drivers/zorro/zorro.c index 707c1a5a0317..d295d9878dff 100644 --- a/drivers/zorro/zorro.c +++ b/drivers/zorro/zorro.c | |||
@@ -222,7 +222,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev) | |||
222 | static struct platform_driver amiga_zorro_driver = { | 222 | static struct platform_driver amiga_zorro_driver = { |
223 | .driver = { | 223 | .driver = { |
224 | .name = "amiga-zorro", | 224 | .name = "amiga-zorro", |
225 | .owner = THIS_MODULE, | ||
226 | }, | 225 | }, |
227 | }; | 226 | }; |
228 | 227 | ||
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 3b5744306ed8..da1fed65e7db 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c | |||
@@ -545,7 +545,6 @@ static struct platform_driver ramoops_driver = { | |||
545 | .remove = __exit_p(ramoops_remove), | 545 | .remove = __exit_p(ramoops_remove), |
546 | .driver = { | 546 | .driver = { |
547 | .name = "ramoops", | 547 | .name = "ramoops", |
548 | .owner = THIS_MODULE, | ||
549 | }, | 548 | }, |
550 | }; | 549 | }; |
551 | 550 | ||
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 6317b41c99b0..21bea5ee1e9f 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c | |||
@@ -747,7 +747,6 @@ static struct platform_driver dsa_driver = { | |||
747 | .shutdown = dsa_shutdown, | 747 | .shutdown = dsa_shutdown, |
748 | .driver = { | 748 | .driver = { |
749 | .name = "dsa", | 749 | .name = "dsa", |
750 | .owner = THIS_MODULE, | ||
751 | .of_match_table = dsa_of_match_table, | 750 | .of_match_table = dsa_of_match_table, |
752 | .pm = &dsa_pm_ops, | 751 | .pm = &dsa_pm_ops, |
753 | }, | 752 | }, |
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 0f62326c0f5e..fd33aa4ec249 100644 --- a/net/rfkill/rfkill-gpio.c +++ b/net/rfkill/rfkill-gpio.c | |||
@@ -171,7 +171,6 @@ static struct platform_driver rfkill_gpio_driver = { | |||
171 | .remove = rfkill_gpio_remove, | 171 | .remove = rfkill_gpio_remove, |
172 | .driver = { | 172 | .driver = { |
173 | .name = "rfkill_gpio", | 173 | .name = "rfkill_gpio", |
174 | .owner = THIS_MODULE, | ||
175 | .acpi_match_table = ACPI_PTR(rfkill_acpi_match), | 174 | .acpi_match_table = ACPI_PTR(rfkill_acpi_match), |
176 | }, | 175 | }, |
177 | }; | 176 | }; |
diff --git a/net/rfkill/rfkill-regulator.c b/net/rfkill/rfkill-regulator.c index cf5b145902e5..50cd26a48e87 100644 --- a/net/rfkill/rfkill-regulator.c +++ b/net/rfkill/rfkill-regulator.c | |||
@@ -142,7 +142,6 @@ static struct platform_driver rfkill_regulator_driver = { | |||
142 | .remove = rfkill_regulator_remove, | 142 | .remove = rfkill_regulator_remove, |
143 | .driver = { | 143 | .driver = { |
144 | .name = "rfkill-regulator", | 144 | .name = "rfkill-regulator", |
145 | .owner = THIS_MODULE, | ||
146 | }, | 145 | }, |
147 | }; | 146 | }; |
148 | 147 | ||
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c index 3a10df6688ee..38590b322c54 100644 --- a/sound/arm/pxa2xx-ac97.c +++ b/sound/arm/pxa2xx-ac97.c | |||
@@ -241,7 +241,6 @@ static struct platform_driver pxa2xx_ac97_driver = { | |||
241 | .remove = pxa2xx_ac97_remove, | 241 | .remove = pxa2xx_ac97_remove, |
242 | .driver = { | 242 | .driver = { |
243 | .name = "pxa2xx-ac97", | 243 | .name = "pxa2xx-ac97", |
244 | .owner = THIS_MODULE, | ||
245 | #ifdef CONFIG_PM_SLEEP | 244 | #ifdef CONFIG_PM_SLEEP |
246 | .pm = &pxa2xx_ac97_pm_ops, | 245 | .pm = &pxa2xx_ac97_pm_ops, |
247 | #endif | 246 | #endif |
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index 31061e3521d4..0672e716d296 100644 --- a/sound/atmel/abdac.c +++ b/sound/atmel/abdac.c | |||
@@ -588,7 +588,6 @@ static struct platform_driver atmel_abdac_driver = { | |||
588 | .remove = atmel_abdac_remove, | 588 | .remove = atmel_abdac_remove, |
589 | .driver = { | 589 | .driver = { |
590 | .name = "atmel_abdac", | 590 | .name = "atmel_abdac", |
591 | .owner = THIS_MODULE, | ||
592 | .pm = ATMEL_ABDAC_PM_OPS, | 591 | .pm = ATMEL_ABDAC_PM_OPS, |
593 | }, | 592 | }, |
594 | }; | 593 | }; |
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index b59427d5a697..dcbf3371e24f 100644 --- a/sound/atmel/ac97c.c +++ b/sound/atmel/ac97c.c | |||
@@ -1203,7 +1203,6 @@ static struct platform_driver atmel_ac97c_driver = { | |||
1203 | .remove = atmel_ac97c_remove, | 1203 | .remove = atmel_ac97c_remove, |
1204 | .driver = { | 1204 | .driver = { |
1205 | .name = "atmel_ac97c", | 1205 | .name = "atmel_ac97c", |
1206 | .owner = THIS_MODULE, | ||
1207 | .pm = ATMEL_AC97C_PM_OPS, | 1206 | .pm = ATMEL_AC97C_PM_OPS, |
1208 | }, | 1207 | }, |
1209 | }; | 1208 | }; |
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 2a16c86a60b3..7ea53399404d 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c | |||
@@ -1220,7 +1220,6 @@ static struct platform_driver loopback_driver = { | |||
1220 | .remove = loopback_remove, | 1220 | .remove = loopback_remove, |
1221 | .driver = { | 1221 | .driver = { |
1222 | .name = SND_LOOPBACK_DRIVER, | 1222 | .name = SND_LOOPBACK_DRIVER, |
1223 | .owner = THIS_MODULE, | ||
1224 | .pm = LOOPBACK_PM_OPS, | 1223 | .pm = LOOPBACK_PM_OPS, |
1225 | }, | 1224 | }, |
1226 | }; | 1225 | }; |
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c index fab90bd2bd51..5d0dfb787cec 100644 --- a/sound/drivers/dummy.c +++ b/sound/drivers/dummy.c | |||
@@ -1162,7 +1162,6 @@ static struct platform_driver snd_dummy_driver = { | |||
1162 | .remove = snd_dummy_remove, | 1162 | .remove = snd_dummy_remove, |
1163 | .driver = { | 1163 | .driver = { |
1164 | .name = SND_DUMMY_DRIVER, | 1164 | .name = SND_DUMMY_DRIVER, |
1165 | .owner = THIS_MODULE, | ||
1166 | .pm = SND_DUMMY_PM_OPS, | 1165 | .pm = SND_DUMMY_PM_OPS, |
1167 | }, | 1166 | }, |
1168 | }; | 1167 | }; |
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index 33ed76530d0b..bcca825a1c8d 100644 --- a/sound/drivers/ml403-ac97cr.c +++ b/sound/drivers/ml403-ac97cr.c | |||
@@ -1335,7 +1335,6 @@ static struct platform_driver snd_ml403_ac97cr_driver = { | |||
1335 | .remove = snd_ml403_ac97cr_remove, | 1335 | .remove = snd_ml403_ac97cr_remove, |
1336 | .driver = { | 1336 | .driver = { |
1337 | .name = SND_ML403_AC97CR_DRIVER, | 1337 | .name = SND_ML403_AC97CR_DRIVER, |
1338 | .owner = THIS_MODULE, | ||
1339 | }, | 1338 | }, |
1340 | }; | 1339 | }; |
1341 | 1340 | ||
diff --git a/sound/drivers/mpu401/mpu401.c b/sound/drivers/mpu401/mpu401.c index 83014b83a44e..fed7e7e2177b 100644 --- a/sound/drivers/mpu401/mpu401.c +++ b/sound/drivers/mpu401/mpu401.c | |||
@@ -140,7 +140,6 @@ static struct platform_driver snd_mpu401_driver = { | |||
140 | .remove = snd_mpu401_remove, | 140 | .remove = snd_mpu401_remove, |
141 | .driver = { | 141 | .driver = { |
142 | .name = SND_MPU401_DRIVER, | 142 | .name = SND_MPU401_DRIVER, |
143 | .owner = THIS_MODULE, | ||
144 | }, | 143 | }, |
145 | }; | 144 | }; |
146 | 145 | ||
diff --git a/sound/drivers/mtpav.c b/sound/drivers/mtpav.c index 4b66c7f22af7..15769447688f 100644 --- a/sound/drivers/mtpav.c +++ b/sound/drivers/mtpav.c | |||
@@ -759,7 +759,6 @@ static struct platform_driver snd_mtpav_driver = { | |||
759 | .remove = snd_mtpav_remove, | 759 | .remove = snd_mtpav_remove, |
760 | .driver = { | 760 | .driver = { |
761 | .name = SND_MTPAV_DRIVER, | 761 | .name = SND_MTPAV_DRIVER, |
762 | .owner = THIS_MODULE, | ||
763 | }, | 762 | }, |
764 | }; | 763 | }; |
765 | 764 | ||
diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c index f5fd448dbc57..8991d834e3dd 100644 --- a/sound/drivers/mts64.c +++ b/sound/drivers/mts64.c | |||
@@ -1040,7 +1040,6 @@ static struct platform_driver snd_mts64_driver = { | |||
1040 | .remove = snd_mts64_remove, | 1040 | .remove = snd_mts64_remove, |
1041 | .driver = { | 1041 | .driver = { |
1042 | .name = PLATFORM_DRIVER, | 1042 | .name = PLATFORM_DRIVER, |
1043 | .owner = THIS_MODULE, | ||
1044 | } | 1043 | } |
1045 | }; | 1044 | }; |
1046 | 1045 | ||
diff --git a/sound/drivers/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c index 36808cdab06f..2adc7548ffca 100644 --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c | |||
@@ -221,7 +221,6 @@ static void pcsp_shutdown(struct platform_device *dev) | |||
221 | static struct platform_driver pcsp_platform_driver = { | 221 | static struct platform_driver pcsp_platform_driver = { |
222 | .driver = { | 222 | .driver = { |
223 | .name = "pcspkr", | 223 | .name = "pcspkr", |
224 | .owner = THIS_MODULE, | ||
225 | .pm = PCSP_PM_OPS, | 224 | .pm = PCSP_PM_OPS, |
226 | }, | 225 | }, |
227 | .probe = pcsp_probe, | 226 | .probe = pcsp_probe, |
diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c index 78ccfa455527..464385a480e4 100644 --- a/sound/drivers/portman2x4.c +++ b/sound/drivers/portman2x4.c | |||
@@ -829,7 +829,6 @@ static struct platform_driver snd_portman_driver = { | |||
829 | .remove = snd_portman_remove, | 829 | .remove = snd_portman_remove, |
830 | .driver = { | 830 | .driver = { |
831 | .name = PLATFORM_DRIVER, | 831 | .name = PLATFORM_DRIVER, |
832 | .owner = THIS_MODULE, | ||
833 | } | 832 | } |
834 | }; | 833 | }; |
835 | 834 | ||
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c index 9ad4414fa25c..13a34e3c6382 100644 --- a/sound/drivers/serial-u16550.c +++ b/sound/drivers/serial-u16550.c | |||
@@ -994,7 +994,6 @@ static struct platform_driver snd_serial_driver = { | |||
994 | .remove = snd_serial_remove, | 994 | .remove = snd_serial_remove, |
995 | .driver = { | 995 | .driver = { |
996 | .name = SND_SERIAL_DRIVER, | 996 | .name = SND_SERIAL_DRIVER, |
997 | .owner = THIS_MODULE, | ||
998 | }, | 997 | }, |
999 | }; | 998 | }; |
1000 | 999 | ||
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c index b178724295f3..abace3ce24da 100644 --- a/sound/drivers/virmidi.c +++ b/sound/drivers/virmidi.c | |||
@@ -140,7 +140,6 @@ static struct platform_driver snd_virmidi_driver = { | |||
140 | .remove = snd_virmidi_remove, | 140 | .remove = snd_virmidi_remove, |
141 | .driver = { | 141 | .driver = { |
142 | .name = SND_VIRMIDI_DRIVER, | 142 | .name = SND_VIRMIDI_DRIVER, |
143 | .owner = THIS_MODULE, | ||
144 | }, | 143 | }, |
145 | }; | 144 | }; |
146 | 145 | ||
diff --git a/sound/mips/hal2.c b/sound/mips/hal2.c index 23441b9e6148..ede449f0b50d 100644 --- a/sound/mips/hal2.c +++ b/sound/mips/hal2.c | |||
@@ -929,7 +929,6 @@ static struct platform_driver hal2_driver = { | |||
929 | .remove = hal2_remove, | 929 | .remove = hal2_remove, |
930 | .driver = { | 930 | .driver = { |
931 | .name = "sgihal2", | 931 | .name = "sgihal2", |
932 | .owner = THIS_MODULE, | ||
933 | } | 932 | } |
934 | }; | 933 | }; |
935 | 934 | ||
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c index 04bb06c03ec8..0f146a9fca49 100644 --- a/sound/mips/sgio2audio.c +++ b/sound/mips/sgio2audio.c | |||
@@ -970,7 +970,6 @@ static struct platform_driver sgio2audio_driver = { | |||
970 | .remove = snd_sgio2audio_remove, | 970 | .remove = snd_sgio2audio_remove, |
971 | .driver = { | 971 | .driver = { |
972 | .name = "sgio2audio", | 972 | .name = "sgio2audio", |
973 | .owner = THIS_MODULE, | ||
974 | } | 973 | } |
975 | }; | 974 | }; |
976 | 975 | ||
diff --git a/sound/oss/dmasound/dmasound_paula.c b/sound/oss/dmasound/dmasound_paula.c index c2d45a5848bc..3f653618614d 100644 --- a/sound/oss/dmasound/dmasound_paula.c +++ b/sound/oss/dmasound/dmasound_paula.c | |||
@@ -729,7 +729,6 @@ static struct platform_driver amiga_audio_driver = { | |||
729 | .remove = __exit_p(amiga_audio_remove), | 729 | .remove = __exit_p(amiga_audio_remove), |
730 | .driver = { | 730 | .driver = { |
731 | .name = "amiga-audio", | 731 | .name = "amiga-audio", |
732 | .owner = THIS_MODULE, | ||
733 | }, | 732 | }, |
734 | }; | 733 | }; |
735 | 734 | ||
diff --git a/sound/ppc/powermac.c b/sound/ppc/powermac.c index 350a7c8f86dd..33c6be9fb388 100644 --- a/sound/ppc/powermac.c +++ b/sound/ppc/powermac.c | |||
@@ -168,7 +168,6 @@ static struct platform_driver snd_pmac_driver = { | |||
168 | .remove = snd_pmac_remove, | 168 | .remove = snd_pmac_remove, |
169 | .driver = { | 169 | .driver = { |
170 | .name = SND_PMAC_DRIVER, | 170 | .name = SND_PMAC_DRIVER, |
171 | .owner = THIS_MODULE, | ||
172 | .pm = SND_PMAC_PM_OPS, | 171 | .pm = SND_PMAC_PM_OPS, |
173 | }, | 172 | }, |
174 | }; | 173 | }; |
diff --git a/sound/sh/aica.c b/sound/sh/aica.c index 47849eaf266d..f44dda610ed2 100644 --- a/sound/sh/aica.c +++ b/sound/sh/aica.c | |||
@@ -652,7 +652,6 @@ static struct platform_driver snd_aica_driver = { | |||
652 | .remove = snd_aica_remove, | 652 | .remove = snd_aica_remove, |
653 | .driver = { | 653 | .driver = { |
654 | .name = SND_AICA_DRIVER, | 654 | .name = SND_AICA_DRIVER, |
655 | .owner = THIS_MODULE, | ||
656 | }, | 655 | }, |
657 | }; | 656 | }; |
658 | 657 | ||
diff --git a/sound/sh/sh_dac_audio.c b/sound/sh/sh_dac_audio.c index d1fb74dabbd1..abf9c0cab1e2 100644 --- a/sound/sh/sh_dac_audio.c +++ b/sound/sh/sh_dac_audio.c | |||
@@ -436,7 +436,6 @@ static struct platform_driver sh_dac_driver = { | |||
436 | .remove = snd_sh_dac_remove, | 436 | .remove = snd_sh_dac_remove, |
437 | .driver = { | 437 | .driver = { |
438 | .name = "dac_audio", | 438 | .name = "dac_audio", |
439 | .owner = THIS_MODULE, | ||
440 | }, | 439 | }, |
441 | }; | 440 | }; |
442 | 441 | ||
diff --git a/sound/soc/adi/axi-i2s.c b/sound/soc/adi/axi-i2s.c index 6058c1fd5070..7752860f7230 100644 --- a/sound/soc/adi/axi-i2s.c +++ b/sound/soc/adi/axi-i2s.c | |||
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, axi_i2s_of_match); | |||
263 | static struct platform_driver axi_i2s_driver = { | 263 | static struct platform_driver axi_i2s_driver = { |
264 | .driver = { | 264 | .driver = { |
265 | .name = "axi-i2s", | 265 | .name = "axi-i2s", |
266 | .owner = THIS_MODULE, | ||
267 | .of_match_table = axi_i2s_of_match, | 266 | .of_match_table = axi_i2s_of_match, |
268 | }, | 267 | }, |
269 | .probe = axi_i2s_probe, | 268 | .probe = axi_i2s_probe, |
diff --git a/sound/soc/adi/axi-spdif.c b/sound/soc/adi/axi-spdif.c index 198e3a4640f6..d7259d412892 100644 --- a/sound/soc/adi/axi-spdif.c +++ b/sound/soc/adi/axi-spdif.c | |||
@@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, axi_spdif_of_match); | |||
258 | static struct platform_driver axi_spdif_driver = { | 258 | static struct platform_driver axi_spdif_driver = { |
259 | .driver = { | 259 | .driver = { |
260 | .name = "axi-spdif", | 260 | .name = "axi-spdif", |
261 | .owner = THIS_MODULE, | ||
262 | .of_match_table = axi_spdif_of_match, | 261 | .of_match_table = axi_spdif_of_match, |
263 | }, | 262 | }, |
264 | .probe = axi_spdif_probe, | 263 | .probe = axi_spdif_probe, |
diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c index 4052268ce462..aa354e1c6ff7 100644 --- a/sound/soc/atmel/atmel_wm8904.c +++ b/sound/soc/atmel/atmel_wm8904.c | |||
@@ -181,7 +181,6 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = { | |||
181 | static struct platform_driver atmel_asoc_wm8904_driver = { | 181 | static struct platform_driver atmel_asoc_wm8904_driver = { |
182 | .driver = { | 182 | .driver = { |
183 | .name = "atmel-wm8904-audio", | 183 | .name = "atmel-wm8904-audio", |
184 | .owner = THIS_MODULE, | ||
185 | .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids), | 184 | .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids), |
186 | }, | 185 | }, |
187 | .probe = atmel_asoc_wm8904_probe, | 186 | .probe = atmel_asoc_wm8904_probe, |
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c index bb1149126c54..66b66d0e7514 100644 --- a/sound/soc/atmel/sam9g20_wm8731.c +++ b/sound/soc/atmel/sam9g20_wm8731.c | |||
@@ -309,7 +309,6 @@ MODULE_DEVICE_TABLE(of, at91sam9g20ek_wm8731_dt_ids); | |||
309 | static struct platform_driver at91sam9g20ek_audio_driver = { | 309 | static struct platform_driver at91sam9g20ek_audio_driver = { |
310 | .driver = { | 310 | .driver = { |
311 | .name = "at91sam9g20ek-audio", | 311 | .name = "at91sam9g20ek-audio", |
312 | .owner = THIS_MODULE, | ||
313 | .of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids), | 312 | .of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids), |
314 | }, | 313 | }, |
315 | .probe = at91sam9g20ek_audio_probe, | 314 | .probe = at91sam9g20ek_audio_probe, |
diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c index 3188036a18f0..ccdf547f4d8c 100644 --- a/sound/soc/atmel/sam9x5_wm8731.c +++ b/sound/soc/atmel/sam9x5_wm8731.c | |||
@@ -192,7 +192,6 @@ MODULE_DEVICE_TABLE(of, sam9x5_wm8731_of_match); | |||
192 | static struct platform_driver sam9x5_wm8731_driver = { | 192 | static struct platform_driver sam9x5_wm8731_driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .name = DRV_NAME, | 194 | .name = DRV_NAME, |
195 | .owner = THIS_MODULE, | ||
196 | .of_match_table = of_match_ptr(sam9x5_wm8731_of_match), | 195 | .of_match_table = of_match_ptr(sam9x5_wm8731_of_match), |
197 | }, | 196 | }, |
198 | .probe = sam9x5_wm8731_driver_probe, | 197 | .probe = sam9x5_wm8731_driver_probe, |
diff --git a/sound/soc/au1x/ac97c.c b/sound/soc/au1x/ac97c.c index c8a2de103c5f..e989f1a7a768 100644 --- a/sound/soc/au1x/ac97c.c +++ b/sound/soc/au1x/ac97c.c | |||
@@ -334,7 +334,6 @@ static const struct dev_pm_ops au1xpscac97_pmops = { | |||
334 | static struct platform_driver au1xac97c_driver = { | 334 | static struct platform_driver au1xac97c_driver = { |
335 | .driver = { | 335 | .driver = { |
336 | .name = "alchemy-ac97c", | 336 | .name = "alchemy-ac97c", |
337 | .owner = THIS_MODULE, | ||
338 | .pm = AU1XPSCAC97_PMOPS, | 337 | .pm = AU1XPSCAC97_PMOPS, |
339 | }, | 338 | }, |
340 | .probe = au1xac97c_drvprobe, | 339 | .probe = au1xac97c_drvprobe, |
diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c index 376d976bcc2d..452f404abfd2 100644 --- a/sound/soc/au1x/db1000.c +++ b/sound/soc/au1x/db1000.c | |||
@@ -51,7 +51,6 @@ static int db1000_audio_remove(struct platform_device *pdev) | |||
51 | static struct platform_driver db1000_audio_driver = { | 51 | static struct platform_driver db1000_audio_driver = { |
52 | .driver = { | 52 | .driver = { |
53 | .name = "db1000-audio", | 53 | .name = "db1000-audio", |
54 | .owner = THIS_MODULE, | ||
55 | .pm = &snd_soc_pm_ops, | 54 | .pm = &snd_soc_pm_ops, |
56 | }, | 55 | }, |
57 | .probe = db1000_audio_probe, | 56 | .probe = db1000_audio_probe, |
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c index decba87a074c..a747ac0b399f 100644 --- a/sound/soc/au1x/db1200.c +++ b/sound/soc/au1x/db1200.c | |||
@@ -200,7 +200,6 @@ static int db1200_audio_remove(struct platform_device *pdev) | |||
200 | static struct platform_driver db1200_audio_driver = { | 200 | static struct platform_driver db1200_audio_driver = { |
201 | .driver = { | 201 | .driver = { |
202 | .name = "db1200-ac97", | 202 | .name = "db1200-ac97", |
203 | .owner = THIS_MODULE, | ||
204 | .pm = &snd_soc_pm_ops, | 203 | .pm = &snd_soc_pm_ops, |
205 | }, | 204 | }, |
206 | .id_table = db1200_pids, | 205 | .id_table = db1200_pids, |
diff --git a/sound/soc/au1x/dbdma2.c b/sound/soc/au1x/dbdma2.c index 17a24d804734..b06b8d8128c6 100644 --- a/sound/soc/au1x/dbdma2.c +++ b/sound/soc/au1x/dbdma2.c | |||
@@ -363,7 +363,6 @@ static int au1xpsc_pcm_drvremove(struct platform_device *pdev) | |||
363 | static struct platform_driver au1xpsc_pcm_driver = { | 363 | static struct platform_driver au1xpsc_pcm_driver = { |
364 | .driver = { | 364 | .driver = { |
365 | .name = "au1xpsc-pcm", | 365 | .name = "au1xpsc-pcm", |
366 | .owner = THIS_MODULE, | ||
367 | }, | 366 | }, |
368 | .probe = au1xpsc_pcm_drvprobe, | 367 | .probe = au1xpsc_pcm_drvprobe, |
369 | .remove = au1xpsc_pcm_drvremove, | 368 | .remove = au1xpsc_pcm_drvremove, |
diff --git a/sound/soc/au1x/dma.c b/sound/soc/au1x/dma.c index e920b60bf6c2..6ffaaff469c7 100644 --- a/sound/soc/au1x/dma.c +++ b/sound/soc/au1x/dma.c | |||
@@ -331,7 +331,6 @@ static int alchemy_pcm_drvremove(struct platform_device *pdev) | |||
331 | static struct platform_driver alchemy_pcmdma_driver = { | 331 | static struct platform_driver alchemy_pcmdma_driver = { |
332 | .driver = { | 332 | .driver = { |
333 | .name = "alchemy-pcm-dma", | 333 | .name = "alchemy-pcm-dma", |
334 | .owner = THIS_MODULE, | ||
335 | }, | 334 | }, |
336 | .probe = alchemy_pcm_drvprobe, | 335 | .probe = alchemy_pcm_drvprobe, |
337 | .remove = alchemy_pcm_drvremove, | 336 | .remove = alchemy_pcm_drvremove, |
diff --git a/sound/soc/au1x/i2sc.c b/sound/soc/au1x/i2sc.c index b3f37f6edbcb..450c842c776c 100644 --- a/sound/soc/au1x/i2sc.c +++ b/sound/soc/au1x/i2sc.c | |||
@@ -310,7 +310,6 @@ static const struct dev_pm_ops au1xi2sc_pmops = { | |||
310 | static struct platform_driver au1xi2s_driver = { | 310 | static struct platform_driver au1xi2s_driver = { |
311 | .driver = { | 311 | .driver = { |
312 | .name = "alchemy-i2sc", | 312 | .name = "alchemy-i2sc", |
313 | .owner = THIS_MODULE, | ||
314 | .pm = AU1XI2SC_PMOPS, | 313 | .pm = AU1XI2SC_PMOPS, |
315 | }, | 314 | }, |
316 | .probe = au1xi2s_drvprobe, | 315 | .probe = au1xi2s_drvprobe, |
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c index 84f31e1f9d24..f3bd1b80e3a1 100644 --- a/sound/soc/au1x/psc-ac97.c +++ b/sound/soc/au1x/psc-ac97.c | |||
@@ -490,7 +490,6 @@ static struct dev_pm_ops au1xpscac97_pmops = { | |||
490 | static struct platform_driver au1xpsc_ac97_driver = { | 490 | static struct platform_driver au1xpsc_ac97_driver = { |
491 | .driver = { | 491 | .driver = { |
492 | .name = "au1xpsc_ac97", | 492 | .name = "au1xpsc_ac97", |
493 | .owner = THIS_MODULE, | ||
494 | .pm = AU1XPSCAC97_PMOPS, | 493 | .pm = AU1XPSCAC97_PMOPS, |
495 | }, | 494 | }, |
496 | .probe = au1xpsc_ac97_drvprobe, | 495 | .probe = au1xpsc_ac97_drvprobe, |
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c index 814beffc56f2..e742ef668496 100644 --- a/sound/soc/au1x/psc-i2s.c +++ b/sound/soc/au1x/psc-i2s.c | |||
@@ -419,7 +419,6 @@ static struct dev_pm_ops au1xpsci2s_pmops = { | |||
419 | static struct platform_driver au1xpsc_i2s_driver = { | 419 | static struct platform_driver au1xpsc_i2s_driver = { |
420 | .driver = { | 420 | .driver = { |
421 | .name = "au1xpsc_i2s", | 421 | .name = "au1xpsc_i2s", |
422 | .owner = THIS_MODULE, | ||
423 | .pm = AU1XPSCI2S_PMOPS, | 422 | .pm = AU1XPSCI2S_PMOPS, |
424 | }, | 423 | }, |
425 | .probe = au1xpsc_i2s_drvprobe, | 424 | .probe = au1xpsc_i2s_drvprobe, |
diff --git a/sound/soc/bcm/bcm2835-i2s.c b/sound/soc/bcm/bcm2835-i2s.c index 2685fe4f8427..03fa1cbf8ec1 100644 --- a/sound/soc/bcm/bcm2835-i2s.c +++ b/sound/soc/bcm/bcm2835-i2s.c | |||
@@ -866,7 +866,6 @@ static struct platform_driver bcm2835_i2s_driver = { | |||
866 | .probe = bcm2835_i2s_probe, | 866 | .probe = bcm2835_i2s_probe, |
867 | .driver = { | 867 | .driver = { |
868 | .name = "bcm2835-i2s", | 868 | .name = "bcm2835-i2s", |
869 | .owner = THIS_MODULE, | ||
870 | .of_match_table = bcm2835_i2s_of_match, | 869 | .of_match_table = bcm2835_i2s_of_match, |
871 | }, | 870 | }, |
872 | }; | 871 | }; |
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c b/sound/soc/blackfin/bf5xx-ac97-pcm.c index cdb8ee75ded9..238913e030e0 100644 --- a/sound/soc/blackfin/bf5xx-ac97-pcm.c +++ b/sound/soc/blackfin/bf5xx-ac97-pcm.c | |||
@@ -462,7 +462,6 @@ static int bf5xx_soc_platform_remove(struct platform_device *pdev) | |||
462 | static struct platform_driver bf5xx_pcm_driver = { | 462 | static struct platform_driver bf5xx_pcm_driver = { |
463 | .driver = { | 463 | .driver = { |
464 | .name = "bfin-ac97-pcm-audio", | 464 | .name = "bfin-ac97-pcm-audio", |
465 | .owner = THIS_MODULE, | ||
466 | }, | 465 | }, |
467 | 466 | ||
468 | .probe = bf5xx_soc_platform_probe, | 467 | .probe = bf5xx_soc_platform_probe, |
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c index e82eb373a731..a47c08ece082 100644 --- a/sound/soc/blackfin/bf5xx-ac97.c +++ b/sound/soc/blackfin/bf5xx-ac97.c | |||
@@ -375,7 +375,6 @@ static int asoc_bfin_ac97_remove(struct platform_device *pdev) | |||
375 | static struct platform_driver asoc_bfin_ac97_driver = { | 375 | static struct platform_driver asoc_bfin_ac97_driver = { |
376 | .driver = { | 376 | .driver = { |
377 | .name = "bfin-ac97", | 377 | .name = "bfin-ac97", |
378 | .owner = THIS_MODULE, | ||
379 | }, | 378 | }, |
380 | 379 | ||
381 | .probe = asoc_bfin_ac97_probe, | 380 | .probe = asoc_bfin_ac97_probe, |
diff --git a/sound/soc/blackfin/bf5xx-ad1836.c b/sound/soc/blackfin/bf5xx-ad1836.c index 8fcfc4ec3a51..5bf1501e5e3c 100644 --- a/sound/soc/blackfin/bf5xx-ad1836.c +++ b/sound/soc/blackfin/bf5xx-ad1836.c | |||
@@ -104,7 +104,6 @@ static int bf5xx_ad1836_driver_remove(struct platform_device *pdev) | |||
104 | static struct platform_driver bf5xx_ad1836_driver = { | 104 | static struct platform_driver bf5xx_ad1836_driver = { |
105 | .driver = { | 105 | .driver = { |
106 | .name = "bfin-snd-ad1836", | 106 | .name = "bfin-snd-ad1836", |
107 | .owner = THIS_MODULE, | ||
108 | .pm = &snd_soc_pm_ops, | 107 | .pm = &snd_soc_pm_ops, |
109 | }, | 108 | }, |
110 | .probe = bf5xx_ad1836_driver_probe, | 109 | .probe = bf5xx_ad1836_driver_probe, |
diff --git a/sound/soc/blackfin/bf5xx-i2s-pcm.c b/sound/soc/blackfin/bf5xx-i2s-pcm.c index bcf591373a7a..d95477afcc67 100644 --- a/sound/soc/blackfin/bf5xx-i2s-pcm.c +++ b/sound/soc/blackfin/bf5xx-i2s-pcm.c | |||
@@ -354,7 +354,6 @@ static int bfin_i2s_soc_platform_remove(struct platform_device *pdev) | |||
354 | static struct platform_driver bfin_i2s_pcm_driver = { | 354 | static struct platform_driver bfin_i2s_pcm_driver = { |
355 | .driver = { | 355 | .driver = { |
356 | .name = "bfin-i2s-pcm-audio", | 356 | .name = "bfin-i2s-pcm-audio", |
357 | .owner = THIS_MODULE, | ||
358 | }, | 357 | }, |
359 | 358 | ||
360 | .probe = bfin_i2s_soc_platform_probe, | 359 | .probe = bfin_i2s_soc_platform_probe, |
diff --git a/sound/soc/blackfin/bf5xx-i2s.c b/sound/soc/blackfin/bf5xx-i2s.c index 39d774839b3e..b69aeef6418e 100644 --- a/sound/soc/blackfin/bf5xx-i2s.c +++ b/sound/soc/blackfin/bf5xx-i2s.c | |||
@@ -379,7 +379,6 @@ static struct platform_driver bfin_i2s_driver = { | |||
379 | .remove = bf5xx_i2s_remove, | 379 | .remove = bf5xx_i2s_remove, |
380 | .driver = { | 380 | .driver = { |
381 | .name = "bfin-i2s", | 381 | .name = "bfin-i2s", |
382 | .owner = THIS_MODULE, | ||
383 | }, | 382 | }, |
384 | }; | 383 | }; |
385 | 384 | ||
diff --git a/sound/soc/blackfin/bf6xx-i2s.c b/sound/soc/blackfin/bf6xx-i2s.c index 5810a0603f2f..bd3b4d464145 100644 --- a/sound/soc/blackfin/bf6xx-i2s.c +++ b/sound/soc/blackfin/bf6xx-i2s.c | |||
@@ -229,7 +229,6 @@ static struct platform_driver bfin_i2s_driver = { | |||
229 | .remove = bfin_i2s_remove, | 229 | .remove = bfin_i2s_remove, |
230 | .driver = { | 230 | .driver = { |
231 | .name = "bfin-i2s", | 231 | .name = "bfin-i2s", |
232 | .owner = THIS_MODULE, | ||
233 | }, | 232 | }, |
234 | }; | 233 | }; |
235 | 234 | ||
diff --git a/sound/soc/blackfin/bfin-eval-adau1373.c b/sound/soc/blackfin/bfin-eval-adau1373.c index 4ef9683bcad8..523baf5820d7 100644 --- a/sound/soc/blackfin/bfin-eval-adau1373.c +++ b/sound/soc/blackfin/bfin-eval-adau1373.c | |||
@@ -169,7 +169,6 @@ static int bfin_eval_adau1373_remove(struct platform_device *pdev) | |||
169 | static struct platform_driver bfin_eval_adau1373_driver = { | 169 | static struct platform_driver bfin_eval_adau1373_driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .name = "bfin-eval-adau1373", | 171 | .name = "bfin-eval-adau1373", |
172 | .owner = THIS_MODULE, | ||
173 | .pm = &snd_soc_pm_ops, | 172 | .pm = &snd_soc_pm_ops, |
174 | }, | 173 | }, |
175 | .probe = bfin_eval_adau1373_probe, | 174 | .probe = bfin_eval_adau1373_probe, |
diff --git a/sound/soc/blackfin/bfin-eval-adau1701.c b/sound/soc/blackfin/bfin-eval-adau1701.c index 3b55081a96c0..f9e926dfd4ef 100644 --- a/sound/soc/blackfin/bfin-eval-adau1701.c +++ b/sound/soc/blackfin/bfin-eval-adau1701.c | |||
@@ -109,7 +109,6 @@ static int bfin_eval_adau1701_remove(struct platform_device *pdev) | |||
109 | static struct platform_driver bfin_eval_adau1701_driver = { | 109 | static struct platform_driver bfin_eval_adau1701_driver = { |
110 | .driver = { | 110 | .driver = { |
111 | .name = "bfin-eval-adau1701", | 111 | .name = "bfin-eval-adau1701", |
112 | .owner = THIS_MODULE, | ||
113 | .pm = &snd_soc_pm_ops, | 112 | .pm = &snd_soc_pm_ops, |
114 | }, | 113 | }, |
115 | .probe = bfin_eval_adau1701_probe, | 114 | .probe = bfin_eval_adau1701_probe, |
diff --git a/sound/soc/blackfin/bfin-eval-adau1x61.c b/sound/soc/blackfin/bfin-eval-adau1x61.c index 3011906f9d3b..4229f76daec9 100644 --- a/sound/soc/blackfin/bfin-eval-adau1x61.c +++ b/sound/soc/blackfin/bfin-eval-adau1x61.c | |||
@@ -129,7 +129,6 @@ static int bfin_eval_adau1x61_probe(struct platform_device *pdev) | |||
129 | static struct platform_driver bfin_eval_adau1x61_driver = { | 129 | static struct platform_driver bfin_eval_adau1x61_driver = { |
130 | .driver = { | 130 | .driver = { |
131 | .name = "bfin-eval-adau1x61", | 131 | .name = "bfin-eval-adau1x61", |
132 | .owner = THIS_MODULE, | ||
133 | .pm = &snd_soc_pm_ops, | 132 | .pm = &snd_soc_pm_ops, |
134 | }, | 133 | }, |
135 | .probe = bfin_eval_adau1x61_probe, | 134 | .probe = bfin_eval_adau1x61_probe, |
diff --git a/sound/soc/blackfin/bfin-eval-adau1x81.c b/sound/soc/blackfin/bfin-eval-adau1x81.c index 5c380f6aed1a..3e01cbe53fc7 100644 --- a/sound/soc/blackfin/bfin-eval-adau1x81.c +++ b/sound/soc/blackfin/bfin-eval-adau1x81.c | |||
@@ -117,7 +117,6 @@ static int bfin_eval_adau1x81_probe(struct platform_device *pdev) | |||
117 | static struct platform_driver bfin_eval_adau1x81_driver = { | 117 | static struct platform_driver bfin_eval_adau1x81_driver = { |
118 | .driver = { | 118 | .driver = { |
119 | .name = "bfin-eval-adau1x81", | 119 | .name = "bfin-eval-adau1x81", |
120 | .owner = THIS_MODULE, | ||
121 | .pm = &snd_soc_pm_ops, | 120 | .pm = &snd_soc_pm_ops, |
122 | }, | 121 | }, |
123 | .probe = bfin_eval_adau1x81_probe, | 122 | .probe = bfin_eval_adau1x81_probe, |
diff --git a/sound/soc/blackfin/bfin-eval-adav80x.c b/sound/soc/blackfin/bfin-eval-adav80x.c index 3b1b61a44815..27eee66afdb2 100644 --- a/sound/soc/blackfin/bfin-eval-adav80x.c +++ b/sound/soc/blackfin/bfin-eval-adav80x.c | |||
@@ -141,7 +141,6 @@ MODULE_DEVICE_TABLE(platform, bfin_eval_adav80x_ids); | |||
141 | static struct platform_driver bfin_eval_adav80x_driver = { | 141 | static struct platform_driver bfin_eval_adav80x_driver = { |
142 | .driver = { | 142 | .driver = { |
143 | .name = "bfin-eval-adav80x", | 143 | .name = "bfin-eval-adav80x", |
144 | .owner = THIS_MODULE, | ||
145 | .pm = &snd_soc_pm_ops, | 144 | .pm = &snd_soc_pm_ops, |
146 | }, | 145 | }, |
147 | .probe = bfin_eval_adav80x_probe, | 146 | .probe = bfin_eval_adav80x_probe, |
diff --git a/sound/soc/cirrus/edb93xx.c b/sound/soc/cirrus/edb93xx.c index 4f900efc437c..85962657aabe 100644 --- a/sound/soc/cirrus/edb93xx.c +++ b/sound/soc/cirrus/edb93xx.c | |||
@@ -113,7 +113,6 @@ static int edb93xx_remove(struct platform_device *pdev) | |||
113 | static struct platform_driver edb93xx_driver = { | 113 | static struct platform_driver edb93xx_driver = { |
114 | .driver = { | 114 | .driver = { |
115 | .name = "edb93xx-audio", | 115 | .name = "edb93xx-audio", |
116 | .owner = THIS_MODULE, | ||
117 | }, | 116 | }, |
118 | .probe = edb93xx_probe, | 117 | .probe = edb93xx_probe, |
119 | .remove = edb93xx_remove, | 118 | .remove = edb93xx_remove, |
diff --git a/sound/soc/cirrus/ep93xx-ac97.c b/sound/soc/cirrus/ep93xx-ac97.c index f30dadf85b99..4e382a3dd38b 100644 --- a/sound/soc/cirrus/ep93xx-ac97.c +++ b/sound/soc/cirrus/ep93xx-ac97.c | |||
@@ -439,7 +439,6 @@ static struct platform_driver ep93xx_ac97_driver = { | |||
439 | .remove = ep93xx_ac97_remove, | 439 | .remove = ep93xx_ac97_remove, |
440 | .driver = { | 440 | .driver = { |
441 | .name = "ep93xx-ac97", | 441 | .name = "ep93xx-ac97", |
442 | .owner = THIS_MODULE, | ||
443 | }, | 442 | }, |
444 | }; | 443 | }; |
445 | 444 | ||
diff --git a/sound/soc/cirrus/ep93xx-i2s.c b/sound/soc/cirrus/ep93xx-i2s.c index 943145f9d1b6..934f8aefdd90 100644 --- a/sound/soc/cirrus/ep93xx-i2s.c +++ b/sound/soc/cirrus/ep93xx-i2s.c | |||
@@ -451,7 +451,6 @@ static struct platform_driver ep93xx_i2s_driver = { | |||
451 | .remove = ep93xx_i2s_remove, | 451 | .remove = ep93xx_i2s_remove, |
452 | .driver = { | 452 | .driver = { |
453 | .name = "ep93xx-i2s", | 453 | .name = "ep93xx-i2s", |
454 | .owner = THIS_MODULE, | ||
455 | }, | 454 | }, |
456 | }; | 455 | }; |
457 | 456 | ||
diff --git a/sound/soc/cirrus/simone.c b/sound/soc/cirrus/simone.c index 822a19a89e74..1ec661834e5a 100644 --- a/sound/soc/cirrus/simone.c +++ b/sound/soc/cirrus/simone.c | |||
@@ -74,7 +74,6 @@ static int simone_remove(struct platform_device *pdev) | |||
74 | static struct platform_driver simone_driver = { | 74 | static struct platform_driver simone_driver = { |
75 | .driver = { | 75 | .driver = { |
76 | .name = "simone-audio", | 76 | .name = "simone-audio", |
77 | .owner = THIS_MODULE, | ||
78 | }, | 77 | }, |
79 | .probe = simone_probe, | 78 | .probe = simone_probe, |
80 | .remove = simone_remove, | 79 | .remove = simone_remove, |
diff --git a/sound/soc/cirrus/snappercl15.c b/sound/soc/cirrus/snappercl15.c index 5b68b106cfc2..98089df08df6 100644 --- a/sound/soc/cirrus/snappercl15.c +++ b/sound/soc/cirrus/snappercl15.c | |||
@@ -123,7 +123,6 @@ static int snappercl15_remove(struct platform_device *pdev) | |||
123 | static struct platform_driver snappercl15_driver = { | 123 | static struct platform_driver snappercl15_driver = { |
124 | .driver = { | 124 | .driver = { |
125 | .name = "snappercl15-audio", | 125 | .name = "snappercl15-audio", |
126 | .owner = THIS_MODULE, | ||
127 | }, | 126 | }, |
128 | .probe = snappercl15_probe, | 127 | .probe = snappercl15_probe, |
129 | .remove = snappercl15_remove, | 128 | .remove = snappercl15_remove, |
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c index e88a6b67f781..a2bf27f4baab 100644 --- a/sound/soc/codecs/88pm860x-codec.c +++ b/sound/soc/codecs/88pm860x-codec.c | |||
@@ -1423,7 +1423,6 @@ static int pm860x_codec_remove(struct platform_device *pdev) | |||
1423 | static struct platform_driver pm860x_codec_driver = { | 1423 | static struct platform_driver pm860x_codec_driver = { |
1424 | .driver = { | 1424 | .driver = { |
1425 | .name = "88pm860x-codec", | 1425 | .name = "88pm860x-codec", |
1426 | .owner = THIS_MODULE, | ||
1427 | }, | 1426 | }, |
1428 | .probe = pm860x_codec_probe, | 1427 | .probe = pm860x_codec_probe, |
1429 | .remove = pm860x_codec_remove, | 1428 | .remove = pm860x_codec_remove, |
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c index fd43827bb856..d2931dabfaf7 100644 --- a/sound/soc/codecs/ab8500-codec.c +++ b/sound/soc/codecs/ab8500-codec.c | |||
@@ -2609,7 +2609,6 @@ static int ab8500_codec_driver_remove(struct platform_device *pdev) | |||
2609 | static struct platform_driver ab8500_codec_platform_driver = { | 2609 | static struct platform_driver ab8500_codec_platform_driver = { |
2610 | .driver = { | 2610 | .driver = { |
2611 | .name = "ab8500-codec", | 2611 | .name = "ab8500-codec", |
2612 | .owner = THIS_MODULE, | ||
2613 | }, | 2612 | }, |
2614 | .probe = ab8500_codec_driver_probe, | 2613 | .probe = ab8500_codec_driver_probe, |
2615 | .remove = ab8500_codec_driver_remove, | 2614 | .remove = ab8500_codec_driver_remove, |
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c index bd9b1839c8b0..74a92369e06e 100644 --- a/sound/soc/codecs/ac97.c +++ b/sound/soc/codecs/ac97.c | |||
@@ -134,7 +134,6 @@ static int ac97_remove(struct platform_device *pdev) | |||
134 | static struct platform_driver ac97_codec_driver = { | 134 | static struct platform_driver ac97_codec_driver = { |
135 | .driver = { | 135 | .driver = { |
136 | .name = "ac97-codec", | 136 | .name = "ac97-codec", |
137 | .owner = THIS_MODULE, | ||
138 | }, | 137 | }, |
139 | 138 | ||
140 | .probe = ac97_probe, | 139 | .probe = ac97_probe, |
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c index 304d3003339a..c0a9f2292bf3 100644 --- a/sound/soc/codecs/ad1980.c +++ b/sound/soc/codecs/ad1980.c | |||
@@ -312,7 +312,6 @@ static int ad1980_remove(struct platform_device *pdev) | |||
312 | static struct platform_driver ad1980_codec_driver = { | 312 | static struct platform_driver ad1980_codec_driver = { |
313 | .driver = { | 313 | .driver = { |
314 | .name = "ad1980", | 314 | .name = "ad1980", |
315 | .owner = THIS_MODULE, | ||
316 | }, | 315 | }, |
317 | 316 | ||
318 | .probe = ad1980_probe, | 317 | .probe = ad1980_probe, |
diff --git a/sound/soc/codecs/ad73311.c b/sound/soc/codecs/ad73311.c index 5fac8adbc136..a9400aef60b5 100644 --- a/sound/soc/codecs/ad73311.c +++ b/sound/soc/codecs/ad73311.c | |||
@@ -76,7 +76,6 @@ static int ad73311_remove(struct platform_device *pdev) | |||
76 | static struct platform_driver ad73311_codec_driver = { | 76 | static struct platform_driver ad73311_codec_driver = { |
77 | .driver = { | 77 | .driver = { |
78 | .name = "ad73311", | 78 | .name = "ad73311", |
79 | .owner = THIS_MODULE, | ||
80 | }, | 79 | }, |
81 | 80 | ||
82 | .probe = ad73311_probe, | 81 | .probe = ad73311_probe, |
diff --git a/sound/soc/codecs/ads117x.c b/sound/soc/codecs/ads117x.c index 8f388edff586..1222282e93c3 100644 --- a/sound/soc/codecs/ads117x.c +++ b/sound/soc/codecs/ads117x.c | |||
@@ -78,7 +78,6 @@ static int ads117x_remove(struct platform_device *pdev) | |||
78 | static struct platform_driver ads117x_codec_driver = { | 78 | static struct platform_driver ads117x_codec_driver = { |
79 | .driver = { | 79 | .driver = { |
80 | .name = "ads117x-codec", | 80 | .name = "ads117x-codec", |
81 | .owner = THIS_MODULE, | ||
82 | }, | 81 | }, |
83 | 82 | ||
84 | .probe = ads117x_probe, | 83 | .probe = ads117x_probe, |
diff --git a/sound/soc/codecs/ak4554.c b/sound/soc/codecs/ak4554.c index 79e9555766c0..16ce9f9fefa1 100644 --- a/sound/soc/codecs/ak4554.c +++ b/sound/soc/codecs/ak4554.c | |||
@@ -93,7 +93,6 @@ MODULE_DEVICE_TABLE(of, ak4554_of_match); | |||
93 | static struct platform_driver ak4554_driver = { | 93 | static struct platform_driver ak4554_driver = { |
94 | .driver = { | 94 | .driver = { |
95 | .name = "ak4554-adc-dac", | 95 | .name = "ak4554-adc-dac", |
96 | .owner = THIS_MODULE, | ||
97 | .of_match_table = ak4554_of_match, | 96 | .of_match_table = ak4554_of_match, |
98 | }, | 97 | }, |
99 | .probe = ak4554_soc_probe, | 98 | .probe = ak4554_soc_probe, |
diff --git a/sound/soc/codecs/ak5386.c b/sound/soc/codecs/ak5386.c index 8107a1cac876..afa95360826d 100644 --- a/sound/soc/codecs/ak5386.c +++ b/sound/soc/codecs/ak5386.c | |||
@@ -205,7 +205,6 @@ static struct platform_driver ak5386_driver = { | |||
205 | .remove = ak5386_remove, | 205 | .remove = ak5386_remove, |
206 | .driver = { | 206 | .driver = { |
207 | .name = "ak5386", | 207 | .name = "ak5386", |
208 | .owner = THIS_MODULE, | ||
209 | .of_match_table = of_match_ptr(ak5386_dt_ids), | 208 | .of_match_table = of_match_ptr(ak5386_dt_ids), |
210 | }, | 209 | }, |
211 | }; | 210 | }; |
diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c index c4cf0699e77f..5075bf0a7276 100644 --- a/sound/soc/codecs/bt-sco.c +++ b/sound/soc/codecs/bt-sco.c | |||
@@ -77,7 +77,6 @@ MODULE_DEVICE_TABLE(platform, bt_sco_driver_ids); | |||
77 | static struct platform_driver bt_sco_driver = { | 77 | static struct platform_driver bt_sco_driver = { |
78 | .driver = { | 78 | .driver = { |
79 | .name = "bt-sco", | 79 | .name = "bt-sco", |
80 | .owner = THIS_MODULE, | ||
81 | }, | 80 | }, |
82 | .probe = bt_sco_probe, | 81 | .probe = bt_sco_probe, |
83 | .remove = bt_sco_remove, | 82 | .remove = bt_sco_remove, |
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c index 537327c7f7f1..5e92e0dc1e28 100644 --- a/sound/soc/codecs/cq93vc.c +++ b/sound/soc/codecs/cq93vc.c | |||
@@ -184,7 +184,6 @@ static int cq93vc_platform_remove(struct platform_device *pdev) | |||
184 | static struct platform_driver cq93vc_codec_driver = { | 184 | static struct platform_driver cq93vc_codec_driver = { |
185 | .driver = { | 185 | .driver = { |
186 | .name = "cq93vc-codec", | 186 | .name = "cq93vc-codec", |
187 | .owner = THIS_MODULE, | ||
188 | }, | 187 | }, |
189 | 188 | ||
190 | .probe = cq93vc_platform_probe, | 189 | .probe = cq93vc_platform_probe, |
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c index 8f95b0300f1a..0b10979513c4 100644 --- a/sound/soc/codecs/cx20442.c +++ b/sound/soc/codecs/cx20442.c | |||
@@ -429,7 +429,6 @@ static int __exit cx20442_platform_remove(struct platform_device *pdev) | |||
429 | static struct platform_driver cx20442_platform_driver = { | 429 | static struct platform_driver cx20442_platform_driver = { |
430 | .driver = { | 430 | .driver = { |
431 | .name = "cx20442-codec", | 431 | .name = "cx20442-codec", |
432 | .owner = THIS_MODULE, | ||
433 | }, | 432 | }, |
434 | .probe = cx20442_platform_probe, | 433 | .probe = cx20442_platform_probe, |
435 | .remove = __exit_p(cx20442_platform_remove), | 434 | .remove = __exit_p(cx20442_platform_remove), |
diff --git a/sound/soc/codecs/dmic.c b/sound/soc/codecs/dmic.c index b2090b2a5e2d..fde53251c047 100644 --- a/sound/soc/codecs/dmic.c +++ b/sound/soc/codecs/dmic.c | |||
@@ -74,7 +74,6 @@ MODULE_ALIAS("platform:dmic-codec"); | |||
74 | static struct platform_driver dmic_driver = { | 74 | static struct platform_driver dmic_driver = { |
75 | .driver = { | 75 | .driver = { |
76 | .name = "dmic-codec", | 76 | .name = "dmic-codec", |
77 | .owner = THIS_MODULE, | ||
78 | }, | 77 | }, |
79 | .probe = dmic_dev_probe, | 78 | .probe = dmic_dev_probe, |
80 | .remove = dmic_dev_remove, | 79 | .remove = dmic_dev_remove, |
diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c index 1087fd5f9917..73d07b4c5588 100644 --- a/sound/soc/codecs/hdmi.c +++ b/sound/soc/codecs/hdmi.c | |||
@@ -92,7 +92,6 @@ static int hdmi_codec_remove(struct platform_device *pdev) | |||
92 | static struct platform_driver hdmi_codec_driver = { | 92 | static struct platform_driver hdmi_codec_driver = { |
93 | .driver = { | 93 | .driver = { |
94 | .name = DRV_NAME, | 94 | .name = DRV_NAME, |
95 | .owner = THIS_MODULE, | ||
96 | .of_match_table = of_match_ptr(hdmi_audio_codec_ids), | 95 | .of_match_table = of_match_ptr(hdmi_audio_codec_ids), |
97 | }, | 96 | }, |
98 | 97 | ||
diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c index df7c01cf7072..933f4476d76c 100644 --- a/sound/soc/codecs/jz4740.c +++ b/sound/soc/codecs/jz4740.c | |||
@@ -364,7 +364,6 @@ static struct platform_driver jz4740_codec_driver = { | |||
364 | .remove = jz4740_codec_remove, | 364 | .remove = jz4740_codec_remove, |
365 | .driver = { | 365 | .driver = { |
366 | .name = "jz4740-codec", | 366 | .name = "jz4740-codec", |
367 | .owner = THIS_MODULE, | ||
368 | }, | 367 | }, |
369 | }; | 368 | }; |
370 | 369 | ||
diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c index 71f775aad7c7..c1e441c2c8af 100644 --- a/sound/soc/codecs/mc13783.c +++ b/sound/soc/codecs/mc13783.c | |||
@@ -802,7 +802,6 @@ static int mc13783_codec_remove(struct platform_device *pdev) | |||
802 | static struct platform_driver mc13783_codec_driver = { | 802 | static struct platform_driver mc13783_codec_driver = { |
803 | .driver = { | 803 | .driver = { |
804 | .name = "mc13783-codec", | 804 | .name = "mc13783-codec", |
805 | .owner = THIS_MODULE, | ||
806 | }, | 805 | }, |
807 | .remove = mc13783_codec_remove, | 806 | .remove = mc13783_codec_remove, |
808 | }; | 807 | }; |
diff --git a/sound/soc/codecs/pcm3008.c b/sound/soc/codecs/pcm3008.c index b6618c4a7597..7e73fa4b3183 100644 --- a/sound/soc/codecs/pcm3008.c +++ b/sound/soc/codecs/pcm3008.c | |||
@@ -162,7 +162,6 @@ static struct platform_driver pcm3008_codec_driver = { | |||
162 | .remove = pcm3008_codec_remove, | 162 | .remove = pcm3008_codec_remove, |
163 | .driver = { | 163 | .driver = { |
164 | .name = "pcm3008-codec", | 164 | .name = "pcm3008-codec", |
165 | .owner = THIS_MODULE, | ||
166 | }, | 165 | }, |
167 | }; | 166 | }; |
168 | 167 | ||
diff --git a/sound/soc/codecs/si476x.c b/sound/soc/codecs/si476x.c index cdf882fa7716..3e72964280c6 100644 --- a/sound/soc/codecs/si476x.c +++ b/sound/soc/codecs/si476x.c | |||
@@ -261,7 +261,6 @@ MODULE_ALIAS("platform:si476x-codec"); | |||
261 | static struct platform_driver si476x_platform_driver = { | 261 | static struct platform_driver si476x_platform_driver = { |
262 | .driver = { | 262 | .driver = { |
263 | .name = "si476x-codec", | 263 | .name = "si476x-codec", |
264 | .owner = THIS_MODULE, | ||
265 | }, | 264 | }, |
266 | .probe = si476x_platform_probe, | 265 | .probe = si476x_platform_probe, |
267 | .remove = si476x_platform_remove, | 266 | .remove = si476x_platform_remove, |
diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c index 06ba4923fd5a..45de6b1718e1 100644 --- a/sound/soc/codecs/sirf-audio-codec.c +++ b/sound/soc/codecs/sirf-audio-codec.c | |||
@@ -565,7 +565,6 @@ static const struct dev_pm_ops sirf_audio_codec_pm_ops = { | |||
565 | static struct platform_driver sirf_audio_codec_driver = { | 565 | static struct platform_driver sirf_audio_codec_driver = { |
566 | .driver = { | 566 | .driver = { |
567 | .name = "sirf-audio-codec", | 567 | .name = "sirf-audio-codec", |
568 | .owner = THIS_MODULE, | ||
569 | .of_match_table = sirf_audio_codec_of_match, | 568 | .of_match_table = sirf_audio_codec_of_match, |
570 | .pm = &sirf_audio_codec_pm_ops, | 569 | .pm = &sirf_audio_codec_pm_ops, |
571 | }, | 570 | }, |
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c index cf8fa40662f0..e879e5e0489e 100644 --- a/sound/soc/codecs/sn95031.c +++ b/sound/soc/codecs/sn95031.c | |||
@@ -916,7 +916,6 @@ static int sn95031_device_remove(struct platform_device *pdev) | |||
916 | static struct platform_driver sn95031_codec_driver = { | 916 | static struct platform_driver sn95031_codec_driver = { |
917 | .driver = { | 917 | .driver = { |
918 | .name = "sn95031", | 918 | .name = "sn95031", |
919 | .owner = THIS_MODULE, | ||
920 | }, | 919 | }, |
921 | .probe = sn95031_device_probe, | 920 | .probe = sn95031_device_probe, |
922 | .remove = sn95031_device_remove, | 921 | .remove = sn95031_device_remove, |
diff --git a/sound/soc/codecs/spdif_receiver.c b/sound/soc/codecs/spdif_receiver.c index e3501f40c7b3..3ec41ccbf4e2 100644 --- a/sound/soc/codecs/spdif_receiver.c +++ b/sound/soc/codecs/spdif_receiver.c | |||
@@ -80,7 +80,6 @@ static struct platform_driver spdif_dir_driver = { | |||
80 | .remove = spdif_dir_remove, | 80 | .remove = spdif_dir_remove, |
81 | .driver = { | 81 | .driver = { |
82 | .name = "spdif-dir", | 82 | .name = "spdif-dir", |
83 | .owner = THIS_MODULE, | ||
84 | .of_match_table = of_match_ptr(spdif_dir_dt_ids), | 83 | .of_match_table = of_match_ptr(spdif_dir_dt_ids), |
85 | }, | 84 | }, |
86 | }; | 85 | }; |
diff --git a/sound/soc/codecs/spdif_transmitter.c b/sound/soc/codecs/spdif_transmitter.c index e0df537dd4b7..ef634a9ad673 100644 --- a/sound/soc/codecs/spdif_transmitter.c +++ b/sound/soc/codecs/spdif_transmitter.c | |||
@@ -80,7 +80,6 @@ static struct platform_driver spdif_dit_driver = { | |||
80 | .remove = spdif_dit_remove, | 80 | .remove = spdif_dit_remove, |
81 | .driver = { | 81 | .driver = { |
82 | .name = DRV_NAME, | 82 | .name = DRV_NAME, |
83 | .owner = THIS_MODULE, | ||
84 | .of_match_table = of_match_ptr(spdif_dit_dt_ids), | 83 | .of_match_table = of_match_ptr(spdif_dit_dt_ids), |
85 | }, | 84 | }, |
86 | }; | 85 | }; |
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c index 53b810d23fea..c24958c02cd7 100644 --- a/sound/soc/codecs/stac9766.c +++ b/sound/soc/codecs/stac9766.c | |||
@@ -396,7 +396,6 @@ static int stac9766_remove(struct platform_device *pdev) | |||
396 | static struct platform_driver stac9766_codec_driver = { | 396 | static struct platform_driver stac9766_codec_driver = { |
397 | .driver = { | 397 | .driver = { |
398 | .name = "stac9766-codec", | 398 | .name = "stac9766-codec", |
399 | .owner = THIS_MODULE, | ||
400 | }, | 399 | }, |
401 | 400 | ||
402 | .probe = stac9766_probe, | 401 | .probe = stac9766_probe, |
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index b6b0cb399599..7443b196be07 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c | |||
@@ -2220,7 +2220,6 @@ static struct platform_driver twl4030_codec_driver = { | |||
2220 | .remove = twl4030_codec_remove, | 2220 | .remove = twl4030_codec_remove, |
2221 | .driver = { | 2221 | .driver = { |
2222 | .name = "twl4030-codec", | 2222 | .name = "twl4030-codec", |
2223 | .owner = THIS_MODULE, | ||
2224 | }, | 2223 | }, |
2225 | }; | 2224 | }; |
2226 | 2225 | ||
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 0f6067f04e29..38bdc7eb3bb5 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c | |||
@@ -1198,7 +1198,6 @@ static int twl6040_codec_remove(struct platform_device *pdev) | |||
1198 | static struct platform_driver twl6040_codec_driver = { | 1198 | static struct platform_driver twl6040_codec_driver = { |
1199 | .driver = { | 1199 | .driver = { |
1200 | .name = "twl6040-codec", | 1200 | .name = "twl6040-codec", |
1201 | .owner = THIS_MODULE, | ||
1202 | }, | 1201 | }, |
1203 | .probe = twl6040_codec_probe, | 1202 | .probe = twl6040_codec_probe, |
1204 | .remove = twl6040_codec_remove, | 1203 | .remove = twl6040_codec_remove, |
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c index 32b2f78aa62c..a2a02e84bdf0 100644 --- a/sound/soc/codecs/uda134x.c +++ b/sound/soc/codecs/uda134x.c | |||
@@ -633,7 +633,6 @@ static int uda134x_codec_remove(struct platform_device *pdev) | |||
633 | static struct platform_driver uda134x_codec_driver = { | 633 | static struct platform_driver uda134x_codec_driver = { |
634 | .driver = { | 634 | .driver = { |
635 | .name = "uda134x-codec", | 635 | .name = "uda134x-codec", |
636 | .owner = THIS_MODULE, | ||
637 | }, | 636 | }, |
638 | .probe = uda134x_codec_probe, | 637 | .probe = uda134x_codec_probe, |
639 | .remove = uda134x_codec_remove, | 638 | .remove = uda134x_codec_remove, |
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c index f3d4e88d0b7b..facb3d899c64 100644 --- a/sound/soc/codecs/wl1273.c +++ b/sound/soc/codecs/wl1273.c | |||
@@ -515,7 +515,6 @@ MODULE_ALIAS("platform:wl1273-codec"); | |||
515 | static struct platform_driver wl1273_platform_driver = { | 515 | static struct platform_driver wl1273_platform_driver = { |
516 | .driver = { | 516 | .driver = { |
517 | .name = "wl1273-codec", | 517 | .name = "wl1273-codec", |
518 | .owner = THIS_MODULE, | ||
519 | }, | 518 | }, |
520 | .probe = wl1273_platform_probe, | 519 | .probe = wl1273_platform_probe, |
521 | .remove = wl1273_platform_remove, | 520 | .remove = wl1273_platform_remove, |
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c index f60234962527..8ac9ae6c5a6c 100644 --- a/sound/soc/codecs/wm5102.c +++ b/sound/soc/codecs/wm5102.c | |||
@@ -1958,7 +1958,6 @@ static int wm5102_remove(struct platform_device *pdev) | |||
1958 | static struct platform_driver wm5102_codec_driver = { | 1958 | static struct platform_driver wm5102_codec_driver = { |
1959 | .driver = { | 1959 | .driver = { |
1960 | .name = "wm5102-codec", | 1960 | .name = "wm5102-codec", |
1961 | .owner = THIS_MODULE, | ||
1962 | }, | 1961 | }, |
1963 | .probe = wm5102_probe, | 1962 | .probe = wm5102_probe, |
1964 | .remove = wm5102_remove, | 1963 | .remove = wm5102_remove, |
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index 2f2ec26d831c..4456b38a3ef5 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c | |||
@@ -1738,7 +1738,6 @@ static int wm5110_remove(struct platform_device *pdev) | |||
1738 | static struct platform_driver wm5110_codec_driver = { | 1738 | static struct platform_driver wm5110_codec_driver = { |
1739 | .driver = { | 1739 | .driver = { |
1740 | .name = "wm5110-codec", | 1740 | .name = "wm5110-codec", |
1741 | .owner = THIS_MODULE, | ||
1742 | }, | 1741 | }, |
1743 | .probe = wm5110_probe, | 1742 | .probe = wm5110_probe, |
1744 | .remove = wm5110_remove, | 1743 | .remove = wm5110_remove, |
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index 628ec774cf22..fe29f17852ad 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c | |||
@@ -1641,7 +1641,6 @@ static int wm8350_remove(struct platform_device *pdev) | |||
1641 | static struct platform_driver wm8350_codec_driver = { | 1641 | static struct platform_driver wm8350_codec_driver = { |
1642 | .driver = { | 1642 | .driver = { |
1643 | .name = "wm8350-codec", | 1643 | .name = "wm8350-codec", |
1644 | .owner = THIS_MODULE, | ||
1645 | }, | 1644 | }, |
1646 | .probe = wm8350_probe, | 1645 | .probe = wm8350_probe, |
1647 | .remove = wm8350_remove, | 1646 | .remove = wm8350_remove, |
diff --git a/sound/soc/codecs/wm8400.c b/sound/soc/codecs/wm8400.c index 72471bef2e9a..50d2ff18aecf 100644 --- a/sound/soc/codecs/wm8400.c +++ b/sound/soc/codecs/wm8400.c | |||
@@ -1397,7 +1397,6 @@ static int wm8400_remove(struct platform_device *pdev) | |||
1397 | static struct platform_driver wm8400_codec_driver = { | 1397 | static struct platform_driver wm8400_codec_driver = { |
1398 | .driver = { | 1398 | .driver = { |
1399 | .name = "wm8400-codec", | 1399 | .name = "wm8400-codec", |
1400 | .owner = THIS_MODULE, | ||
1401 | }, | 1400 | }, |
1402 | .probe = wm8400_probe, | 1401 | .probe = wm8400_probe, |
1403 | .remove = wm8400_remove, | 1402 | .remove = wm8400_remove, |
diff --git a/sound/soc/codecs/wm8727.c b/sound/soc/codecs/wm8727.c index 7b1a6d5c11c6..bb25a75f92a2 100644 --- a/sound/soc/codecs/wm8727.c +++ b/sound/soc/codecs/wm8727.c | |||
@@ -75,7 +75,6 @@ static int wm8727_remove(struct platform_device *pdev) | |||
75 | static struct platform_driver wm8727_codec_driver = { | 75 | static struct platform_driver wm8727_codec_driver = { |
76 | .driver = { | 76 | .driver = { |
77 | .name = "wm8727", | 77 | .name = "wm8727", |
78 | .owner = THIS_MODULE, | ||
79 | }, | 78 | }, |
80 | 79 | ||
81 | .probe = wm8727_probe, | 80 | .probe = wm8727_probe, |
diff --git a/sound/soc/codecs/wm8782.c b/sound/soc/codecs/wm8782.c index 8092495605ce..fb55fd845d27 100644 --- a/sound/soc/codecs/wm8782.c +++ b/sound/soc/codecs/wm8782.c | |||
@@ -72,7 +72,6 @@ static int wm8782_remove(struct platform_device *pdev) | |||
72 | static struct platform_driver wm8782_codec_driver = { | 72 | static struct platform_driver wm8782_codec_driver = { |
73 | .driver = { | 73 | .driver = { |
74 | .name = "wm8782", | 74 | .name = "wm8782", |
75 | .owner = THIS_MODULE, | ||
76 | }, | 75 | }, |
77 | .probe = wm8782_probe, | 76 | .probe = wm8782_probe, |
78 | .remove = wm8782_remove, | 77 | .remove = wm8782_remove, |
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 1fcb9f3f3097..fc831caf5909 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -4508,7 +4508,6 @@ static const struct dev_pm_ops wm8994_pm_ops = { | |||
4508 | static struct platform_driver wm8994_codec_driver = { | 4508 | static struct platform_driver wm8994_codec_driver = { |
4509 | .driver = { | 4509 | .driver = { |
4510 | .name = "wm8994-codec", | 4510 | .name = "wm8994-codec", |
4511 | .owner = THIS_MODULE, | ||
4512 | .pm = &wm8994_pm_ops, | 4511 | .pm = &wm8994_pm_ops, |
4513 | }, | 4512 | }, |
4514 | .probe = wm8994_probe, | 4513 | .probe = wm8994_probe, |
diff --git a/sound/soc/codecs/wm8997.c b/sound/soc/codecs/wm8997.c index ab33fe596519..7e8bfe27566b 100644 --- a/sound/soc/codecs/wm8997.c +++ b/sound/soc/codecs/wm8997.c | |||
@@ -1165,7 +1165,6 @@ static int wm8997_remove(struct platform_device *pdev) | |||
1165 | static struct platform_driver wm8997_codec_driver = { | 1165 | static struct platform_driver wm8997_codec_driver = { |
1166 | .driver = { | 1166 | .driver = { |
1167 | .name = "wm8997-codec", | 1167 | .name = "wm8997-codec", |
1168 | .owner = THIS_MODULE, | ||
1169 | }, | 1168 | }, |
1170 | .probe = wm8997_probe, | 1169 | .probe = wm8997_probe, |
1171 | .remove = wm8997_remove, | 1170 | .remove = wm8997_remove, |
diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c index c0b7f45dfa37..f74b3d2b23a5 100644 --- a/sound/soc/codecs/wm9705.c +++ b/sound/soc/codecs/wm9705.c | |||
@@ -395,7 +395,6 @@ static int wm9705_remove(struct platform_device *pdev) | |||
395 | static struct platform_driver wm9705_codec_driver = { | 395 | static struct platform_driver wm9705_codec_driver = { |
396 | .driver = { | 396 | .driver = { |
397 | .name = "wm9705-codec", | 397 | .name = "wm9705-codec", |
398 | .owner = THIS_MODULE, | ||
399 | }, | 398 | }, |
400 | 399 | ||
401 | .probe = wm9705_probe, | 400 | .probe = wm9705_probe, |
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index c5eb746087b4..c078c15536fc 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c | |||
@@ -700,7 +700,6 @@ static int wm9712_remove(struct platform_device *pdev) | |||
700 | static struct platform_driver wm9712_codec_driver = { | 700 | static struct platform_driver wm9712_codec_driver = { |
701 | .driver = { | 701 | .driver = { |
702 | .name = "wm9712-codec", | 702 | .name = "wm9712-codec", |
703 | .owner = THIS_MODULE, | ||
704 | }, | 703 | }, |
705 | 704 | ||
706 | .probe = wm9712_probe, | 705 | .probe = wm9712_probe, |
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index bddee30a4bc7..fa2a235b2da3 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c | |||
@@ -1269,7 +1269,6 @@ static int wm9713_remove(struct platform_device *pdev) | |||
1269 | static struct platform_driver wm9713_codec_driver = { | 1269 | static struct platform_driver wm9713_codec_driver = { |
1270 | .driver = { | 1270 | .driver = { |
1271 | .name = "wm9713-codec", | 1271 | .name = "wm9713-codec", |
1272 | .owner = THIS_MODULE, | ||
1273 | }, | 1272 | }, |
1274 | 1273 | ||
1275 | .probe = wm9713_probe, | 1274 | .probe = wm9713_probe, |
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c index a50010e2891f..158cb3d1db70 100644 --- a/sound/soc/davinci/davinci-evm.c +++ b/sound/soc/davinci/davinci-evm.c | |||
@@ -445,7 +445,6 @@ static struct platform_driver davinci_evm_driver = { | |||
445 | .remove = davinci_evm_remove, | 445 | .remove = davinci_evm_remove, |
446 | .driver = { | 446 | .driver = { |
447 | .name = "davinci_evm", | 447 | .name = "davinci_evm", |
448 | .owner = THIS_MODULE, | ||
449 | .pm = &snd_soc_pm_ops, | 448 | .pm = &snd_soc_pm_ops, |
450 | .of_match_table = of_match_ptr(davinci_evm_dt_ids), | 449 | .of_match_table = of_match_ptr(davinci_evm_dt_ids), |
451 | }, | 450 | }, |
diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-i2s.c index 7682af31d6e6..15fb28fc8e1b 100644 --- a/sound/soc/davinci/davinci-i2s.c +++ b/sound/soc/davinci/davinci-i2s.c | |||
@@ -770,7 +770,6 @@ static struct platform_driver davinci_mcbsp_driver = { | |||
770 | .remove = davinci_i2s_remove, | 770 | .remove = davinci_i2s_remove, |
771 | .driver = { | 771 | .driver = { |
772 | .name = "davinci-mcbsp", | 772 | .name = "davinci-mcbsp", |
773 | .owner = THIS_MODULE, | ||
774 | }, | 773 | }, |
775 | }; | 774 | }; |
776 | 775 | ||
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index 0eed9b1b24e1..9efc110e51e6 100644 --- a/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c | |||
@@ -1391,7 +1391,6 @@ static struct platform_driver davinci_mcasp_driver = { | |||
1391 | .remove = davinci_mcasp_remove, | 1391 | .remove = davinci_mcasp_remove, |
1392 | .driver = { | 1392 | .driver = { |
1393 | .name = "davinci-mcasp", | 1393 | .name = "davinci-mcasp", |
1394 | .owner = THIS_MODULE, | ||
1395 | .of_match_table = mcasp_dt_ids, | 1394 | .of_match_table = mcasp_dt_ids, |
1396 | }, | 1395 | }, |
1397 | }; | 1396 | }; |
diff --git a/sound/soc/davinci/davinci-vcif.c b/sound/soc/davinci/davinci-vcif.c index 77aef05588c3..5bee04279ebe 100644 --- a/sound/soc/davinci/davinci-vcif.c +++ b/sound/soc/davinci/davinci-vcif.c | |||
@@ -267,7 +267,6 @@ static struct platform_driver davinci_vcif_driver = { | |||
267 | .remove = davinci_vcif_remove, | 267 | .remove = davinci_vcif_remove, |
268 | .driver = { | 268 | .driver = { |
269 | .name = "davinci-vcif", | 269 | .name = "davinci-vcif", |
270 | .owner = THIS_MODULE, | ||
271 | }, | 270 | }, |
272 | }; | 271 | }; |
273 | 272 | ||
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c index e961388e6e9c..103b34e58ffa 100644 --- a/sound/soc/dwc/designware_i2s.c +++ b/sound/soc/dwc/designware_i2s.c | |||
@@ -449,7 +449,6 @@ static struct platform_driver dw_i2s_driver = { | |||
449 | .remove = dw_i2s_remove, | 449 | .remove = dw_i2s_remove, |
450 | .driver = { | 450 | .driver = { |
451 | .name = "designware-i2s", | 451 | .name = "designware-i2s", |
452 | .owner = THIS_MODULE, | ||
453 | }, | 452 | }, |
454 | }; | 453 | }; |
455 | 454 | ||
diff --git a/sound/soc/fsl/eukrea-tlv320.c b/sound/soc/fsl/eukrea-tlv320.c index eb093d5b85c4..daf1181fb1cb 100644 --- a/sound/soc/fsl/eukrea-tlv320.c +++ b/sound/soc/fsl/eukrea-tlv320.c | |||
@@ -239,7 +239,6 @@ MODULE_DEVICE_TABLE(of, imx_tlv320_dt_ids); | |||
239 | static struct platform_driver eukrea_tlv320_driver = { | 239 | static struct platform_driver eukrea_tlv320_driver = { |
240 | .driver = { | 240 | .driver = { |
241 | .name = "eukrea_tlv320", | 241 | .name = "eukrea_tlv320", |
242 | .owner = THIS_MODULE, | ||
243 | .of_match_table = imx_tlv320_dt_ids, | 242 | .of_match_table = imx_tlv320_dt_ids, |
244 | }, | 243 | }, |
245 | .probe = eukrea_tlv320_probe, | 244 | .probe = eukrea_tlv320_probe, |
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index a609aafc994d..986089f45805 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c | |||
@@ -971,7 +971,6 @@ MODULE_DEVICE_TABLE(of, fsl_soc_dma_ids); | |||
971 | static struct platform_driver fsl_soc_dma_driver = { | 971 | static struct platform_driver fsl_soc_dma_driver = { |
972 | .driver = { | 972 | .driver = { |
973 | .name = "fsl-pcm-audio", | 973 | .name = "fsl-pcm-audio", |
974 | .owner = THIS_MODULE, | ||
975 | .of_match_table = fsl_soc_dma_ids, | 974 | .of_match_table = fsl_soc_dma_ids, |
976 | }, | 975 | }, |
977 | .probe = fsl_soc_dma_probe, | 976 | .probe = fsl_soc_dma_probe, |
diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index a645e296199e..26eabc3091ea 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c | |||
@@ -855,7 +855,6 @@ static struct platform_driver fsl_esai_driver = { | |||
855 | .probe = fsl_esai_probe, | 855 | .probe = fsl_esai_probe, |
856 | .driver = { | 856 | .driver = { |
857 | .name = "fsl-esai-dai", | 857 | .name = "fsl-esai-dai", |
858 | .owner = THIS_MODULE, | ||
859 | .of_match_table = fsl_esai_dt_ids, | 858 | .of_match_table = fsl_esai_dt_ids, |
860 | }, | 859 | }, |
861 | }; | 860 | }; |
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 7eeb1dd8ce27..032d2d33619c 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c | |||
@@ -678,7 +678,6 @@ static struct platform_driver fsl_sai_driver = { | |||
678 | .probe = fsl_sai_probe, | 678 | .probe = fsl_sai_probe, |
679 | .driver = { | 679 | .driver = { |
680 | .name = "fsl-sai", | 680 | .name = "fsl-sai", |
681 | .owner = THIS_MODULE, | ||
682 | .of_match_table = fsl_sai_ids, | 681 | .of_match_table = fsl_sai_ids, |
683 | }, | 682 | }, |
684 | }; | 683 | }; |
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 9b791621294c..af0429421fc8 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c | |||
@@ -1283,7 +1283,6 @@ MODULE_DEVICE_TABLE(of, fsl_spdif_dt_ids); | |||
1283 | static struct platform_driver fsl_spdif_driver = { | 1283 | static struct platform_driver fsl_spdif_driver = { |
1284 | .driver = { | 1284 | .driver = { |
1285 | .name = "fsl-spdif-dai", | 1285 | .name = "fsl-spdif-dai", |
1286 | .owner = THIS_MODULE, | ||
1287 | .of_match_table = fsl_spdif_dt_ids, | 1286 | .of_match_table = fsl_spdif_dt_ids, |
1288 | }, | 1287 | }, |
1289 | .probe = fsl_spdif_probe, | 1288 | .probe = fsl_spdif_probe, |
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index e6955170dc42..ab05262deaf8 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -1489,7 +1489,6 @@ static int fsl_ssi_remove(struct platform_device *pdev) | |||
1489 | static struct platform_driver fsl_ssi_driver = { | 1489 | static struct platform_driver fsl_ssi_driver = { |
1490 | .driver = { | 1490 | .driver = { |
1491 | .name = "fsl-ssi-dai", | 1491 | .name = "fsl-ssi-dai", |
1492 | .owner = THIS_MODULE, | ||
1493 | .of_match_table = fsl_ssi_ids, | 1492 | .of_match_table = fsl_ssi_ids, |
1494 | }, | 1493 | }, |
1495 | .probe = fsl_ssi_probe, | 1494 | .probe = fsl_ssi_probe, |
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index 46f9beb6b273..d9050d946ae7 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c | |||
@@ -356,7 +356,6 @@ static struct platform_driver imx_audmux_driver = { | |||
356 | .id_table = imx_audmux_ids, | 356 | .id_table = imx_audmux_ids, |
357 | .driver = { | 357 | .driver = { |
358 | .name = DRIVER_NAME, | 358 | .name = DRIVER_NAME, |
359 | .owner = THIS_MODULE, | ||
360 | .of_match_table = imx_audmux_dt_ids, | 359 | .of_match_table = imx_audmux_dt_ids, |
361 | } | 360 | } |
362 | }; | 361 | }; |
diff --git a/sound/soc/fsl/imx-mc13783.c b/sound/soc/fsl/imx-mc13783.c index a2fd7321b5a9..6bf5bce01a92 100644 --- a/sound/soc/fsl/imx-mc13783.c +++ b/sound/soc/fsl/imx-mc13783.c | |||
@@ -159,7 +159,6 @@ static int imx_mc13783_remove(struct platform_device *pdev) | |||
159 | static struct platform_driver imx_mc13783_audio_driver = { | 159 | static struct platform_driver imx_mc13783_audio_driver = { |
160 | .driver = { | 160 | .driver = { |
161 | .name = "imx_mc13783", | 161 | .name = "imx_mc13783", |
162 | .owner = THIS_MODULE, | ||
163 | }, | 162 | }, |
164 | .probe = imx_mc13783_probe, | 163 | .probe = imx_mc13783_probe, |
165 | .remove = imx_mc13783_remove | 164 | .remove = imx_mc13783_remove |
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index 1cb22dd034eb..413a771b8bbd 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c | |||
@@ -202,7 +202,6 @@ MODULE_DEVICE_TABLE(of, imx_sgtl5000_dt_ids); | |||
202 | static struct platform_driver imx_sgtl5000_driver = { | 202 | static struct platform_driver imx_sgtl5000_driver = { |
203 | .driver = { | 203 | .driver = { |
204 | .name = "imx-sgtl5000", | 204 | .name = "imx-sgtl5000", |
205 | .owner = THIS_MODULE, | ||
206 | .pm = &snd_soc_pm_ops, | 205 | .pm = &snd_soc_pm_ops, |
207 | .of_match_table = imx_sgtl5000_dt_ids, | 206 | .of_match_table = imx_sgtl5000_dt_ids, |
208 | }, | 207 | }, |
diff --git a/sound/soc/fsl/imx-spdif.c b/sound/soc/fsl/imx-spdif.c index e1dc40143600..9d0bb6bf1b7b 100644 --- a/sound/soc/fsl/imx-spdif.c +++ b/sound/soc/fsl/imx-spdif.c | |||
@@ -89,7 +89,6 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids); | |||
89 | static struct platform_driver imx_spdif_driver = { | 89 | static struct platform_driver imx_spdif_driver = { |
90 | .driver = { | 90 | .driver = { |
91 | .name = "imx-spdif", | 91 | .name = "imx-spdif", |
92 | .owner = THIS_MODULE, | ||
93 | .of_match_table = imx_spdif_dt_ids, | 92 | .of_match_table = imx_spdif_dt_ids, |
94 | }, | 93 | }, |
95 | .probe = imx_spdif_audio_probe, | 94 | .probe = imx_spdif_audio_probe, |
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index ab2fdd76b693..44313e47e254 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c | |||
@@ -647,7 +647,6 @@ static struct platform_driver imx_ssi_driver = { | |||
647 | 647 | ||
648 | .driver = { | 648 | .driver = { |
649 | .name = "imx-ssi", | 649 | .name = "imx-ssi", |
650 | .owner = THIS_MODULE, | ||
651 | }, | 650 | }, |
652 | }; | 651 | }; |
653 | 652 | ||
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c index 3a3d17ce6ba4..2cebcb1641ba 100644 --- a/sound/soc/fsl/imx-wm8962.c +++ b/sound/soc/fsl/imx-wm8962.c | |||
@@ -309,7 +309,6 @@ MODULE_DEVICE_TABLE(of, imx_wm8962_dt_ids); | |||
309 | static struct platform_driver imx_wm8962_driver = { | 309 | static struct platform_driver imx_wm8962_driver = { |
310 | .driver = { | 310 | .driver = { |
311 | .name = "imx-wm8962", | 311 | .name = "imx-wm8962", |
312 | .owner = THIS_MODULE, | ||
313 | .pm = &snd_soc_pm_ops, | 312 | .pm = &snd_soc_pm_ops, |
314 | .of_match_table = imx_wm8962_dt_ids, | 313 | .of_match_table = imx_wm8962_dt_ids, |
315 | }, | 314 | }, |
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c index 24eafa2cfbf4..9c1a2c09b8c7 100644 --- a/sound/soc/fsl/mpc5200_psc_ac97.c +++ b/sound/soc/fsl/mpc5200_psc_ac97.c | |||
@@ -340,7 +340,6 @@ static struct platform_driver psc_ac97_driver = { | |||
340 | .remove = psc_ac97_of_remove, | 340 | .remove = psc_ac97_of_remove, |
341 | .driver = { | 341 | .driver = { |
342 | .name = "mpc5200-psc-ac97", | 342 | .name = "mpc5200-psc-ac97", |
343 | .owner = THIS_MODULE, | ||
344 | .of_match_table = psc_ac97_match, | 343 | .of_match_table = psc_ac97_match, |
345 | }, | 344 | }, |
346 | }; | 345 | }; |
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c index 5d07e8a74a21..51fb0c00fe73 100644 --- a/sound/soc/fsl/mpc5200_psc_i2s.c +++ b/sound/soc/fsl/mpc5200_psc_i2s.c | |||
@@ -229,7 +229,6 @@ static struct platform_driver psc_i2s_driver = { | |||
229 | .remove = psc_i2s_of_remove, | 229 | .remove = psc_i2s_of_remove, |
230 | .driver = { | 230 | .driver = { |
231 | .name = "mpc5200-psc-i2s", | 231 | .name = "mpc5200-psc-i2s", |
232 | .owner = THIS_MODULE, | ||
233 | .of_match_table = psc_i2s_match, | 232 | .of_match_table = psc_i2s_match, |
234 | }, | 233 | }, |
235 | }; | 234 | }; |
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c index fa756d05b2f7..9621b9140df6 100644 --- a/sound/soc/fsl/mpc8610_hpcd.c +++ b/sound/soc/fsl/mpc8610_hpcd.c | |||
@@ -389,7 +389,6 @@ static struct platform_driver mpc8610_hpcd_driver = { | |||
389 | * in lowercase letters. | 389 | * in lowercase letters. |
390 | */ | 390 | */ |
391 | .name = "snd-soc-mpc8610hpcd", | 391 | .name = "snd-soc-mpc8610hpcd", |
392 | .owner = THIS_MODULE, | ||
393 | }, | 392 | }, |
394 | }; | 393 | }; |
395 | 394 | ||
diff --git a/sound/soc/fsl/mx27vis-aic32x4.c b/sound/soc/fsl/mx27vis-aic32x4.c index f4c3bda5e69e..b1ced7b8d80c 100644 --- a/sound/soc/fsl/mx27vis-aic32x4.c +++ b/sound/soc/fsl/mx27vis-aic32x4.c | |||
@@ -229,7 +229,6 @@ static int mx27vis_aic32x4_remove(struct platform_device *pdev) | |||
229 | static struct platform_driver mx27vis_aic32x4_audio_driver = { | 229 | static struct platform_driver mx27vis_aic32x4_audio_driver = { |
230 | .driver = { | 230 | .driver = { |
231 | .name = "mx27vis", | 231 | .name = "mx27vis", |
232 | .owner = THIS_MODULE, | ||
233 | }, | 232 | }, |
234 | .probe = mx27vis_aic32x4_probe, | 233 | .probe = mx27vis_aic32x4_probe, |
235 | .remove = mx27vis_aic32x4_remove, | 234 | .remove = mx27vis_aic32x4_remove, |
diff --git a/sound/soc/fsl/p1022_ds.c b/sound/soc/fsl/p1022_ds.c index f75c3cf0e6de..71c1a7dc3aeb 100644 --- a/sound/soc/fsl/p1022_ds.c +++ b/sound/soc/fsl/p1022_ds.c | |||
@@ -398,7 +398,6 @@ static struct platform_driver p1022_ds_driver = { | |||
398 | * in lowercase letters. | 398 | * in lowercase letters. |
399 | */ | 399 | */ |
400 | .name = "snd-soc-p1022ds", | 400 | .name = "snd-soc-p1022ds", |
401 | .owner = THIS_MODULE, | ||
402 | }, | 401 | }, |
403 | }; | 402 | }; |
404 | 403 | ||
diff --git a/sound/soc/fsl/p1022_rdk.c b/sound/soc/fsl/p1022_rdk.c index 9d89bb028621..ee29048424be 100644 --- a/sound/soc/fsl/p1022_rdk.c +++ b/sound/soc/fsl/p1022_rdk.c | |||
@@ -348,7 +348,6 @@ static struct platform_driver p1022_rdk_driver = { | |||
348 | * in lowercase letters. | 348 | * in lowercase letters. |
349 | */ | 349 | */ |
350 | .name = "snd-soc-p1022rdk", | 350 | .name = "snd-soc-p1022rdk", |
351 | .owner = THIS_MODULE, | ||
352 | }, | 351 | }, |
353 | }; | 352 | }; |
354 | 353 | ||
diff --git a/sound/soc/fsl/pcm030-audio-fabric.c b/sound/soc/fsl/pcm030-audio-fabric.c index 3665f612819d..c44459d24c50 100644 --- a/sound/soc/fsl/pcm030-audio-fabric.c +++ b/sound/soc/fsl/pcm030-audio-fabric.c | |||
@@ -124,7 +124,6 @@ static struct platform_driver pcm030_fabric_driver = { | |||
124 | .remove = pcm030_fabric_remove, | 124 | .remove = pcm030_fabric_remove, |
125 | .driver = { | 125 | .driver = { |
126 | .name = DRV_NAME, | 126 | .name = DRV_NAME, |
127 | .owner = THIS_MODULE, | ||
128 | .of_match_table = pcm030_audio_match, | 127 | .of_match_table = pcm030_audio_match, |
129 | }, | 128 | }, |
130 | }; | 129 | }; |
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index d1b7293c133e..df77772e9dff 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
@@ -590,7 +590,6 @@ MODULE_DEVICE_TABLE(of, asoc_simple_of_match); | |||
590 | static struct platform_driver asoc_simple_card = { | 590 | static struct platform_driver asoc_simple_card = { |
591 | .driver = { | 591 | .driver = { |
592 | .name = "asoc-simple-card", | 592 | .name = "asoc-simple-card", |
593 | .owner = THIS_MODULE, | ||
594 | .of_match_table = asoc_simple_of_match, | 593 | .of_match_table = asoc_simple_of_match, |
595 | }, | 594 | }, |
596 | .probe = asoc_simple_card_probe, | 595 | .probe = asoc_simple_card_probe, |
diff --git a/sound/soc/intel/broadwell.c b/sound/soc/intel/broadwell.c index 0e550f14028f..8db22982f259 100644 --- a/sound/soc/intel/broadwell.c +++ b/sound/soc/intel/broadwell.c | |||
@@ -238,7 +238,6 @@ static struct platform_driver broadwell_audio = { | |||
238 | .remove = broadwell_audio_remove, | 238 | .remove = broadwell_audio_remove, |
239 | .driver = { | 239 | .driver = { |
240 | .name = "broadwell-audio", | 240 | .name = "broadwell-audio", |
241 | .owner = THIS_MODULE, | ||
242 | }, | 241 | }, |
243 | }; | 242 | }; |
244 | 243 | ||
diff --git a/sound/soc/intel/byt-max98090.c b/sound/soc/intel/byt-max98090.c index d52681e7225e..9832afe7d22c 100644 --- a/sound/soc/intel/byt-max98090.c +++ b/sound/soc/intel/byt-max98090.c | |||
@@ -181,7 +181,6 @@ static struct platform_driver byt_max98090_driver = { | |||
181 | .remove = byt_max98090_remove, | 181 | .remove = byt_max98090_remove, |
182 | .driver = { | 182 | .driver = { |
183 | .name = "byt-max98090", | 183 | .name = "byt-max98090", |
184 | .owner = THIS_MODULE, | ||
185 | .pm = &snd_soc_pm_ops, | 184 | .pm = &snd_soc_pm_ops, |
186 | }, | 185 | }, |
187 | }; | 186 | }; |
diff --git a/sound/soc/intel/byt-rt5640.c b/sound/soc/intel/byt-rt5640.c index e03abdf21c1b..0cba7830c5e9 100644 --- a/sound/soc/intel/byt-rt5640.c +++ b/sound/soc/intel/byt-rt5640.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver byt_rt5640_audio = { | |||
224 | .probe = byt_rt5640_probe, | 224 | .probe = byt_rt5640_probe, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "byt-rt5640", | 226 | .name = "byt-rt5640", |
227 | .owner = THIS_MODULE, | ||
228 | .pm = &snd_soc_pm_ops, | 227 | .pm = &snd_soc_pm_ops, |
229 | }, | 228 | }, |
230 | }; | 229 | }; |
diff --git a/sound/soc/intel/haswell.c b/sound/soc/intel/haswell.c index 3981982674ac..9de3f8c4ddc6 100644 --- a/sound/soc/intel/haswell.c +++ b/sound/soc/intel/haswell.c | |||
@@ -209,7 +209,6 @@ static struct platform_driver haswell_audio = { | |||
209 | .probe = haswell_audio_probe, | 209 | .probe = haswell_audio_probe, |
210 | .driver = { | 210 | .driver = { |
211 | .name = "haswell-audio", | 211 | .name = "haswell-audio", |
212 | .owner = THIS_MODULE, | ||
213 | }, | 212 | }, |
214 | }; | 213 | }; |
215 | 214 | ||
diff --git a/sound/soc/intel/mfld_machine.c b/sound/soc/intel/mfld_machine.c index 031d78783fc8..90b7a57713a0 100644 --- a/sound/soc/intel/mfld_machine.c +++ b/sound/soc/intel/mfld_machine.c | |||
@@ -420,7 +420,6 @@ static int snd_mfld_mc_probe(struct platform_device *pdev) | |||
420 | 420 | ||
421 | static struct platform_driver snd_mfld_mc_driver = { | 421 | static struct platform_driver snd_mfld_mc_driver = { |
422 | .driver = { | 422 | .driver = { |
423 | .owner = THIS_MODULE, | ||
424 | .name = "msic_audio", | 423 | .name = "msic_audio", |
425 | }, | 424 | }, |
426 | .probe = snd_mfld_mc_probe, | 425 | .probe = snd_mfld_mc_probe, |
diff --git a/sound/soc/intel/sst-acpi.c b/sound/soc/intel/sst-acpi.c index 03d0a166b635..b3d84560fbb5 100644 --- a/sound/soc/intel/sst-acpi.c +++ b/sound/soc/intel/sst-acpi.c | |||
@@ -275,7 +275,6 @@ static struct platform_driver sst_acpi_driver = { | |||
275 | .remove = sst_acpi_remove, | 275 | .remove = sst_acpi_remove, |
276 | .driver = { | 276 | .driver = { |
277 | .name = "sst-acpi", | 277 | .name = "sst-acpi", |
278 | .owner = THIS_MODULE, | ||
279 | .acpi_match_table = ACPI_PTR(sst_acpi_match), | 278 | .acpi_match_table = ACPI_PTR(sst_acpi_match), |
280 | }, | 279 | }, |
281 | }; | 280 | }; |
diff --git a/sound/soc/intel/sst-baytrail-pcm.c b/sound/soc/intel/sst-baytrail-pcm.c index eab1c7d85187..3bb6288d8b4d 100644 --- a/sound/soc/intel/sst-baytrail-pcm.c +++ b/sound/soc/intel/sst-baytrail-pcm.c | |||
@@ -497,7 +497,6 @@ static int sst_byt_pcm_dev_remove(struct platform_device *pdev) | |||
497 | static struct platform_driver sst_byt_pcm_driver = { | 497 | static struct platform_driver sst_byt_pcm_driver = { |
498 | .driver = { | 498 | .driver = { |
499 | .name = "baytrail-pcm-audio", | 499 | .name = "baytrail-pcm-audio", |
500 | .owner = THIS_MODULE, | ||
501 | .pm = SST_BYT_PM_OPS, | 500 | .pm = SST_BYT_PM_OPS, |
502 | }, | 501 | }, |
503 | 502 | ||
diff --git a/sound/soc/intel/sst-haswell-pcm.c b/sound/soc/intel/sst-haswell-pcm.c index 4df867cbb92a..ad21e636edc6 100644 --- a/sound/soc/intel/sst-haswell-pcm.c +++ b/sound/soc/intel/sst-haswell-pcm.c | |||
@@ -899,7 +899,6 @@ static int hsw_pcm_dev_remove(struct platform_device *pdev) | |||
899 | static struct platform_driver hsw_pcm_driver = { | 899 | static struct platform_driver hsw_pcm_driver = { |
900 | .driver = { | 900 | .driver = { |
901 | .name = "haswell-pcm-audio", | 901 | .name = "haswell-pcm-audio", |
902 | .owner = THIS_MODULE, | ||
903 | }, | 902 | }, |
904 | 903 | ||
905 | .probe = hsw_pcm_dev_probe, | 904 | .probe = hsw_pcm_dev_probe, |
diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c index aa9b600dfc9b..a31536b8dcca 100644 --- a/sound/soc/intel/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/sst-mfld-platform-pcm.c | |||
@@ -639,7 +639,6 @@ static int sst_platform_remove(struct platform_device *pdev) | |||
639 | static struct platform_driver sst_platform_driver = { | 639 | static struct platform_driver sst_platform_driver = { |
640 | .driver = { | 640 | .driver = { |
641 | .name = "sst-mfld-platform", | 641 | .name = "sst-mfld-platform", |
642 | .owner = THIS_MODULE, | ||
643 | }, | 642 | }, |
644 | .probe = sst_platform_probe, | 643 | .probe = sst_platform_probe, |
645 | .remove = sst_platform_remove, | 644 | .remove = sst_platform_remove, |
diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c index 3f9c3a9ae36f..d3d45c6f064f 100644 --- a/sound/soc/jz4740/jz4740-i2s.c +++ b/sound/soc/jz4740/jz4740-i2s.c | |||
@@ -455,7 +455,6 @@ static struct platform_driver jz4740_i2s_driver = { | |||
455 | .probe = jz4740_i2s_dev_probe, | 455 | .probe = jz4740_i2s_dev_probe, |
456 | .driver = { | 456 | .driver = { |
457 | .name = "jz4740-i2s", | 457 | .name = "jz4740-i2s", |
458 | .owner = THIS_MODULE, | ||
459 | }, | 458 | }, |
460 | }; | 459 | }; |
461 | 460 | ||
diff --git a/sound/soc/jz4740/qi_lb60.c b/sound/soc/jz4740/qi_lb60.c index 5cb91f9e8626..084691784bf9 100644 --- a/sound/soc/jz4740/qi_lb60.c +++ b/sound/soc/jz4740/qi_lb60.c | |||
@@ -107,7 +107,6 @@ static int qi_lb60_probe(struct platform_device *pdev) | |||
107 | static struct platform_driver qi_lb60_driver = { | 107 | static struct platform_driver qi_lb60_driver = { |
108 | .driver = { | 108 | .driver = { |
109 | .name = "qi-lb60-audio", | 109 | .name = "qi-lb60-audio", |
110 | .owner = THIS_MODULE, | ||
111 | }, | 110 | }, |
112 | .probe = qi_lb60_probe, | 111 | .probe = qi_lb60_probe, |
113 | }; | 112 | }; |
diff --git a/sound/soc/kirkwood/armada-370-db.c b/sound/soc/kirkwood/armada-370-db.c index c44333849259..de7563bdc5c2 100644 --- a/sound/soc/kirkwood/armada-370-db.c +++ b/sound/soc/kirkwood/armada-370-db.c | |||
@@ -134,7 +134,6 @@ static const struct of_device_id a370db_dt_ids[] = { | |||
134 | static struct platform_driver a370db_driver = { | 134 | static struct platform_driver a370db_driver = { |
135 | .driver = { | 135 | .driver = { |
136 | .name = "a370db-audio", | 136 | .name = "a370db-audio", |
137 | .owner = THIS_MODULE, | ||
138 | .of_match_table = of_match_ptr(a370db_dt_ids), | 137 | .of_match_table = of_match_ptr(a370db_dt_ids), |
139 | }, | 138 | }, |
140 | .probe = a370db_probe, | 139 | .probe = a370db_probe, |
diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c index 0704cd6d2314..def7d8260c4e 100644 --- a/sound/soc/kirkwood/kirkwood-i2s.c +++ b/sound/soc/kirkwood/kirkwood-i2s.c | |||
@@ -657,7 +657,6 @@ static struct platform_driver kirkwood_i2s_driver = { | |||
657 | .remove = kirkwood_i2s_dev_remove, | 657 | .remove = kirkwood_i2s_dev_remove, |
658 | .driver = { | 658 | .driver = { |
659 | .name = DRV_NAME, | 659 | .name = DRV_NAME, |
660 | .owner = THIS_MODULE, | ||
661 | .of_match_table = of_match_ptr(mvebu_audio_of_match), | 660 | .of_match_table = of_match_ptr(mvebu_audio_of_match), |
662 | }, | 661 | }, |
663 | }; | 662 | }; |
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index 231d7e7b0711..eade2742a937 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c | |||
@@ -815,7 +815,6 @@ static struct platform_driver mxs_saif_driver = { | |||
815 | 815 | ||
816 | .driver = { | 816 | .driver = { |
817 | .name = "mxs-saif", | 817 | .name = "mxs-saif", |
818 | .owner = THIS_MODULE, | ||
819 | .of_match_table = mxs_saif_dt_ids, | 818 | .of_match_table = mxs_saif_dt_ids, |
820 | }, | 819 | }, |
821 | }; | 820 | }; |
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c index 61822cc53bd3..7515cd434e21 100644 --- a/sound/soc/mxs/mxs-sgtl5000.c +++ b/sound/soc/mxs/mxs-sgtl5000.c | |||
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, mxs_sgtl5000_dt_ids); | |||
194 | static struct platform_driver mxs_sgtl5000_audio_driver = { | 194 | static struct platform_driver mxs_sgtl5000_audio_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "mxs-sgtl5000", | 196 | .name = "mxs-sgtl5000", |
197 | .owner = THIS_MODULE, | ||
198 | .of_match_table = mxs_sgtl5000_dt_ids, | 197 | .of_match_table = mxs_sgtl5000_dt_ids, |
199 | }, | 198 | }, |
200 | .probe = mxs_sgtl5000_probe, | 199 | .probe = mxs_sgtl5000_probe, |
diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c index f2f67942b229..291ee12d2bb9 100644 --- a/sound/soc/nuc900/nuc900-ac97.c +++ b/sound/soc/nuc900/nuc900-ac97.c | |||
@@ -385,7 +385,6 @@ static int nuc900_ac97_drvremove(struct platform_device *pdev) | |||
385 | static struct platform_driver nuc900_ac97_driver = { | 385 | static struct platform_driver nuc900_ac97_driver = { |
386 | .driver = { | 386 | .driver = { |
387 | .name = "nuc900-ac97", | 387 | .name = "nuc900-ac97", |
388 | .owner = THIS_MODULE, | ||
389 | }, | 388 | }, |
390 | .probe = nuc900_ac97_drvprobe, | 389 | .probe = nuc900_ac97_drvprobe, |
391 | .remove = nuc900_ac97_drvremove, | 390 | .remove = nuc900_ac97_drvremove, |
diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c index f434ed79d1b6..b779a3d9b5dd 100644 --- a/sound/soc/nuc900/nuc900-pcm.c +++ b/sound/soc/nuc900/nuc900-pcm.c | |||
@@ -347,7 +347,6 @@ static int nuc900_soc_platform_remove(struct platform_device *pdev) | |||
347 | static struct platform_driver nuc900_pcm_driver = { | 347 | static struct platform_driver nuc900_pcm_driver = { |
348 | .driver = { | 348 | .driver = { |
349 | .name = "nuc900-pcm-audio", | 349 | .name = "nuc900-pcm-audio", |
350 | .owner = THIS_MODULE, | ||
351 | }, | 350 | }, |
352 | 351 | ||
353 | .probe = nuc900_soc_platform_probe, | 352 | .probe = nuc900_soc_platform_probe, |
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 8c9cc64a9dfb..4c6afb75eea6 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c | |||
@@ -599,7 +599,6 @@ static int ams_delta_remove(struct platform_device *pdev) | |||
599 | static struct platform_driver ams_delta_driver = { | 599 | static struct platform_driver ams_delta_driver = { |
600 | .driver = { | 600 | .driver = { |
601 | .name = DRV_NAME, | 601 | .name = DRV_NAME, |
602 | .owner = THIS_MODULE, | ||
603 | }, | 602 | }, |
604 | .probe = ams_delta_probe, | 603 | .probe = ams_delta_probe, |
605 | .remove = ams_delta_remove, | 604 | .remove = ams_delta_remove, |
diff --git a/sound/soc/omap/omap-abe-twl6040.c b/sound/soc/omap/omap-abe-twl6040.c index cec836ed0c01..b9c65f1ad5a8 100644 --- a/sound/soc/omap/omap-abe-twl6040.c +++ b/sound/soc/omap/omap-abe-twl6040.c | |||
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, omap_abe_of_match); | |||
354 | static struct platform_driver omap_abe_driver = { | 354 | static struct platform_driver omap_abe_driver = { |
355 | .driver = { | 355 | .driver = { |
356 | .name = "omap-abe-twl6040", | 356 | .name = "omap-abe-twl6040", |
357 | .owner = THIS_MODULE, | ||
358 | .pm = &snd_soc_pm_ops, | 357 | .pm = &snd_soc_pm_ops, |
359 | .of_match_table = omap_abe_of_match, | 358 | .of_match_table = omap_abe_of_match, |
360 | }, | 359 | }, |
diff --git a/sound/soc/omap/omap-dmic.c b/sound/soc/omap/omap-dmic.c index 0f34e28a3d55..09db2aec12a3 100644 --- a/sound/soc/omap/omap-dmic.c +++ b/sound/soc/omap/omap-dmic.c | |||
@@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(of, omap_dmic_of_match); | |||
509 | static struct platform_driver asoc_dmic_driver = { | 509 | static struct platform_driver asoc_dmic_driver = { |
510 | .driver = { | 510 | .driver = { |
511 | .name = "omap-dmic", | 511 | .name = "omap-dmic", |
512 | .owner = THIS_MODULE, | ||
513 | .of_match_table = omap_dmic_of_match, | 512 | .of_match_table = omap_dmic_of_match, |
514 | }, | 513 | }, |
515 | .probe = asoc_dmic_probe, | 514 | .probe = asoc_dmic_probe, |
diff --git a/sound/soc/omap/omap-hdmi-card.c b/sound/soc/omap/omap-hdmi-card.c index f649fe84b629..788d5dfd388f 100644 --- a/sound/soc/omap/omap-hdmi-card.c +++ b/sound/soc/omap/omap-hdmi-card.c | |||
@@ -73,7 +73,6 @@ static int omap_hdmi_remove(struct platform_device *pdev) | |||
73 | static struct platform_driver omap_hdmi_driver = { | 73 | static struct platform_driver omap_hdmi_driver = { |
74 | .driver = { | 74 | .driver = { |
75 | .name = DRV_NAME, | 75 | .name = DRV_NAME, |
76 | .owner = THIS_MODULE, | ||
77 | }, | 76 | }, |
78 | .probe = omap_hdmi_probe, | 77 | .probe = omap_hdmi_probe, |
79 | .remove = omap_hdmi_remove, | 78 | .remove = omap_hdmi_remove, |
diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index eb9c39299f81..3abe80a68be2 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c | |||
@@ -349,7 +349,6 @@ static int omap_hdmi_remove(struct platform_device *pdev) | |||
349 | static struct platform_driver hdmi_dai_driver = { | 349 | static struct platform_driver hdmi_dai_driver = { |
350 | .driver = { | 350 | .driver = { |
351 | .name = DRV_NAME, | 351 | .name = DRV_NAME, |
352 | .owner = THIS_MODULE, | ||
353 | }, | 352 | }, |
354 | .probe = omap_hdmi_probe, | 353 | .probe = omap_hdmi_probe, |
355 | .remove = omap_hdmi_remove, | 354 | .remove = omap_hdmi_remove, |
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index bd3ef2a88be0..8b79cafab1e2 100644 --- a/sound/soc/omap/omap-mcbsp.c +++ b/sound/soc/omap/omap-mcbsp.c | |||
@@ -831,7 +831,6 @@ static int asoc_mcbsp_remove(struct platform_device *pdev) | |||
831 | static struct platform_driver asoc_mcbsp_driver = { | 831 | static struct platform_driver asoc_mcbsp_driver = { |
832 | .driver = { | 832 | .driver = { |
833 | .name = "omap-mcbsp", | 833 | .name = "omap-mcbsp", |
834 | .owner = THIS_MODULE, | ||
835 | .of_match_table = omap_mcbsp_of_match, | 834 | .of_match_table = omap_mcbsp_of_match, |
836 | }, | 835 | }, |
837 | 836 | ||
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c index f0e2ebeab02b..b837265ac3e9 100644 --- a/sound/soc/omap/omap-mcpdm.c +++ b/sound/soc/omap/omap-mcpdm.c | |||
@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, omap_mcpdm_of_match); | |||
512 | static struct platform_driver asoc_mcpdm_driver = { | 512 | static struct platform_driver asoc_mcpdm_driver = { |
513 | .driver = { | 513 | .driver = { |
514 | .name = "omap-mcpdm", | 514 | .name = "omap-mcpdm", |
515 | .owner = THIS_MODULE, | ||
516 | .of_match_table = omap_mcpdm_of_match, | 515 | .of_match_table = omap_mcpdm_of_match, |
517 | }, | 516 | }, |
518 | 517 | ||
diff --git a/sound/soc/omap/omap-twl4030.c b/sound/soc/omap/omap-twl4030.c index 4336d1831485..5e551c762b7a 100644 --- a/sound/soc/omap/omap-twl4030.c +++ b/sound/soc/omap/omap-twl4030.c | |||
@@ -375,7 +375,6 @@ MODULE_DEVICE_TABLE(of, omap_twl4030_of_match); | |||
375 | static struct platform_driver omap_twl4030_driver = { | 375 | static struct platform_driver omap_twl4030_driver = { |
376 | .driver = { | 376 | .driver = { |
377 | .name = "omap-twl4030", | 377 | .name = "omap-twl4030", |
378 | .owner = THIS_MODULE, | ||
379 | .pm = &snd_soc_pm_ops, | 378 | .pm = &snd_soc_pm_ops, |
380 | .of_match_table = omap_twl4030_of_match, | 379 | .of_match_table = omap_twl4030_of_match, |
381 | }, | 380 | }, |
diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c index b10ae8074461..04896d6252a2 100644 --- a/sound/soc/omap/rx51.c +++ b/sound/soc/omap/rx51.c | |||
@@ -519,7 +519,6 @@ MODULE_DEVICE_TABLE(of, rx51_audio_of_match); | |||
519 | static struct platform_driver rx51_soc_driver = { | 519 | static struct platform_driver rx51_soc_driver = { |
520 | .driver = { | 520 | .driver = { |
521 | .name = "rx51-audio", | 521 | .name = "rx51-audio", |
522 | .owner = THIS_MODULE, | ||
523 | .of_match_table = of_match_ptr(rx51_audio_of_match), | 522 | .of_match_table = of_match_ptr(rx51_audio_of_match), |
524 | }, | 523 | }, |
525 | .probe = rx51_soc_probe, | 524 | .probe = rx51_soc_probe, |
diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c index c8dd53f9c35d..79936e3e80e7 100644 --- a/sound/soc/pxa/brownstone.c +++ b/sound/soc/pxa/brownstone.c | |||
@@ -155,7 +155,6 @@ static int brownstone_remove(struct platform_device *pdev) | |||
155 | static struct platform_driver mmp_driver = { | 155 | static struct platform_driver mmp_driver = { |
156 | .driver = { | 156 | .driver = { |
157 | .name = "brownstone-audio", | 157 | .name = "brownstone-audio", |
158 | .owner = THIS_MODULE, | ||
159 | .pm = &snd_soc_pm_ops, | 158 | .pm = &snd_soc_pm_ops, |
160 | }, | 159 | }, |
161 | .probe = brownstone_probe, | 160 | .probe = brownstone_probe, |
diff --git a/sound/soc/pxa/corgi.c b/sound/soc/pxa/corgi.c index 5a88136aa800..b7cd0a71fd70 100644 --- a/sound/soc/pxa/corgi.c +++ b/sound/soc/pxa/corgi.c | |||
@@ -327,7 +327,6 @@ static int corgi_remove(struct platform_device *pdev) | |||
327 | static struct platform_driver corgi_driver = { | 327 | static struct platform_driver corgi_driver = { |
328 | .driver = { | 328 | .driver = { |
329 | .name = "corgi-audio", | 329 | .name = "corgi-audio", |
330 | .owner = THIS_MODULE, | ||
331 | .pm = &snd_soc_pm_ops, | 330 | .pm = &snd_soc_pm_ops, |
332 | }, | 331 | }, |
333 | .probe = corgi_probe, | 332 | .probe = corgi_probe, |
diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c index c29fedab2f49..7c691aae8af2 100644 --- a/sound/soc/pxa/e740_wm9705.c +++ b/sound/soc/pxa/e740_wm9705.c | |||
@@ -177,7 +177,6 @@ static int e740_remove(struct platform_device *pdev) | |||
177 | static struct platform_driver e740_driver = { | 177 | static struct platform_driver e740_driver = { |
178 | .driver = { | 178 | .driver = { |
179 | .name = "e740-audio", | 179 | .name = "e740-audio", |
180 | .owner = THIS_MODULE, | ||
181 | .pm = &snd_soc_pm_ops, | 180 | .pm = &snd_soc_pm_ops, |
182 | }, | 181 | }, |
183 | .probe = e740_probe, | 182 | .probe = e740_probe, |
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c index ee36aba88063..30544b65b5a8 100644 --- a/sound/soc/pxa/e750_wm9705.c +++ b/sound/soc/pxa/e750_wm9705.c | |||
@@ -159,7 +159,6 @@ static int e750_remove(struct platform_device *pdev) | |||
159 | static struct platform_driver e750_driver = { | 159 | static struct platform_driver e750_driver = { |
160 | .driver = { | 160 | .driver = { |
161 | .name = "e750-audio", | 161 | .name = "e750-audio", |
162 | .owner = THIS_MODULE, | ||
163 | .pm = &snd_soc_pm_ops, | 162 | .pm = &snd_soc_pm_ops, |
164 | }, | 163 | }, |
165 | .probe = e750_probe, | 164 | .probe = e750_probe, |
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c index 24c2078ce70b..45d4bd46fff6 100644 --- a/sound/soc/pxa/e800_wm9712.c +++ b/sound/soc/pxa/e800_wm9712.c | |||
@@ -140,7 +140,6 @@ static int e800_remove(struct platform_device *pdev) | |||
140 | static struct platform_driver e800_driver = { | 140 | static struct platform_driver e800_driver = { |
141 | .driver = { | 141 | .driver = { |
142 | .name = "e800-audio", | 142 | .name = "e800-audio", |
143 | .owner = THIS_MODULE, | ||
144 | .pm = &snd_soc_pm_ops, | 143 | .pm = &snd_soc_pm_ops, |
145 | }, | 144 | }, |
146 | .probe = e800_probe, | 145 | .probe = e800_probe, |
diff --git a/sound/soc/pxa/hx4700.c b/sound/soc/pxa/hx4700.c index 05559a725bec..ce26551052a3 100644 --- a/sound/soc/pxa/hx4700.c +++ b/sound/soc/pxa/hx4700.c | |||
@@ -226,7 +226,6 @@ static int hx4700_audio_remove(struct platform_device *pdev) | |||
226 | static struct platform_driver hx4700_audio_driver = { | 226 | static struct platform_driver hx4700_audio_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "hx4700-audio", | 228 | .name = "hx4700-audio", |
229 | .owner = THIS_MODULE, | ||
230 | .pm = &snd_soc_pm_ops, | 229 | .pm = &snd_soc_pm_ops, |
231 | }, | 230 | }, |
232 | .probe = hx4700_audio_probe, | 231 | .probe = hx4700_audio_probe, |
diff --git a/sound/soc/pxa/imote2.c b/sound/soc/pxa/imote2.c index fd2f4eda1fd3..29fabbfd21f1 100644 --- a/sound/soc/pxa/imote2.c +++ b/sound/soc/pxa/imote2.c | |||
@@ -90,7 +90,6 @@ static int imote2_remove(struct platform_device *pdev) | |||
90 | static struct platform_driver imote2_driver = { | 90 | static struct platform_driver imote2_driver = { |
91 | .driver = { | 91 | .driver = { |
92 | .name = "imote2-audio", | 92 | .name = "imote2-audio", |
93 | .owner = THIS_MODULE, | ||
94 | .pm = &snd_soc_pm_ops, | 93 | .pm = &snd_soc_pm_ops, |
95 | }, | 94 | }, |
96 | .probe = imote2_probe, | 95 | .probe = imote2_probe, |
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c index 595eee341e90..0d746cc880c1 100644 --- a/sound/soc/pxa/mioa701_wm9713.c +++ b/sound/soc/pxa/mioa701_wm9713.c | |||
@@ -205,7 +205,6 @@ static struct platform_driver mioa701_wm9713_driver = { | |||
205 | .remove = mioa701_wm9713_remove, | 205 | .remove = mioa701_wm9713_remove, |
206 | .driver = { | 206 | .driver = { |
207 | .name = "mioa701-wm9713", | 207 | .name = "mioa701-wm9713", |
208 | .owner = THIS_MODULE, | ||
209 | .pm = &snd_soc_pm_ops, | 208 | .pm = &snd_soc_pm_ops, |
210 | }, | 209 | }, |
211 | }; | 210 | }; |
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 64e8b949a1a3..1eb45dcfb8e8 100644 --- a/sound/soc/pxa/mmp-pcm.c +++ b/sound/soc/pxa/mmp-pcm.c | |||
@@ -244,7 +244,6 @@ static int mmp_pcm_remove(struct platform_device *pdev) | |||
244 | static struct platform_driver mmp_pcm_driver = { | 244 | static struct platform_driver mmp_pcm_driver = { |
245 | .driver = { | 245 | .driver = { |
246 | .name = "mmp-pcm-audio", | 246 | .name = "mmp-pcm-audio", |
247 | .owner = THIS_MODULE, | ||
248 | }, | 247 | }, |
249 | 248 | ||
250 | .probe = mmp_pcm_probe, | 249 | .probe = mmp_pcm_probe, |
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c index 5bf5f1f7cac5..eca60c29791a 100644 --- a/sound/soc/pxa/mmp-sspa.c +++ b/sound/soc/pxa/mmp-sspa.c | |||
@@ -472,7 +472,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev) | |||
472 | static struct platform_driver asoc_mmp_sspa_driver = { | 472 | static struct platform_driver asoc_mmp_sspa_driver = { |
473 | .driver = { | 473 | .driver = { |
474 | .name = "mmp-sspa-dai", | 474 | .name = "mmp-sspa-dai", |
475 | .owner = THIS_MODULE, | ||
476 | }, | 475 | }, |
477 | .probe = asoc_mmp_sspa_probe, | 476 | .probe = asoc_mmp_sspa_probe, |
478 | .remove = asoc_mmp_sspa_remove, | 477 | .remove = asoc_mmp_sspa_remove, |
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c index 17f9521ff6ea..1eebca2f0a97 100644 --- a/sound/soc/pxa/palm27x.c +++ b/sound/soc/pxa/palm27x.c | |||
@@ -172,7 +172,6 @@ static struct platform_driver palm27x_wm9712_driver = { | |||
172 | .remove = palm27x_asoc_remove, | 172 | .remove = palm27x_asoc_remove, |
173 | .driver = { | 173 | .driver = { |
174 | .name = "palm27x-asoc", | 174 | .name = "palm27x-asoc", |
175 | .owner = THIS_MODULE, | ||
176 | .pm = &snd_soc_pm_ops, | 175 | .pm = &snd_soc_pm_ops, |
177 | }, | 176 | }, |
178 | }; | 177 | }; |
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c index 21f340065318..0fce8c420e96 100644 --- a/sound/soc/pxa/poodle.c +++ b/sound/soc/pxa/poodle.c | |||
@@ -296,7 +296,6 @@ static int poodle_remove(struct platform_device *pdev) | |||
296 | static struct platform_driver poodle_driver = { | 296 | static struct platform_driver poodle_driver = { |
297 | .driver = { | 297 | .driver = { |
298 | .name = "poodle-audio", | 298 | .name = "poodle-audio", |
299 | .owner = THIS_MODULE, | ||
300 | .pm = &snd_soc_pm_ops, | 299 | .pm = &snd_soc_pm_ops, |
301 | }, | 300 | }, |
302 | .probe = poodle_probe, | 301 | .probe = poodle_probe, |
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index a8e097433074..020b79a23f92 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c | |||
@@ -826,7 +826,6 @@ static int asoc_ssp_remove(struct platform_device *pdev) | |||
826 | static struct platform_driver asoc_ssp_driver = { | 826 | static struct platform_driver asoc_ssp_driver = { |
827 | .driver = { | 827 | .driver = { |
828 | .name = "pxa-ssp-dai", | 828 | .name = "pxa-ssp-dai", |
829 | .owner = THIS_MODULE, | ||
830 | .of_match_table = of_match_ptr(pxa_ssp_of_ids), | 829 | .of_match_table = of_match_ptr(pxa_ssp_of_ids), |
831 | }, | 830 | }, |
832 | 831 | ||
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c index ae956e3f4b9d..9455314e1281 100644 --- a/sound/soc/pxa/pxa2xx-ac97.c +++ b/sound/soc/pxa/pxa2xx-ac97.c | |||
@@ -261,7 +261,6 @@ static struct platform_driver pxa2xx_ac97_driver = { | |||
261 | .remove = pxa2xx_ac97_dev_remove, | 261 | .remove = pxa2xx_ac97_dev_remove, |
262 | .driver = { | 262 | .driver = { |
263 | .name = "pxa2xx-ac97", | 263 | .name = "pxa2xx-ac97", |
264 | .owner = THIS_MODULE, | ||
265 | #ifdef CONFIG_PM_SLEEP | 264 | #ifdef CONFIG_PM_SLEEP |
266 | .pm = &pxa2xx_ac97_pm_ops, | 265 | .pm = &pxa2xx_ac97_pm_ops, |
267 | #endif | 266 | #endif |
diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c index c0d648d3339f..e68290c15328 100644 --- a/sound/soc/pxa/pxa2xx-i2s.c +++ b/sound/soc/pxa/pxa2xx-i2s.c | |||
@@ -383,7 +383,6 @@ static struct platform_driver pxa2xx_i2s_driver = { | |||
383 | 383 | ||
384 | .driver = { | 384 | .driver = { |
385 | .name = "pxa2xx-i2s", | 385 | .name = "pxa2xx-i2s", |
386 | .owner = THIS_MODULE, | ||
387 | }, | 386 | }, |
388 | }; | 387 | }; |
389 | 388 | ||
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index 42f2f0175981..a51c9da66614 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -143,7 +143,6 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = { | |||
143 | static struct platform_driver pxa_pcm_driver = { | 143 | static struct platform_driver pxa_pcm_driver = { |
144 | .driver = { | 144 | .driver = { |
145 | .name = "pxa-pcm-audio", | 145 | .name = "pxa-pcm-audio", |
146 | .owner = THIS_MODULE, | ||
147 | .of_match_table = of_match_ptr(snd_soc_pxa_audio_match), | 146 | .of_match_table = of_match_ptr(snd_soc_pxa_audio_match), |
148 | }, | 147 | }, |
149 | 148 | ||
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c index 4a956d1cb269..cb49284e853a 100644 --- a/sound/soc/pxa/tosa.c +++ b/sound/soc/pxa/tosa.c | |||
@@ -265,7 +265,6 @@ static int tosa_remove(struct platform_device *pdev) | |||
265 | static struct platform_driver tosa_driver = { | 265 | static struct platform_driver tosa_driver = { |
266 | .driver = { | 266 | .driver = { |
267 | .name = "tosa-audio", | 267 | .name = "tosa-audio", |
268 | .owner = THIS_MODULE, | ||
269 | .pm = &snd_soc_pm_ops, | 268 | .pm = &snd_soc_pm_ops, |
270 | }, | 269 | }, |
271 | .probe = tosa_probe, | 270 | .probe = tosa_probe, |
diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c index 9d7c5b7e9539..e3d7257ad09c 100644 --- a/sound/soc/pxa/ttc-dkb.c +++ b/sound/soc/pxa/ttc-dkb.c | |||
@@ -155,7 +155,6 @@ static int ttc_dkb_remove(struct platform_device *pdev) | |||
155 | static struct platform_driver ttc_dkb_driver = { | 155 | static struct platform_driver ttc_dkb_driver = { |
156 | .driver = { | 156 | .driver = { |
157 | .name = "ttc-dkb-audio", | 157 | .name = "ttc-dkb-audio", |
158 | .owner = THIS_MODULE, | ||
159 | .pm = &snd_soc_pm_ops, | 158 | .pm = &snd_soc_pm_ops, |
160 | }, | 159 | }, |
161 | .probe = ttc_dkb_probe, | 160 | .probe = ttc_dkb_probe, |
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index f373e37f8305..5f63cbfeb879 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c | |||
@@ -526,7 +526,6 @@ static struct platform_driver rockchip_i2s_driver = { | |||
526 | .remove = rockchip_i2s_remove, | 526 | .remove = rockchip_i2s_remove, |
527 | .driver = { | 527 | .driver = { |
528 | .name = DRV_NAME, | 528 | .name = DRV_NAME, |
529 | .owner = THIS_MODULE, | ||
530 | .of_match_table = of_match_ptr(rockchip_i2s_match), | 529 | .of_match_table = of_match_ptr(rockchip_i2s_match), |
531 | .pm = &rockchip_i2s_pm_ops, | 530 | .pm = &rockchip_i2s_pm_ops, |
532 | }, | 531 | }, |
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c index e1615113fd84..cb9dd57814ed 100644 --- a/sound/soc/samsung/ac97.c +++ b/sound/soc/samsung/ac97.c | |||
@@ -442,7 +442,6 @@ static struct platform_driver s3c_ac97_driver = { | |||
442 | .remove = s3c_ac97_remove, | 442 | .remove = s3c_ac97_remove, |
443 | .driver = { | 443 | .driver = { |
444 | .name = "samsung-ac97", | 444 | .name = "samsung-ac97", |
445 | .owner = THIS_MODULE, | ||
446 | }, | 445 | }, |
447 | }; | 446 | }; |
448 | 447 | ||
diff --git a/sound/soc/samsung/bells.c b/sound/soc/samsung/bells.c index 5b21207cf551..e5f05e62fa3c 100644 --- a/sound/soc/samsung/bells.c +++ b/sound/soc/samsung/bells.c | |||
@@ -445,7 +445,6 @@ static int bells_probe(struct platform_device *pdev) | |||
445 | static struct platform_driver bells_driver = { | 445 | static struct platform_driver bells_driver = { |
446 | .driver = { | 446 | .driver = { |
447 | .name = "bells", | 447 | .name = "bells", |
448 | .owner = THIS_MODULE, | ||
449 | .pm = &snd_soc_pm_ops, | 448 | .pm = &snd_soc_pm_ops, |
450 | }, | 449 | }, |
451 | .probe = bells_probe, | 450 | .probe = bells_probe, |
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 9d513473b300..2e7097429bee 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -1366,7 +1366,6 @@ static struct platform_driver samsung_i2s_driver = { | |||
1366 | .id_table = samsung_i2s_driver_ids, | 1366 | .id_table = samsung_i2s_driver_ids, |
1367 | .driver = { | 1367 | .driver = { |
1368 | .name = "samsung-i2s", | 1368 | .name = "samsung-i2s", |
1369 | .owner = THIS_MODULE, | ||
1370 | .of_match_table = of_match_ptr(exynos_i2s_match), | 1369 | .of_match_table = of_match_ptr(exynos_i2s_match), |
1371 | .pm = &samsung_i2s_pm, | 1370 | .pm = &samsung_i2s_pm, |
1372 | }, | 1371 | }, |
diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c index 0e8dd985fcb3..4ed29ffc1c54 100644 --- a/sound/soc/samsung/idma.c +++ b/sound/soc/samsung/idma.c | |||
@@ -418,7 +418,6 @@ static int asoc_idma_platform_probe(struct platform_device *pdev) | |||
418 | static struct platform_driver asoc_idma_driver = { | 418 | static struct platform_driver asoc_idma_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .name = "samsung-idma", | 420 | .name = "samsung-idma", |
421 | .owner = THIS_MODULE, | ||
422 | }, | 421 | }, |
423 | 422 | ||
424 | .probe = asoc_idma_platform_probe, | 423 | .probe = asoc_idma_platform_probe, |
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c index 840787e63cb1..141519c21e21 100644 --- a/sound/soc/samsung/littlemill.c +++ b/sound/soc/samsung/littlemill.c | |||
@@ -315,7 +315,6 @@ static int littlemill_probe(struct platform_device *pdev) | |||
315 | static struct platform_driver littlemill_driver = { | 315 | static struct platform_driver littlemill_driver = { |
316 | .driver = { | 316 | .driver = { |
317 | .name = "littlemill", | 317 | .name = "littlemill", |
318 | .owner = THIS_MODULE, | ||
319 | .pm = &snd_soc_pm_ops, | 318 | .pm = &snd_soc_pm_ops, |
320 | }, | 319 | }, |
321 | .probe = littlemill_probe, | 320 | .probe = littlemill_probe, |
diff --git a/sound/soc/samsung/lowland.c b/sound/soc/samsung/lowland.c index bd5f0d643a86..243dea7ba38f 100644 --- a/sound/soc/samsung/lowland.c +++ b/sound/soc/samsung/lowland.c | |||
@@ -198,7 +198,6 @@ static int lowland_probe(struct platform_device *pdev) | |||
198 | static struct platform_driver lowland_driver = { | 198 | static struct platform_driver lowland_driver = { |
199 | .driver = { | 199 | .driver = { |
200 | .name = "lowland", | 200 | .name = "lowland", |
201 | .owner = THIS_MODULE, | ||
202 | .pm = &snd_soc_pm_ops, | 201 | .pm = &snd_soc_pm_ops, |
203 | }, | 202 | }, |
204 | .probe = lowland_probe, | 203 | .probe = lowland_probe, |
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c index 3c8f60423e82..1d3c3af5886e 100644 --- a/sound/soc/samsung/odroidx2_max98090.c +++ b/sound/soc/samsung/odroidx2_max98090.c | |||
@@ -162,7 +162,6 @@ static int odroidx2_audio_remove(struct platform_device *pdev) | |||
162 | static struct platform_driver odroidx2_audio_driver = { | 162 | static struct platform_driver odroidx2_audio_driver = { |
163 | .driver = { | 163 | .driver = { |
164 | .name = "odroidx2-audio", | 164 | .name = "odroidx2-audio", |
165 | .owner = THIS_MODULE, | ||
166 | .of_match_table = odroidx2_audio_of_match, | 165 | .of_match_table = odroidx2_audio_of_match, |
167 | .pm = &snd_soc_pm_ops, | 166 | .pm = &snd_soc_pm_ops, |
168 | }, | 167 | }, |
diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index bac034b15a27..b320a9d3fbf8 100644 --- a/sound/soc/samsung/pcm.c +++ b/sound/soc/samsung/pcm.c | |||
@@ -626,7 +626,6 @@ static struct platform_driver s3c_pcm_driver = { | |||
626 | .remove = s3c_pcm_dev_remove, | 626 | .remove = s3c_pcm_dev_remove, |
627 | .driver = { | 627 | .driver = { |
628 | .name = "samsung-pcm", | 628 | .name = "samsung-pcm", |
629 | .owner = THIS_MODULE, | ||
630 | }, | 629 | }, |
631 | }; | 630 | }; |
632 | 631 | ||
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 27b339c6580e..2b766d212ce0 100644 --- a/sound/soc/samsung/s3c2412-i2s.c +++ b/sound/soc/samsung/s3c2412-i2s.c | |||
@@ -180,7 +180,6 @@ static struct platform_driver s3c2412_iis_driver = { | |||
180 | .probe = s3c2412_iis_dev_probe, | 180 | .probe = s3c2412_iis_dev_probe, |
181 | .driver = { | 181 | .driver = { |
182 | .name = "s3c2412-iis", | 182 | .name = "s3c2412-iis", |
183 | .owner = THIS_MODULE, | ||
184 | }, | 183 | }, |
185 | }; | 184 | }; |
186 | 185 | ||
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index e87d9a2053b8..326d3c3804e3 100644 --- a/sound/soc/samsung/s3c24xx-i2s.c +++ b/sound/soc/samsung/s3c24xx-i2s.c | |||
@@ -485,7 +485,6 @@ static struct platform_driver s3c24xx_iis_driver = { | |||
485 | .probe = s3c24xx_iis_dev_probe, | 485 | .probe = s3c24xx_iis_dev_probe, |
486 | .driver = { | 486 | .driver = { |
487 | .name = "s3c24xx-iis", | 487 | .name = "s3c24xx-iis", |
488 | .owner = THIS_MODULE, | ||
489 | }, | 488 | }, |
490 | }; | 489 | }; |
491 | 490 | ||
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c index 2d30b7b6818a..7ac924c595bf 100644 --- a/sound/soc/samsung/s3c24xx_simtec_hermes.c +++ b/sound/soc/samsung/s3c24xx_simtec_hermes.c | |||
@@ -99,7 +99,6 @@ static int simtec_audio_hermes_probe(struct platform_device *pd) | |||
99 | 99 | ||
100 | static struct platform_driver simtec_audio_hermes_platdrv = { | 100 | static struct platform_driver simtec_audio_hermes_platdrv = { |
101 | .driver = { | 101 | .driver = { |
102 | .owner = THIS_MODULE, | ||
103 | .name = "s3c24xx-simtec-hermes-snd", | 102 | .name = "s3c24xx-simtec-hermes-snd", |
104 | .pm = simtec_audio_pm, | 103 | .pm = simtec_audio_pm, |
105 | }, | 104 | }, |
diff --git a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c index 83f6c7d49cd6..b4ed2fc1a65c 100644 --- a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +++ b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | |||
@@ -87,7 +87,6 @@ static int simtec_audio_tlv320aic23_probe(struct platform_device *pd) | |||
87 | 87 | ||
88 | static struct platform_driver simtec_audio_tlv320aic23_driver = { | 88 | static struct platform_driver simtec_audio_tlv320aic23_driver = { |
89 | .driver = { | 89 | .driver = { |
90 | .owner = THIS_MODULE, | ||
91 | .name = "s3c24xx-simtec-tlv320aic23", | 90 | .name = "s3c24xx-simtec-tlv320aic23", |
92 | .pm = simtec_audio_pm, | 91 | .pm = simtec_audio_pm, |
93 | }, | 92 | }, |
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c index 1b7b52b0af97..9c6f7db56f60 100644 --- a/sound/soc/samsung/s3c24xx_uda134x.c +++ b/sound/soc/samsung/s3c24xx_uda134x.c | |||
@@ -340,7 +340,6 @@ static struct platform_driver s3c24xx_uda134x_driver = { | |||
340 | .remove = s3c24xx_uda134x_remove, | 340 | .remove = s3c24xx_uda134x_remove, |
341 | .driver = { | 341 | .driver = { |
342 | .name = "s3c24xx_uda134x", | 342 | .name = "s3c24xx_uda134x", |
343 | .owner = THIS_MODULE, | ||
344 | }, | 343 | }, |
345 | }; | 344 | }; |
346 | 345 | ||
diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c index 63d079303561..05c609c62de9 100644 --- a/sound/soc/samsung/smdk_wm8580pcm.c +++ b/sound/soc/samsung/smdk_wm8580pcm.c | |||
@@ -173,7 +173,6 @@ static int snd_smdk_probe(struct platform_device *pdev) | |||
173 | 173 | ||
174 | static struct platform_driver snd_smdk_driver = { | 174 | static struct platform_driver snd_smdk_driver = { |
175 | .driver = { | 175 | .driver = { |
176 | .owner = THIS_MODULE, | ||
177 | .name = "samsung-smdk-pcm", | 176 | .name = "samsung-smdk-pcm", |
178 | }, | 177 | }, |
179 | .probe = snd_smdk_probe, | 178 | .probe = snd_smdk_probe, |
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c index 3d6272a8cad2..d38595fbdab7 100644 --- a/sound/soc/samsung/smdk_wm8994.c +++ b/sound/soc/samsung/smdk_wm8994.c | |||
@@ -191,7 +191,6 @@ static int smdk_audio_probe(struct platform_device *pdev) | |||
191 | static struct platform_driver smdk_audio_driver = { | 191 | static struct platform_driver smdk_audio_driver = { |
192 | .driver = { | 192 | .driver = { |
193 | .name = "smdk-audio-wm8994", | 193 | .name = "smdk-audio-wm8994", |
194 | .owner = THIS_MODULE, | ||
195 | .of_match_table = of_match_ptr(samsung_wm8994_of_match), | 194 | .of_match_table = of_match_ptr(samsung_wm8994_of_match), |
196 | .pm = &snd_soc_pm_ops, | 195 | .pm = &snd_soc_pm_ops, |
197 | }, | 196 | }, |
diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c index b6c09979be1f..c470e8eed6e1 100644 --- a/sound/soc/samsung/smdk_wm8994pcm.c +++ b/sound/soc/samsung/smdk_wm8994pcm.c | |||
@@ -143,7 +143,6 @@ static int snd_smdk_probe(struct platform_device *pdev) | |||
143 | 143 | ||
144 | static struct platform_driver snd_smdk_driver = { | 144 | static struct platform_driver snd_smdk_driver = { |
145 | .driver = { | 145 | .driver = { |
146 | .owner = THIS_MODULE, | ||
147 | .name = "samsung-smdk-pcm", | 146 | .name = "samsung-smdk-pcm", |
148 | }, | 147 | }, |
149 | .probe = snd_smdk_probe, | 148 | .probe = snd_smdk_probe, |
diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 0acf5d0eed53..61e8efd9f779 100644 --- a/sound/soc/samsung/snow.c +++ b/sound/soc/samsung/snow.c | |||
@@ -114,7 +114,6 @@ static const struct of_device_id snow_of_match[] = { | |||
114 | static struct platform_driver snow_driver = { | 114 | static struct platform_driver snow_driver = { |
115 | .driver = { | 115 | .driver = { |
116 | .name = "snow-audio", | 116 | .name = "snow-audio", |
117 | .owner = THIS_MODULE, | ||
118 | .pm = &snd_soc_pm_ops, | 117 | .pm = &snd_soc_pm_ops, |
119 | .of_match_table = snow_of_match, | 118 | .of_match_table = snow_of_match, |
120 | }, | 119 | }, |
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c index d7d2e208f486..36dbc0e96004 100644 --- a/sound/soc/samsung/spdif.c +++ b/sound/soc/samsung/spdif.c | |||
@@ -477,7 +477,6 @@ static struct platform_driver samsung_spdif_driver = { | |||
477 | .remove = spdif_remove, | 477 | .remove = spdif_remove, |
478 | .driver = { | 478 | .driver = { |
479 | .name = "samsung-spdif", | 479 | .name = "samsung-spdif", |
480 | .owner = THIS_MODULE, | ||
481 | }, | 480 | }, |
482 | }; | 481 | }; |
483 | 482 | ||
diff --git a/sound/soc/samsung/speyside.c b/sound/soc/samsung/speyside.c index a05482651aae..5ec7c52282f2 100644 --- a/sound/soc/samsung/speyside.c +++ b/sound/soc/samsung/speyside.c | |||
@@ -340,7 +340,6 @@ static int speyside_probe(struct platform_device *pdev) | |||
340 | static struct platform_driver speyside_driver = { | 340 | static struct platform_driver speyside_driver = { |
341 | .driver = { | 341 | .driver = { |
342 | .name = "speyside", | 342 | .name = "speyside", |
343 | .owner = THIS_MODULE, | ||
344 | .pm = &snd_soc_pm_ops, | 343 | .pm = &snd_soc_pm_ops, |
345 | }, | 344 | }, |
346 | .probe = speyside_probe, | 345 | .probe = speyside_probe, |
diff --git a/sound/soc/samsung/tobermory.c b/sound/soc/samsung/tobermory.c index 6a2b9f14d624..9c80506527c4 100644 --- a/sound/soc/samsung/tobermory.c +++ b/sound/soc/samsung/tobermory.c | |||
@@ -234,7 +234,6 @@ static int tobermory_probe(struct platform_device *pdev) | |||
234 | static struct platform_driver tobermory_driver = { | 234 | static struct platform_driver tobermory_driver = { |
235 | .driver = { | 235 | .driver = { |
236 | .name = "tobermory", | 236 | .name = "tobermory", |
237 | .owner = THIS_MODULE, | ||
238 | .pm = &snd_soc_pm_ops, | 237 | .pm = &snd_soc_pm_ops, |
239 | }, | 238 | }, |
240 | .probe = tobermory_probe, | 239 | .probe = tobermory_probe, |
diff --git a/sound/soc/sh/dma-sh7760.c b/sound/soc/sh/dma-sh7760.c index c85f8eb66c97..a5b2c4ea90d9 100644 --- a/sound/soc/sh/dma-sh7760.c +++ b/sound/soc/sh/dma-sh7760.c | |||
@@ -345,7 +345,6 @@ static int sh7760_soc_platform_remove(struct platform_device *pdev) | |||
345 | static struct platform_driver sh7760_pcm_driver = { | 345 | static struct platform_driver sh7760_pcm_driver = { |
346 | .driver = { | 346 | .driver = { |
347 | .name = "sh7760-pcm-audio", | 347 | .name = "sh7760-pcm-audio", |
348 | .owner = THIS_MODULE, | ||
349 | }, | 348 | }, |
350 | 349 | ||
351 | .probe = sh7760_soc_platform_probe, | 350 | .probe = sh7760_soc_platform_probe, |
diff --git a/sound/soc/sh/hac.c b/sound/soc/sh/hac.c index 0af2e4dfd139..0e0115cf2959 100644 --- a/sound/soc/sh/hac.c +++ b/sound/soc/sh/hac.c | |||
@@ -333,7 +333,6 @@ static int hac_soc_platform_remove(struct platform_device *pdev) | |||
333 | static struct platform_driver hac_pcm_driver = { | 333 | static struct platform_driver hac_pcm_driver = { |
334 | .driver = { | 334 | .driver = { |
335 | .name = "hac-pcm-audio", | 335 | .name = "hac-pcm-audio", |
336 | .owner = THIS_MODULE, | ||
337 | }, | 336 | }, |
338 | 337 | ||
339 | .probe = hac_soc_platform_probe, | 338 | .probe = hac_soc_platform_probe, |
diff --git a/sound/soc/sh/siu_dai.c b/sound/soc/sh/siu_dai.c index d55babee14f8..abb0d956231c 100644 --- a/sound/soc/sh/siu_dai.c +++ b/sound/soc/sh/siu_dai.c | |||
@@ -845,7 +845,6 @@ static int siu_remove(struct platform_device *pdev) | |||
845 | 845 | ||
846 | static struct platform_driver siu_driver = { | 846 | static struct platform_driver siu_driver = { |
847 | .driver = { | 847 | .driver = { |
848 | .owner = THIS_MODULE, | ||
849 | .name = "siu-pcm-audio", | 848 | .name = "siu-pcm-audio", |
850 | }, | 849 | }, |
851 | .probe = siu_probe, | 850 | .probe = siu_probe, |
diff --git a/sound/soc/sh/ssi.c b/sound/soc/sh/ssi.c index e889405ebd38..ab13146e4f82 100644 --- a/sound/soc/sh/ssi.c +++ b/sound/soc/sh/ssi.c | |||
@@ -398,7 +398,6 @@ static int sh4_soc_dai_remove(struct platform_device *pdev) | |||
398 | static struct platform_driver sh4_ssi_driver = { | 398 | static struct platform_driver sh4_ssi_driver = { |
399 | .driver = { | 399 | .driver = { |
400 | .name = "sh4-ssi-dai", | 400 | .name = "sh4-ssi-dai", |
401 | .owner = THIS_MODULE, | ||
402 | }, | 401 | }, |
403 | 402 | ||
404 | .probe = sh4_soc_dai_probe, | 403 | .probe = sh4_soc_dai_probe, |
diff --git a/sound/soc/sirf/sirf-audio-port.c b/sound/soc/sirf/sirf-audio-port.c index b4afa31b2bc1..3f2cce03275c 100644 --- a/sound/soc/sirf/sirf-audio-port.c +++ b/sound/soc/sirf/sirf-audio-port.c | |||
@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_port_of_match); | |||
74 | static struct platform_driver sirf_audio_port_driver = { | 74 | static struct platform_driver sirf_audio_port_driver = { |
75 | .driver = { | 75 | .driver = { |
76 | .name = "sirf-audio-port", | 76 | .name = "sirf-audio-port", |
77 | .owner = THIS_MODULE, | ||
78 | .of_match_table = sirf_audio_port_of_match, | 77 | .of_match_table = sirf_audio_port_of_match, |
79 | }, | 78 | }, |
80 | .probe = sirf_audio_port_probe, | 79 | .probe = sirf_audio_port_probe, |
diff --git a/sound/soc/sirf/sirf-audio.c b/sound/soc/sirf/sirf-audio.c index ecef51021653..94ea152e0362 100644 --- a/sound/soc/sirf/sirf-audio.c +++ b/sound/soc/sirf/sirf-audio.c | |||
@@ -143,7 +143,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_of_match); | |||
143 | static struct platform_driver sirf_audio_driver = { | 143 | static struct platform_driver sirf_audio_driver = { |
144 | .driver = { | 144 | .driver = { |
145 | .name = "sirf-audio-card", | 145 | .name = "sirf-audio-card", |
146 | .owner = THIS_MODULE, | ||
147 | .pm = &snd_soc_pm_ops, | 146 | .pm = &snd_soc_pm_ops, |
148 | .of_match_table = sirf_audio_of_match, | 147 | .of_match_table = sirf_audio_of_match, |
149 | }, | 148 | }, |
diff --git a/sound/soc/sirf/sirf-usp.c b/sound/soc/sirf/sirf-usp.c index 186dc7f33a55..45fc06c0e0e5 100644 --- a/sound/soc/sirf/sirf-usp.c +++ b/sound/soc/sirf/sirf-usp.c | |||
@@ -422,7 +422,6 @@ static const struct dev_pm_ops sirf_usp_pcm_pm_ops = { | |||
422 | static struct platform_driver sirf_usp_pcm_driver = { | 422 | static struct platform_driver sirf_usp_pcm_driver = { |
423 | .driver = { | 423 | .driver = { |
424 | .name = "sirf-usp-pcm", | 424 | .name = "sirf-usp-pcm", |
425 | .owner = THIS_MODULE, | ||
426 | .of_match_table = sirf_usp_pcm_of_match, | 425 | .of_match_table = sirf_usp_pcm_of_match, |
427 | .pm = &sirf_usp_pcm_pm_ops, | 426 | .pm = &sirf_usp_pcm_pm_ops, |
428 | }, | 427 | }, |
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 4c8f8a23a0e9..0a476b650708 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -1941,7 +1941,6 @@ EXPORT_SYMBOL_GPL(snd_soc_pm_ops); | |||
1941 | static struct platform_driver soc_driver = { | 1941 | static struct platform_driver soc_driver = { |
1942 | .driver = { | 1942 | .driver = { |
1943 | .name = "soc-audio", | 1943 | .name = "soc-audio", |
1944 | .owner = THIS_MODULE, | ||
1945 | .pm = &snd_soc_pm_ops, | 1944 | .pm = &snd_soc_pm_ops, |
1946 | }, | 1945 | }, |
1947 | .probe = soc_probe, | 1946 | .probe = soc_probe, |
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 7f22ca35a413..362c69ac1d6c 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c | |||
@@ -154,7 +154,6 @@ static int snd_soc_dummy_remove(struct platform_device *pdev) | |||
154 | static struct platform_driver soc_dummy_driver = { | 154 | static struct platform_driver soc_dummy_driver = { |
155 | .driver = { | 155 | .driver = { |
156 | .name = "snd-soc-dummy", | 156 | .name = "snd-soc-dummy", |
157 | .owner = THIS_MODULE, | ||
158 | }, | 157 | }, |
159 | .probe = snd_soc_dummy_probe, | 158 | .probe = snd_soc_dummy_probe, |
160 | .remove = snd_soc_dummy_remove, | 159 | .remove = snd_soc_dummy_remove, |
diff --git a/sound/soc/spear/spdif_in.c b/sound/soc/spear/spdif_in.c index 4ab442a63d7e..a4028601da01 100644 --- a/sound/soc/spear/spdif_in.c +++ b/sound/soc/spear/spdif_in.c | |||
@@ -274,7 +274,6 @@ static struct platform_driver spdif_in_driver = { | |||
274 | .probe = spdif_in_probe, | 274 | .probe = spdif_in_probe, |
275 | .driver = { | 275 | .driver = { |
276 | .name = "spdif-in", | 276 | .name = "spdif-in", |
277 | .owner = THIS_MODULE, | ||
278 | }, | 277 | }, |
279 | }; | 278 | }; |
280 | 279 | ||
diff --git a/sound/soc/spear/spdif_out.c b/sound/soc/spear/spdif_out.c index 19cca043e6e4..0a72d52d533e 100644 --- a/sound/soc/spear/spdif_out.c +++ b/sound/soc/spear/spdif_out.c | |||
@@ -354,7 +354,6 @@ static struct platform_driver spdif_out_driver = { | |||
354 | .probe = spdif_out_probe, | 354 | .probe = spdif_out_probe, |
355 | .driver = { | 355 | .driver = { |
356 | .name = "spdif-out", | 356 | .name = "spdif-out", |
357 | .owner = THIS_MODULE, | ||
358 | .pm = SPDIF_OUT_DEV_PM_OPS, | 357 | .pm = SPDIF_OUT_DEV_PM_OPS, |
359 | }, | 358 | }, |
360 | }; | 359 | }; |
diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c index 3b0fa12dbff7..e3dd2615eb69 100644 --- a/sound/soc/tegra/tegra20_ac97.c +++ b/sound/soc/tegra/tegra20_ac97.c | |||
@@ -438,7 +438,6 @@ static const struct of_device_id tegra20_ac97_of_match[] = { | |||
438 | static struct platform_driver tegra20_ac97_driver = { | 438 | static struct platform_driver tegra20_ac97_driver = { |
439 | .driver = { | 439 | .driver = { |
440 | .name = DRV_NAME, | 440 | .name = DRV_NAME, |
441 | .owner = THIS_MODULE, | ||
442 | .of_match_table = tegra20_ac97_of_match, | 441 | .of_match_table = tegra20_ac97_of_match, |
443 | }, | 442 | }, |
444 | .probe = tegra20_ac97_platform_probe, | 443 | .probe = tegra20_ac97_platform_probe, |
diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c index a634f13b3ffc..f52600b4f3fd 100644 --- a/sound/soc/tegra/tegra20_das.c +++ b/sound/soc/tegra/tegra20_das.c | |||
@@ -233,7 +233,6 @@ static struct platform_driver tegra20_das_driver = { | |||
233 | .remove = tegra20_das_remove, | 233 | .remove = tegra20_das_remove, |
234 | .driver = { | 234 | .driver = { |
235 | .name = DRV_NAME, | 235 | .name = DRV_NAME, |
236 | .owner = THIS_MODULE, | ||
237 | .of_match_table = tegra20_das_of_match, | 236 | .of_match_table = tegra20_das_of_match, |
238 | }, | 237 | }, |
239 | }; | 238 | }; |
diff --git a/sound/soc/tegra/tegra20_i2s.c b/sound/soc/tegra/tegra20_i2s.c index 79a9932ffe6e..05f1c6ee99e3 100644 --- a/sound/soc/tegra/tegra20_i2s.c +++ b/sound/soc/tegra/tegra20_i2s.c | |||
@@ -464,7 +464,6 @@ static const struct dev_pm_ops tegra20_i2s_pm_ops = { | |||
464 | static struct platform_driver tegra20_i2s_driver = { | 464 | static struct platform_driver tegra20_i2s_driver = { |
465 | .driver = { | 465 | .driver = { |
466 | .name = DRV_NAME, | 466 | .name = DRV_NAME, |
467 | .owner = THIS_MODULE, | ||
468 | .of_match_table = tegra20_i2s_of_match, | 467 | .of_match_table = tegra20_i2s_of_match, |
469 | .pm = &tegra20_i2s_pm_ops, | 468 | .pm = &tegra20_i2s_pm_ops, |
470 | }, | 469 | }, |
diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c index a0ce92400faf..9141477a528d 100644 --- a/sound/soc/tegra/tegra20_spdif.c +++ b/sound/soc/tegra/tegra20_spdif.c | |||
@@ -387,7 +387,6 @@ static const struct dev_pm_ops tegra20_spdif_pm_ops = { | |||
387 | static struct platform_driver tegra20_spdif_driver = { | 387 | static struct platform_driver tegra20_spdif_driver = { |
388 | .driver = { | 388 | .driver = { |
389 | .name = DRV_NAME, | 389 | .name = DRV_NAME, |
390 | .owner = THIS_MODULE, | ||
391 | .pm = &tegra20_spdif_pm_ops, | 390 | .pm = &tegra20_spdif_pm_ops, |
392 | }, | 391 | }, |
393 | .probe = tegra20_spdif_platform_probe, | 392 | .probe = tegra20_spdif_platform_probe, |
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index 0db68f49f4d9..bc94e5d8e79a 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c | |||
@@ -723,7 +723,6 @@ static struct platform_driver tegra30_ahub_driver = { | |||
723 | .remove = tegra30_ahub_remove, | 723 | .remove = tegra30_ahub_remove, |
724 | .driver = { | 724 | .driver = { |
725 | .name = DRV_NAME, | 725 | .name = DRV_NAME, |
726 | .owner = THIS_MODULE, | ||
727 | .of_match_table = tegra30_ahub_of_match, | 726 | .of_match_table = tegra30_ahub_of_match, |
728 | .pm = &tegra30_ahub_pm_ops, | 727 | .pm = &tegra30_ahub_pm_ops, |
729 | }, | 728 | }, |
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c index f146c41dd3ec..fe36375ba89c 100644 --- a/sound/soc/tegra/tegra30_i2s.c +++ b/sound/soc/tegra/tegra30_i2s.c | |||
@@ -585,7 +585,6 @@ static const struct dev_pm_ops tegra30_i2s_pm_ops = { | |||
585 | static struct platform_driver tegra30_i2s_driver = { | 585 | static struct platform_driver tegra30_i2s_driver = { |
586 | .driver = { | 586 | .driver = { |
587 | .name = DRV_NAME, | 587 | .name = DRV_NAME, |
588 | .owner = THIS_MODULE, | ||
589 | .of_match_table = tegra30_i2s_of_match, | 588 | .of_match_table = tegra30_i2s_of_match, |
590 | .pm = &tegra30_i2s_pm_ops, | 589 | .pm = &tegra30_i2s_pm_ops, |
591 | }, | 590 | }, |
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c index a83aff09dce2..769aca2fc5f5 100644 --- a/sound/soc/tegra/tegra_alc5632.c +++ b/sound/soc/tegra/tegra_alc5632.c | |||
@@ -250,7 +250,6 @@ static const struct of_device_id tegra_alc5632_of_match[] = { | |||
250 | static struct platform_driver tegra_alc5632_driver = { | 250 | static struct platform_driver tegra_alc5632_driver = { |
251 | .driver = { | 251 | .driver = { |
252 | .name = DRV_NAME, | 252 | .name = DRV_NAME, |
253 | .owner = THIS_MODULE, | ||
254 | .pm = &snd_soc_pm_ops, | 253 | .pm = &snd_soc_pm_ops, |
255 | .of_match_table = tegra_alc5632_of_match, | 254 | .of_match_table = tegra_alc5632_of_match, |
256 | }, | 255 | }, |
diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c index 01921d7e73fa..af3fb997b752 100644 --- a/sound/soc/tegra/tegra_max98090.c +++ b/sound/soc/tegra/tegra_max98090.c | |||
@@ -308,7 +308,6 @@ static const struct of_device_id tegra_max98090_of_match[] = { | |||
308 | static struct platform_driver tegra_max98090_driver = { | 308 | static struct platform_driver tegra_max98090_driver = { |
309 | .driver = { | 309 | .driver = { |
310 | .name = DRV_NAME, | 310 | .name = DRV_NAME, |
311 | .owner = THIS_MODULE, | ||
312 | .pm = &snd_soc_pm_ops, | 311 | .pm = &snd_soc_pm_ops, |
313 | .of_match_table = tegra_max98090_of_match, | 312 | .of_match_table = tegra_max98090_of_match, |
314 | }, | 313 | }, |
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c index a6898831fb9f..c0c15a94bab1 100644 --- a/sound/soc/tegra/tegra_rt5640.c +++ b/sound/soc/tegra/tegra_rt5640.c | |||
@@ -251,7 +251,6 @@ static const struct of_device_id tegra_rt5640_of_match[] = { | |||
251 | static struct platform_driver tegra_rt5640_driver = { | 251 | static struct platform_driver tegra_rt5640_driver = { |
252 | .driver = { | 252 | .driver = { |
253 | .name = DRV_NAME, | 253 | .name = DRV_NAME, |
254 | .owner = THIS_MODULE, | ||
255 | .pm = &snd_soc_pm_ops, | 254 | .pm = &snd_soc_pm_ops, |
256 | .of_match_table = tegra_rt5640_of_match, | 255 | .of_match_table = tegra_rt5640_of_match, |
257 | }, | 256 | }, |
diff --git a/sound/soc/tegra/tegra_wm8753.c b/sound/soc/tegra/tegra_wm8753.c index 769e28f6642e..f0cd01dbfc38 100644 --- a/sound/soc/tegra/tegra_wm8753.c +++ b/sound/soc/tegra/tegra_wm8753.c | |||
@@ -204,7 +204,6 @@ static const struct of_device_id tegra_wm8753_of_match[] = { | |||
204 | static struct platform_driver tegra_wm8753_driver = { | 204 | static struct platform_driver tegra_wm8753_driver = { |
205 | .driver = { | 205 | .driver = { |
206 | .name = DRV_NAME, | 206 | .name = DRV_NAME, |
207 | .owner = THIS_MODULE, | ||
208 | .pm = &snd_soc_pm_ops, | 207 | .pm = &snd_soc_pm_ops, |
209 | .of_match_table = tegra_wm8753_of_match, | 208 | .of_match_table = tegra_wm8753_of_match, |
210 | }, | 209 | }, |
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c index 86e05e938585..e52420dae2b4 100644 --- a/sound/soc/tegra/tegra_wm8903.c +++ b/sound/soc/tegra/tegra_wm8903.c | |||
@@ -386,7 +386,6 @@ static const struct of_device_id tegra_wm8903_of_match[] = { | |||
386 | static struct platform_driver tegra_wm8903_driver = { | 386 | static struct platform_driver tegra_wm8903_driver = { |
387 | .driver = { | 387 | .driver = { |
388 | .name = DRV_NAME, | 388 | .name = DRV_NAME, |
389 | .owner = THIS_MODULE, | ||
390 | .pm = &snd_soc_pm_ops, | 389 | .pm = &snd_soc_pm_ops, |
391 | .of_match_table = tegra_wm8903_of_match, | 390 | .of_match_table = tegra_wm8903_of_match, |
392 | }, | 391 | }, |
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c index de087ee3458a..2868b4839bc0 100644 --- a/sound/soc/tegra/tegra_wm9712.c +++ b/sound/soc/tegra/tegra_wm9712.c | |||
@@ -167,7 +167,6 @@ static const struct of_device_id tegra_wm9712_of_match[] = { | |||
167 | static struct platform_driver tegra_wm9712_driver = { | 167 | static struct platform_driver tegra_wm9712_driver = { |
168 | .driver = { | 168 | .driver = { |
169 | .name = DRV_NAME, | 169 | .name = DRV_NAME, |
170 | .owner = THIS_MODULE, | ||
171 | .pm = &snd_soc_pm_ops, | 170 | .pm = &snd_soc_pm_ops, |
172 | .of_match_table = tegra_wm9712_of_match, | 171 | .of_match_table = tegra_wm9712_of_match, |
173 | }, | 172 | }, |
diff --git a/sound/soc/tegra/trimslice.c b/sound/soc/tegra/trimslice.c index 589d2d9b553a..2cea203c4f5f 100644 --- a/sound/soc/tegra/trimslice.c +++ b/sound/soc/tegra/trimslice.c | |||
@@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, trimslice_of_match); | |||
193 | static struct platform_driver tegra_snd_trimslice_driver = { | 193 | static struct platform_driver tegra_snd_trimslice_driver = { |
194 | .driver = { | 194 | .driver = { |
195 | .name = DRV_NAME, | 195 | .name = DRV_NAME, |
196 | .owner = THIS_MODULE, | ||
197 | .of_match_table = trimslice_of_match, | 196 | .of_match_table = trimslice_of_match, |
198 | }, | 197 | }, |
199 | .probe = tegra_snd_trimslice_probe, | 198 | .probe = tegra_snd_trimslice_probe, |
diff --git a/sound/soc/txx9/txx9aclc-ac97.c b/sound/soc/txx9/txx9aclc-ac97.c index 9edd68db9f48..57e4d99b3cd8 100644 --- a/sound/soc/txx9/txx9aclc-ac97.c +++ b/sound/soc/txx9/txx9aclc-ac97.c | |||
@@ -224,7 +224,6 @@ static struct platform_driver txx9aclc_ac97_driver = { | |||
224 | .remove = txx9aclc_ac97_dev_remove, | 224 | .remove = txx9aclc_ac97_dev_remove, |
225 | .driver = { | 225 | .driver = { |
226 | .name = "txx9aclc-ac97", | 226 | .name = "txx9aclc-ac97", |
227 | .owner = THIS_MODULE, | ||
228 | }, | 227 | }, |
229 | }; | 228 | }; |
230 | 229 | ||
diff --git a/sound/soc/txx9/txx9aclc-generic.c b/sound/soc/txx9/txx9aclc-generic.c index b056a1431ed4..d0b1e7759968 100644 --- a/sound/soc/txx9/txx9aclc-generic.c +++ b/sound/soc/txx9/txx9aclc-generic.c | |||
@@ -66,7 +66,6 @@ static struct platform_driver txx9aclc_generic_driver = { | |||
66 | .remove = __exit_p(txx9aclc_generic_remove), | 66 | .remove = __exit_p(txx9aclc_generic_remove), |
67 | .driver = { | 67 | .driver = { |
68 | .name = "txx9aclc-generic", | 68 | .name = "txx9aclc-generic", |
69 | .owner = THIS_MODULE, | ||
70 | }, | 69 | }, |
71 | }; | 70 | }; |
72 | 71 | ||
diff --git a/sound/soc/txx9/txx9aclc.c b/sound/soc/txx9/txx9aclc.c index cd71fd889d8b..45684206118e 100644 --- a/sound/soc/txx9/txx9aclc.c +++ b/sound/soc/txx9/txx9aclc.c | |||
@@ -429,7 +429,6 @@ static int txx9aclc_soc_platform_remove(struct platform_device *pdev) | |||
429 | static struct platform_driver txx9aclc_pcm_driver = { | 429 | static struct platform_driver txx9aclc_pcm_driver = { |
430 | .driver = { | 430 | .driver = { |
431 | .name = "txx9aclc-pcm-audio", | 431 | .name = "txx9aclc-pcm-audio", |
432 | .owner = THIS_MODULE, | ||
433 | }, | 432 | }, |
434 | 433 | ||
435 | .probe = txx9aclc_soc_platform_probe, | 434 | .probe = txx9aclc_soc_platform_probe, |
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c index b3b66aa98dce..2ba0d42b108f 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c | |||
@@ -159,7 +159,6 @@ static const struct of_device_id snd_soc_mop500_match[] = { | |||
159 | 159 | ||
160 | static struct platform_driver snd_soc_mop500_driver = { | 160 | static struct platform_driver snd_soc_mop500_driver = { |
161 | .driver = { | 161 | .driver = { |
162 | .owner = THIS_MODULE, | ||
163 | .name = "snd-soc-mop500", | 162 | .name = "snd-soc-mop500", |
164 | .of_match_table = snd_soc_mop500_match, | 163 | .of_match_table = snd_soc_mop500_match, |
165 | }, | 164 | }, |
diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c index 5f4807b2c007..978f2d7316b0 100644 --- a/sound/soc/ux500/ux500_msp_dai.c +++ b/sound/soc/ux500/ux500_msp_dai.c | |||
@@ -856,7 +856,6 @@ static const struct of_device_id ux500_msp_i2s_match[] = { | |||
856 | static struct platform_driver msp_i2s_driver = { | 856 | static struct platform_driver msp_i2s_driver = { |
857 | .driver = { | 857 | .driver = { |
858 | .name = "ux500-msp-i2s", | 858 | .name = "ux500-msp-i2s", |
859 | .owner = THIS_MODULE, | ||
860 | .of_match_table = ux500_msp_i2s_match, | 859 | .of_match_table = ux500_msp_i2s_match, |
861 | }, | 860 | }, |
862 | .probe = ux500_msp_drv_probe, | 861 | .probe = ux500_msp_drv_probe, |
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index 4a85e1433472..86280d63b76d 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c | |||
@@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = { | |||
1067 | static struct platform_driver amd7930_sbus_driver = { | 1067 | static struct platform_driver amd7930_sbus_driver = { |
1068 | .driver = { | 1068 | .driver = { |
1069 | .name = "audio", | 1069 | .name = "audio", |
1070 | .owner = THIS_MODULE, | ||
1071 | .of_match_table = amd7930_match, | 1070 | .of_match_table = amd7930_match, |
1072 | }, | 1071 | }, |
1073 | .probe = amd7930_sbus_probe, | 1072 | .probe = amd7930_sbus_probe, |
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index 4e91bcaa3664..a3fcb592318b 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c | |||
@@ -2119,7 +2119,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match); | |||
2119 | static struct platform_driver cs4231_driver = { | 2119 | static struct platform_driver cs4231_driver = { |
2120 | .driver = { | 2120 | .driver = { |
2121 | .name = "audio", | 2121 | .name = "audio", |
2122 | .owner = THIS_MODULE, | ||
2123 | .of_match_table = cs4231_match, | 2122 | .of_match_table = cs4231_match, |
2124 | }, | 2123 | }, |
2125 | .probe = cs4231_probe, | 2124 | .probe = cs4231_probe, |
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index b2c3d0d5dca3..0190cb6332f2 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c | |||
@@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match); | |||
2686 | static struct platform_driver dbri_sbus_driver = { | 2686 | static struct platform_driver dbri_sbus_driver = { |
2687 | .driver = { | 2687 | .driver = { |
2688 | .name = "dbri", | 2688 | .name = "dbri", |
2689 | .owner = THIS_MODULE, | ||
2690 | .of_match_table = dbri_match, | 2689 | .of_match_table = dbri_match, |
2691 | }, | 2690 | }, |
2692 | .probe = dbri_probe, | 2691 | .probe = dbri_probe, |