diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:56 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:56 -0400 |
commit | bb0d20e79490aad989e6c85fedf46781b8d1e3ba (patch) | |
tree | 91417b759dbe11f788ac4cd5f4db3ddd06fa4641 /drivers | |
parent | 17149e4c863c9696f3ee6fa27954f3087acdefd3 (diff) |
mmc: host: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/au1xmmc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/davinci_mmc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/tmio_mmc.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/usdhi6rol0.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/wbsd.c | 1 | ||||
-rw-r--r-- | drivers/mmc/host/wmt-sdmmc.c | 1 |
7 files changed, 0 insertions, 7 deletions
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 | }, |