Skip to content

Commit

Permalink
memory: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent 0462647 commit 0f0d7e7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion drivers/memory/atmel-sdramc.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ static struct platform_driver atmel_ramc_driver = {
.probe = atmel_ramc_probe,
.driver = {
.name = "atmel-ramc",
.owner = THIS_MODULE,
.of_match_table = atmel_ramc_of_match,
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/memory/fsl-corenet-cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ static int ccf_remove(struct platform_device *pdev)
static struct platform_driver ccf_driver = {
.driver = {
.name = KBUILD_MODNAME,
.owner = THIS_MODULE,
.of_match_table = ccf_matches,
},
.probe = ccf_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/memory/mvebu-devbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ static struct platform_driver mvebu_devbus_driver = {
.probe = mvebu_devbus_probe,
.driver = {
.name = "mvebu-devbus",
.owner = THIS_MODULE,
.of_match_table = mvebu_devbus_of_match,
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/memory/tegra20-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ static struct platform_driver tegra20_mc_driver = {
.probe = tegra20_mc_probe,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = tegra20_mc_of_match,
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/memory/tegra30-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ static struct platform_driver tegra30_mc_driver = {
.probe = tegra30_mc_probe,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = tegra30_mc_of_match,
.pm = &tegra30_mc_pm,
},
Expand Down
1 change: 0 additions & 1 deletion drivers/memory/ti-aemif.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,6 @@ static struct platform_driver aemif_driver = {
.remove = aemif_remove,
.driver = {
.name = KBUILD_MODNAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(aemif_of_match),
},
};
Expand Down

0 comments on commit 0f0d7e7

Please sign in to comment.