diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:17 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:17 -0400 |
commit | 65c662ab63d2055d883bc97386aa779cbbb81f93 (patch) | |
tree | 60703d5df2dc9713dd1516f092e71004ead47549 | |
parent | 7ab6c54b5dc15732bf14c29bb21263efa49704bd (diff) |
ata: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/ata/ahci_da850.c | 1 | ||||
-rw-r--r-- | drivers/ata/ahci_imx.c | 1 | ||||
-rw-r--r-- | drivers/ata/ahci_mvebu.c | 1 | ||||
-rw-r--r-- | drivers/ata/ahci_platform.c | 1 | ||||
-rw-r--r-- | drivers/ata/ahci_st.c | 1 | ||||
-rw-r--r-- | drivers/ata/ahci_sunxi.c | 1 | ||||
-rw-r--r-- | drivers/ata/ahci_xgene.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_arasan_cf.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_at32.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_at91.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_bf54x.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_ep93xx.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_imx.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_ixp4xx_cf.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_mpc52xx.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_octeon_cf.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_of_platform.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_palmld.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_platform.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_pxa.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_rb532_cf.c | 1 | ||||
-rw-r--r-- | drivers/ata/pata_samsung_cf.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_fsl.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_highbank.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_mv.c | 1 | ||||
-rw-r--r-- | drivers/ata/sata_rcar.c | 1 |
27 files changed, 0 insertions, 27 deletions
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, |