Commit bb0d20e7 authored by Wolfram Sang's avatar Wolfram Sang

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 17149e4c
...@@ -1206,7 +1206,6 @@ static struct platform_driver au1xmmc_driver = { ...@@ -1206,7 +1206,6 @@ static struct platform_driver au1xmmc_driver = {
.resume = au1xmmc_resume, .resume = au1xmmc_resume,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -1466,7 +1466,6 @@ static const struct dev_pm_ops davinci_mmcsd_pm = { ...@@ -1466,7 +1466,6 @@ static const struct dev_pm_ops davinci_mmcsd_pm = {
static struct platform_driver davinci_mmcsd_driver = { static struct platform_driver davinci_mmcsd_driver = {
.driver = { .driver = {
.name = "davinci_mmc", .name = "davinci_mmc",
.owner = THIS_MODULE,
.pm = davinci_mmcsd_pm_ops, .pm = davinci_mmcsd_pm_ops,
.of_match_table = davinci_mmc_dt_ids, .of_match_table = davinci_mmc_dt_ids,
}, },
......
...@@ -449,7 +449,6 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = { ...@@ -449,7 +449,6 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = {
static struct platform_driver sdhci_acpi_driver = { static struct platform_driver sdhci_acpi_driver = {
.driver = { .driver = {
.name = "sdhci-acpi", .name = "sdhci-acpi",
.owner = THIS_MODULE,
.acpi_match_table = sdhci_acpi_ids, .acpi_match_table = sdhci_acpi_ids,
.pm = &sdhci_acpi_pm_ops, .pm = &sdhci_acpi_pm_ops,
}, },
......
...@@ -143,7 +143,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { ...@@ -143,7 +143,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
static struct platform_driver tmio_mmc_driver = { static struct platform_driver tmio_mmc_driver = {
.driver = { .driver = {
.name = "tmio-mmc", .name = "tmio-mmc",
.owner = THIS_MODULE,
.pm = &tmio_mmc_dev_pm_ops, .pm = &tmio_mmc_dev_pm_ops,
}, },
.probe = tmio_mmc_probe, .probe = tmio_mmc_probe,
......
...@@ -1834,7 +1834,6 @@ static struct platform_driver usdhi6_driver = { ...@@ -1834,7 +1834,6 @@ static struct platform_driver usdhi6_driver = {
.remove = usdhi6_remove, .remove = usdhi6_remove,
.driver = { .driver = {
.name = "usdhi6rol0", .name = "usdhi6rol0",
.owner = THIS_MODULE,
.of_match_table = usdhi6_of_match, .of_match_table = usdhi6_of_match,
}, },
}; };
......
...@@ -1914,7 +1914,6 @@ static struct platform_driver wbsd_driver = { ...@@ -1914,7 +1914,6 @@ static struct platform_driver wbsd_driver = {
.resume = wbsd_platform_resume, .resume = wbsd_platform_resume,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -991,7 +991,6 @@ static struct platform_driver wmt_mci_driver = { ...@@ -991,7 +991,6 @@ static struct platform_driver wmt_mci_driver = {
.remove = wmt_mci_remove, .remove = wmt_mci_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.pm = wmt_mci_pm_ops, .pm = wmt_mci_pm_ops,
.of_match_table = wmt_mci_dt_ids, .of_match_table = wmt_mci_dt_ids,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment