Commit 0f0d7e7b authored by Wolfram Sang's avatar Wolfram Sang

memory: 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 04626474
...@@ -82,7 +82,6 @@ static struct platform_driver atmel_ramc_driver = { ...@@ -82,7 +82,6 @@ static struct platform_driver atmel_ramc_driver = {
.probe = atmel_ramc_probe, .probe = atmel_ramc_probe,
.driver = { .driver = {
.name = "atmel-ramc", .name = "atmel-ramc",
.owner = THIS_MODULE,
.of_match_table = atmel_ramc_of_match, .of_match_table = atmel_ramc_of_match,
}, },
}; };
......
...@@ -237,7 +237,6 @@ static int ccf_remove(struct platform_device *pdev) ...@@ -237,7 +237,6 @@ static int ccf_remove(struct platform_device *pdev)
static struct platform_driver ccf_driver = { static struct platform_driver ccf_driver = {
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.owner = THIS_MODULE,
.of_match_table = ccf_matches, .of_match_table = ccf_matches,
}, },
.probe = ccf_probe, .probe = ccf_probe,
......
...@@ -346,7 +346,6 @@ static struct platform_driver mvebu_devbus_driver = { ...@@ -346,7 +346,6 @@ static struct platform_driver mvebu_devbus_driver = {
.probe = mvebu_devbus_probe, .probe = mvebu_devbus_probe,
.driver = { .driver = {
.name = "mvebu-devbus", .name = "mvebu-devbus",
.owner = THIS_MODULE,
.of_match_table = mvebu_devbus_of_match, .of_match_table = mvebu_devbus_of_match,
}, },
}; };
......
...@@ -243,7 +243,6 @@ static struct platform_driver tegra20_mc_driver = { ...@@ -243,7 +243,6 @@ static struct platform_driver tegra20_mc_driver = {
.probe = tegra20_mc_probe, .probe = tegra20_mc_probe,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = tegra20_mc_of_match, .of_match_table = tegra20_mc_of_match,
}, },
}; };
......
...@@ -365,7 +365,6 @@ static struct platform_driver tegra30_mc_driver = { ...@@ -365,7 +365,6 @@ static struct platform_driver tegra30_mc_driver = {
.probe = tegra30_mc_probe, .probe = tegra30_mc_probe,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = tegra30_mc_of_match, .of_match_table = tegra30_mc_of_match,
.pm = &tegra30_mc_pm, .pm = &tegra30_mc_pm,
}, },
......
...@@ -413,7 +413,6 @@ static struct platform_driver aemif_driver = { ...@@ -413,7 +413,6 @@ static struct platform_driver aemif_driver = {
.remove = aemif_remove, .remove = aemif_remove,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(aemif_of_match), .of_match_table = of_match_ptr(aemif_of_match),
}, },
}; };
......
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