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>
This commit is contained in:
parent
17149e4c86
commit
bb0d20e794
@ -1206,7 +1206,6 @@ static struct platform_driver au1xmmc_driver = {
|
||||
.resume = au1xmmc_resume,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1466,7 +1466,6 @@ static const struct dev_pm_ops davinci_mmcsd_pm = {
|
||||
static struct platform_driver davinci_mmcsd_driver = {
|
||||
.driver = {
|
||||
.name = "davinci_mmc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = davinci_mmcsd_pm_ops,
|
||||
.of_match_table = davinci_mmc_dt_ids,
|
||||
},
|
||||
|
@ -449,7 +449,6 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = {
|
||||
static struct platform_driver sdhci_acpi_driver = {
|
||||
.driver = {
|
||||
.name = "sdhci-acpi",
|
||||
.owner = THIS_MODULE,
|
||||
.acpi_match_table = sdhci_acpi_ids,
|
||||
.pm = &sdhci_acpi_pm_ops,
|
||||
},
|
||||
|
@ -143,7 +143,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
|
||||
static struct platform_driver tmio_mmc_driver = {
|
||||
.driver = {
|
||||
.name = "tmio-mmc",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &tmio_mmc_dev_pm_ops,
|
||||
},
|
||||
.probe = tmio_mmc_probe,
|
||||
|
@ -1834,7 +1834,6 @@ static struct platform_driver usdhi6_driver = {
|
||||
.remove = usdhi6_remove,
|
||||
.driver = {
|
||||
.name = "usdhi6rol0",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = usdhi6_of_match,
|
||||
},
|
||||
};
|
||||
|
@ -1914,7 +1914,6 @@ static struct platform_driver wbsd_driver = {
|
||||
.resume = wbsd_platform_resume,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -991,7 +991,6 @@ static struct platform_driver wmt_mci_driver = {
|
||||
.remove = wmt_mci_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = wmt_mci_pm_ops,
|
||||
.of_match_table = wmt_mci_dt_ids,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user