aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2014-08-12 12:14:25 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-09 07:59:04 -0400
commit2137f5d3b8e8e04cff06194cacd0f6357495ac94 (patch)
tree337db4be26a9f57e77f6895cb01a47c72f129a04
parentdea67c4ec8218b301d7cac7ee6e63dac0bc566cb (diff)
mmc: remove .owner field for drivers using module_platform_driver
This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in platform_driver_register anyway. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/host/jz4740_mmc.c1
-rw-r--r--drivers/mmc/host/moxart-mmc.c1
-rw-r--r--drivers/mmc/host/mxcmmc.c1
-rw-r--r--drivers/mmc/host/mxs-mmc.c1
-rw-r--r--drivers/mmc/host/omap.c1
-rw-r--r--drivers/mmc/host/omap_hsmmc.c1
-rw-r--r--drivers/mmc/host/pxamci.c1
-rw-r--r--drivers/mmc/host/rtsx_pci_sdmmc.c1
-rw-r--r--drivers/mmc/host/rtsx_usb_sdmmc.c1
-rw-r--r--drivers/mmc/host/s3cmci.c1
-rw-r--r--drivers/mmc/host/sdhci-bcm-kona.c1
-rw-r--r--drivers/mmc/host/sdhci-bcm2835.c1
-rw-r--r--drivers/mmc/host/sdhci-cns3xxx.c1
-rw-r--r--drivers/mmc/host/sdhci-dove.c1
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c1
-rw-r--r--drivers/mmc/host/sdhci-msm.c1
-rw-r--r--drivers/mmc/host/sdhci-of-arasan.c1
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c1
-rw-r--r--drivers/mmc/host/sdhci-of-hlwd.c1
-rw-r--r--drivers/mmc/host/sdhci-pxav2.c1
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c1
-rw-r--r--drivers/mmc/host/sdhci-s3c.c1
-rw-r--r--drivers/mmc/host/sdhci-sirf.c1
-rw-r--r--drivers/mmc/host/sdhci-spear.c1
-rw-r--r--drivers/mmc/host/sdhci-tegra.c1
-rw-r--r--drivers/mmc/host/sh_mmcif.c1
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c1
-rw-r--r--drivers/mmc/host/sunxi-mmc.c1
28 files changed, 0 insertions, 28 deletions
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index 14738cddcadb..76e8bce6f46e 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -1161,7 +1161,6 @@ static struct platform_driver jz4740_mmc_driver = {
1161 .remove = jz4740_mmc_remove, 1161 .remove = jz4740_mmc_remove,
1162 .driver = { 1162 .driver = {
1163 .name = "jz4740-mmc", 1163 .name = "jz4740-mmc",
1164 .owner = THIS_MODULE,
1165 .pm = JZ4740_MMC_PM_OPS, 1164 .pm = JZ4740_MMC_PM_OPS,
1166 }, 1165 },
1167}; 1166};
diff --git a/drivers/mmc/host/moxart-mmc.c b/drivers/mmc/host/moxart-mmc.c
index b4b1efbf6c16..f3e18d08e852 100644
--- a/drivers/mmc/host/moxart-mmc.c
+++ b/drivers/mmc/host/moxart-mmc.c
@@ -717,7 +717,6 @@ static struct platform_driver moxart_mmc_driver = {
717 .remove = moxart_remove, 717 .remove = moxart_remove,
718 .driver = { 718 .driver = {
719 .name = "mmc-moxart", 719 .name = "mmc-moxart",
720 .owner = THIS_MODULE,
721 .of_match_table = moxart_mmc_match, 720 .of_match_table = moxart_mmc_match,
722 }, 721 },
723}; 722};
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index ed1cb93c3784..ad111422ad55 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -1238,7 +1238,6 @@ static struct platform_driver mxcmci_driver = {
1238 .id_table = mxcmci_devtype, 1238 .id_table = mxcmci_devtype,
1239 .driver = { 1239 .driver = {
1240 .name = DRIVER_NAME, 1240 .name = DRIVER_NAME,
1241 .owner = THIS_MODULE,
1242 .pm = &mxcmci_pm_ops, 1241 .pm = &mxcmci_pm_ops,
1243 .of_match_table = mxcmci_of_match, 1242 .of_match_table = mxcmci_of_match,
1244 } 1243 }
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index 140885a5a4e7..cd74e5143c36 100644
--- a/drivers/mmc/host/mxs-mmc.c
+++ b/drivers/mmc/host/mxs-mmc.c
@@ -735,7 +735,6 @@ static struct platform_driver mxs_mmc_driver = {
735 .id_table = mxs_ssp_ids, 735 .id_table = mxs_ssp_ids,
736 .driver = { 736 .driver = {
737 .name = DRIVER_NAME, 737 .name = DRIVER_NAME,
738 .owner = THIS_MODULE,
739#ifdef CONFIG_PM 738#ifdef CONFIG_PM
740 .pm = &mxs_mmc_pm_ops, 739 .pm = &mxs_mmc_pm_ops,
741#endif 740#endif
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 81974ecdfcbc..68dd6c79c378 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -1494,7 +1494,6 @@ static struct platform_driver mmc_omap_driver = {
1494 .remove = mmc_omap_remove, 1494 .remove = mmc_omap_remove,
1495 .driver = { 1495 .driver = {
1496 .name = DRIVER_NAME, 1496 .name = DRIVER_NAME,
1497 .owner = THIS_MODULE,
1498 .of_match_table = of_match_ptr(mmc_omap_match), 1497 .of_match_table = of_match_ptr(mmc_omap_match),
1499 }, 1498 },
1500}; 1499};
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 965672663ef0..ece163493a54 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2489,7 +2489,6 @@ static struct platform_driver omap_hsmmc_driver = {
2489 .remove = omap_hsmmc_remove, 2489 .remove = omap_hsmmc_remove,
2490 .driver = { 2490 .driver = {
2491 .name = DRIVER_NAME, 2491 .name = DRIVER_NAME,
2492 .owner = THIS_MODULE,
2493 .pm = &omap_hsmmc_dev_pm_ops, 2492 .pm = &omap_hsmmc_dev_pm_ops,
2494 .of_match_table = of_match_ptr(omap_mmc_of_match), 2493 .of_match_table = of_match_ptr(omap_mmc_of_match),
2495 }, 2494 },
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index 32fe11323f39..0971a234f449 100644
--- a/drivers/mmc/host/pxamci.c
+++ b/drivers/mmc/host/pxamci.c
@@ -885,7 +885,6 @@ static struct platform_driver pxamci_driver = {
885 .remove = pxamci_remove, 885 .remove = pxamci_remove,
886 .driver = { 886 .driver = {
887 .name = DRIVER_NAME, 887 .name = DRIVER_NAME,
888 .owner = THIS_MODULE,
889 .of_match_table = of_match_ptr(pxa_mmc_dt_ids), 888 .of_match_table = of_match_ptr(pxa_mmc_dt_ids),
890 }, 889 },
891}; 890};
diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
index b2537e2f26b1..d928216b6b5f 100644
--- a/drivers/mmc/host/rtsx_pci_sdmmc.c
+++ b/drivers/mmc/host/rtsx_pci_sdmmc.c
@@ -1423,7 +1423,6 @@ static struct platform_driver rtsx_pci_sdmmc_driver = {
1423 .remove = rtsx_pci_sdmmc_drv_remove, 1423 .remove = rtsx_pci_sdmmc_drv_remove,
1424 .id_table = rtsx_pci_sdmmc_ids, 1424 .id_table = rtsx_pci_sdmmc_ids,
1425 .driver = { 1425 .driver = {
1426 .owner = THIS_MODULE,
1427 .name = DRV_NAME_RTSX_PCI_SDMMC, 1426 .name = DRV_NAME_RTSX_PCI_SDMMC,
1428 }, 1427 },
1429}; 1428};
diff --git a/drivers/mmc/host/rtsx_usb_sdmmc.c b/drivers/mmc/host/rtsx_usb_sdmmc.c
index d9153a7d160d..e46c574fa574 100644
--- a/drivers/mmc/host/rtsx_usb_sdmmc.c
+++ b/drivers/mmc/host/rtsx_usb_sdmmc.c
@@ -1452,7 +1452,6 @@ static struct platform_driver rtsx_usb_sdmmc_driver = {
1452 .remove = rtsx_usb_sdmmc_drv_remove, 1452 .remove = rtsx_usb_sdmmc_drv_remove,
1453 .id_table = rtsx_usb_sdmmc_ids, 1453 .id_table = rtsx_usb_sdmmc_ids,
1454 .driver = { 1454 .driver = {
1455 .owner = THIS_MODULE,
1456 .name = "rtsx_usb_sdmmc", 1455 .name = "rtsx_usb_sdmmc",
1457 }, 1456 },
1458}; 1457};
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index e5516a226362..e4e1a5388163 100644
--- a/drivers/mmc/host/s3cmci.c
+++ b/drivers/mmc/host/s3cmci.c
@@ -1874,7 +1874,6 @@ MODULE_DEVICE_TABLE(platform, s3cmci_driver_ids);
1874static struct platform_driver s3cmci_driver = { 1874static struct platform_driver s3cmci_driver = {
1875 .driver = { 1875 .driver = {
1876 .name = "s3c-sdi", 1876 .name = "s3c-sdi",
1877 .owner = THIS_MODULE,
1878 }, 1877 },
1879 .id_table = s3cmci_driver_ids, 1878 .id_table = s3cmci_driver_ids,
1880 .probe = s3cmci_probe, 1879 .probe = s3cmci_probe,
diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c
index dd780c315a63..2245988a01a9 100644
--- a/drivers/mmc/host/sdhci-bcm-kona.c
+++ b/drivers/mmc/host/sdhci-bcm-kona.c
@@ -359,7 +359,6 @@ static int sdhci_bcm_kona_remove(struct platform_device *pdev)
359static struct platform_driver sdhci_bcm_kona_driver = { 359static struct platform_driver sdhci_bcm_kona_driver = {
360 .driver = { 360 .driver = {
361 .name = "sdhci-kona", 361 .name = "sdhci-kona",
362 .owner = THIS_MODULE,
363 .pm = SDHCI_PLTFM_PMOPS, 362 .pm = SDHCI_PLTFM_PMOPS,
364 .of_match_table = sdhci_bcm_kona_of_match, 363 .of_match_table = sdhci_bcm_kona_of_match,
365 }, 364 },
diff --git a/drivers/mmc/host/sdhci-bcm2835.c b/drivers/mmc/host/sdhci-bcm2835.c
index 46af9a439d7b..439d259fdf1d 100644
--- a/drivers/mmc/host/sdhci-bcm2835.c
+++ b/drivers/mmc/host/sdhci-bcm2835.c
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_sdhci_of_match);
194static struct platform_driver bcm2835_sdhci_driver = { 194static struct platform_driver bcm2835_sdhci_driver = {
195 .driver = { 195 .driver = {
196 .name = "sdhci-bcm2835", 196 .name = "sdhci-bcm2835",
197 .owner = THIS_MODULE,
198 .of_match_table = bcm2835_sdhci_of_match, 197 .of_match_table = bcm2835_sdhci_of_match,
199 .pm = SDHCI_PLTFM_PMOPS, 198 .pm = SDHCI_PLTFM_PMOPS,
200 }, 199 },
diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c
index 14b74075589a..a7935a8d0922 100644
--- a/drivers/mmc/host/sdhci-cns3xxx.c
+++ b/drivers/mmc/host/sdhci-cns3xxx.c
@@ -106,7 +106,6 @@ static int sdhci_cns3xxx_remove(struct platform_device *pdev)
106static struct platform_driver sdhci_cns3xxx_driver = { 106static struct platform_driver sdhci_cns3xxx_driver = {
107 .driver = { 107 .driver = {
108 .name = "sdhci-cns3xxx", 108 .name = "sdhci-cns3xxx",
109 .owner = THIS_MODULE,
110 .pm = SDHCI_PLTFM_PMOPS, 109 .pm = SDHCI_PLTFM_PMOPS,
111 }, 110 },
112 .probe = sdhci_cns3xxx_probe, 111 .probe = sdhci_cns3xxx_probe,
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index e6278ec007d7..ca969d271a27 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -146,7 +146,6 @@ MODULE_DEVICE_TABLE(of, sdhci_dove_of_match_table);
146static struct platform_driver sdhci_dove_driver = { 146static struct platform_driver sdhci_dove_driver = {
147 .driver = { 147 .driver = {
148 .name = "sdhci-dove", 148 .name = "sdhci-dove",
149 .owner = THIS_MODULE,
150 .pm = SDHCI_PLTFM_PMOPS, 149 .pm = SDHCI_PLTFM_PMOPS,
151 .of_match_table = sdhci_dove_of_match_table, 150 .of_match_table = sdhci_dove_of_match_table,
152 }, 151 },
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index ccec0e32590f..46677f09ad56 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -1207,7 +1207,6 @@ static const struct dev_pm_ops sdhci_esdhc_pmops = {
1207static struct platform_driver sdhci_esdhc_imx_driver = { 1207static struct platform_driver sdhci_esdhc_imx_driver = {
1208 .driver = { 1208 .driver = {
1209 .name = "sdhci-esdhc-imx", 1209 .name = "sdhci-esdhc-imx",
1210 .owner = THIS_MODULE,
1211 .of_match_table = imx_esdhc_dt_ids, 1210 .of_match_table = imx_esdhc_dt_ids,
1212 .pm = &sdhci_esdhc_pmops, 1211 .pm = &sdhci_esdhc_pmops,
1213 }, 1212 },
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index 1a6661ed6205..2f19eabac3ea 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -610,7 +610,6 @@ static struct platform_driver sdhci_msm_driver = {
610 .remove = sdhci_msm_remove, 610 .remove = sdhci_msm_remove,
611 .driver = { 611 .driver = {
612 .name = "sdhci_msm", 612 .name = "sdhci_msm",
613 .owner = THIS_MODULE,
614 .of_match_table = sdhci_msm_dt_match, 613 .of_match_table = sdhci_msm_dt_match,
615 }, 614 },
616}; 615};
diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index 5bd1092310f2..981d66e5c023 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -213,7 +213,6 @@ MODULE_DEVICE_TABLE(of, sdhci_arasan_of_match);
213static struct platform_driver sdhci_arasan_driver = { 213static struct platform_driver sdhci_arasan_driver = {
214 .driver = { 214 .driver = {
215 .name = "sdhci-arasan", 215 .name = "sdhci-arasan",
216 .owner = THIS_MODULE,
217 .of_match_table = sdhci_arasan_of_match, 216 .of_match_table = sdhci_arasan_of_match,
218 .pm = &sdhci_arasan_dev_pm_ops, 217 .pm = &sdhci_arasan_dev_pm_ops,
219 }, 218 },
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index 8be4dcfb49a0..8872c85c63d4 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -388,7 +388,6 @@ MODULE_DEVICE_TABLE(of, sdhci_esdhc_of_match);
388static struct platform_driver sdhci_esdhc_driver = { 388static struct platform_driver sdhci_esdhc_driver = {
389 .driver = { 389 .driver = {
390 .name = "sdhci-esdhc", 390 .name = "sdhci-esdhc",
391 .owner = THIS_MODULE,
392 .of_match_table = sdhci_esdhc_of_match, 391 .of_match_table = sdhci_esdhc_of_match,
393 .pm = ESDHC_PMOPS, 392 .pm = ESDHC_PMOPS,
394 }, 393 },
diff --git a/drivers/mmc/host/sdhci-of-hlwd.c b/drivers/mmc/host/sdhci-of-hlwd.c
index b341661369a2..be479279a1d5 100644
--- a/drivers/mmc/host/sdhci-of-hlwd.c
+++ b/drivers/mmc/host/sdhci-of-hlwd.c
@@ -89,7 +89,6 @@ MODULE_DEVICE_TABLE(of, sdhci_hlwd_of_match);
89static struct platform_driver sdhci_hlwd_driver = { 89static struct platform_driver sdhci_hlwd_driver = {
90 .driver = { 90 .driver = {
91 .name = "sdhci-hlwd", 91 .name = "sdhci-hlwd",
92 .owner = THIS_MODULE,
93 .of_match_table = sdhci_hlwd_of_match, 92 .of_match_table = sdhci_hlwd_of_match,
94 .pm = SDHCI_PLTFM_PMOPS, 93 .pm = SDHCI_PLTFM_PMOPS,
95 }, 94 },
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c
index 3c0f3c0a1cc8..b4c23e983baf 100644
--- a/drivers/mmc/host/sdhci-pxav2.c
+++ b/drivers/mmc/host/sdhci-pxav2.c
@@ -261,7 +261,6 @@ static int sdhci_pxav2_remove(struct platform_device *pdev)
261static struct platform_driver sdhci_pxav2_driver = { 261static struct platform_driver sdhci_pxav2_driver = {
262 .driver = { 262 .driver = {
263 .name = "sdhci-pxav2", 263 .name = "sdhci-pxav2",
264 .owner = THIS_MODULE,
265#ifdef CONFIG_OF 264#ifdef CONFIG_OF
266 .of_match_table = sdhci_pxav2_of_match, 265 .of_match_table = sdhci_pxav2_of_match,
267#endif 266#endif
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index 6f842fb8e6b8..cca08b0c8c3e 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -492,7 +492,6 @@ static struct platform_driver sdhci_pxav3_driver = {
492#ifdef CONFIG_OF 492#ifdef CONFIG_OF
493 .of_match_table = sdhci_pxav3_of_match, 493 .of_match_table = sdhci_pxav3_of_match,
494#endif 494#endif
495 .owner = THIS_MODULE,
496 .pm = SDHCI_PXAV3_PMOPS, 495 .pm = SDHCI_PXAV3_PMOPS,
497 }, 496 },
498 .probe = sdhci_pxav3_probe, 497 .probe = sdhci_pxav3_probe,
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 1e47903fa184..0ce6eb17deaf 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -747,7 +747,6 @@ static struct platform_driver sdhci_s3c_driver = {
747 .remove = sdhci_s3c_remove, 747 .remove = sdhci_s3c_remove,
748 .id_table = sdhci_s3c_driver_ids, 748 .id_table = sdhci_s3c_driver_ids,
749 .driver = { 749 .driver = {
750 .owner = THIS_MODULE,
751 .name = "s3c-sdhci", 750 .name = "s3c-sdhci",
752 .of_match_table = of_match_ptr(sdhci_s3c_dt_match), 751 .of_match_table = of_match_ptr(sdhci_s3c_dt_match),
753 .pm = SDHCI_S3C_PMOPS, 752 .pm = SDHCI_S3C_PMOPS,
diff --git a/drivers/mmc/host/sdhci-sirf.c b/drivers/mmc/host/sdhci-sirf.c
index 17004531d089..e15dc891ba01 100644
--- a/drivers/mmc/host/sdhci-sirf.c
+++ b/drivers/mmc/host/sdhci-sirf.c
@@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, sdhci_sirf_of_match);
167static struct platform_driver sdhci_sirf_driver = { 167static struct platform_driver sdhci_sirf_driver = {
168 .driver = { 168 .driver = {
169 .name = "sdhci-sirf", 169 .name = "sdhci-sirf",
170 .owner = THIS_MODULE,
171 .of_match_table = sdhci_sirf_of_match, 170 .of_match_table = sdhci_sirf_of_match,
172#ifdef CONFIG_PM_SLEEP 171#ifdef CONFIG_PM_SLEEP
173 .pm = &sdhci_sirf_pm_ops, 172 .pm = &sdhci_sirf_pm_ops,
diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
index 9d535c7336ef..22e58268545f 100644
--- a/drivers/mmc/host/sdhci-spear.c
+++ b/drivers/mmc/host/sdhci-spear.c
@@ -230,7 +230,6 @@ MODULE_DEVICE_TABLE(of, sdhci_spear_id_table);
230static struct platform_driver sdhci_driver = { 230static struct platform_driver sdhci_driver = {
231 .driver = { 231 .driver = {
232 .name = "sdhci", 232 .name = "sdhci",
233 .owner = THIS_MODULE,
234 .pm = &sdhci_pm_ops, 233 .pm = &sdhci_pm_ops,
235 .of_match_table = of_match_ptr(sdhci_spear_id_table), 234 .of_match_table = of_match_ptr(sdhci_spear_id_table),
236 }, 235 },
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 33100d10d176..59797106af93 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -318,7 +318,6 @@ static int sdhci_tegra_remove(struct platform_device *pdev)
318static struct platform_driver sdhci_tegra_driver = { 318static struct platform_driver sdhci_tegra_driver = {
319 .driver = { 319 .driver = {
320 .name = "sdhci-tegra", 320 .name = "sdhci-tegra",
321 .owner = THIS_MODULE,
322 .of_match_table = sdhci_tegra_dt_match, 321 .of_match_table = sdhci_tegra_dt_match,
323 .pm = SDHCI_PLTFM_PMOPS, 322 .pm = SDHCI_PLTFM_PMOPS,
324 }, 323 },
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index d11708c815d7..7d9d6a321521 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1553,7 +1553,6 @@ static struct platform_driver sh_mmcif_driver = {
1553 .driver = { 1553 .driver = {
1554 .name = DRIVER_NAME, 1554 .name = DRIVER_NAME,
1555 .pm = &sh_mmcif_dev_pm_ops, 1555 .pm = &sh_mmcif_dev_pm_ops,
1556 .owner = THIS_MODULE,
1557 .of_match_table = mmcif_of_match, 1556 .of_match_table = mmcif_of_match,
1558 }, 1557 },
1559}; 1558};
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 91058dabd11a..be5e25ddab53 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -341,7 +341,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
341static struct platform_driver sh_mobile_sdhi_driver = { 341static struct platform_driver sh_mobile_sdhi_driver = {
342 .driver = { 342 .driver = {
343 .name = "sh_mobile_sdhi", 343 .name = "sh_mobile_sdhi",
344 .owner = THIS_MODULE,
345 .pm = &tmio_mmc_dev_pm_ops, 344 .pm = &tmio_mmc_dev_pm_ops,
346 .of_match_table = sh_mobile_sdhi_of_match, 345 .of_match_table = sh_mobile_sdhi_of_match,
347 }, 346 },
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
index 024f67c98cdc..dafe5001a46e 100644
--- a/drivers/mmc/host/sunxi-mmc.c
+++ b/drivers/mmc/host/sunxi-mmc.c
@@ -1035,7 +1035,6 @@ static int sunxi_mmc_remove(struct platform_device *pdev)
1035static struct platform_driver sunxi_mmc_driver = { 1035static struct platform_driver sunxi_mmc_driver = {
1036 .driver = { 1036 .driver = {
1037 .name = "sunxi-mmc", 1037 .name = "sunxi-mmc",
1038 .owner = THIS_MODULE,
1039 .of_match_table = of_match_ptr(sunxi_mmc_of_match), 1038 .of_match_table = of_match_ptr(sunxi_mmc_of_match),
1040 }, 1039 },
1041 .probe = sunxi_mmc_probe, 1040 .probe = sunxi_mmc_probe,