Commit ea18faf9 authored by Wolfram Sang's avatar Wolfram Sang

ARM: mach-prima2: 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 ceb8ef2e
...@@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = { ...@@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = {
.probe = sirfsoc_memc_probe, .probe = sirfsoc_memc_probe,
.driver = { .driver = {
.name = "sirfsoc-memc", .name = "sirfsoc-memc",
.owner = THIS_MODULE,
.of_match_table = memc_ids, .of_match_table = memc_ids,
}, },
}; };
......
...@@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = { ...@@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = {
.probe = sirfsoc_rstc_probe, .probe = sirfsoc_rstc_probe,
.driver = { .driver = {
.name = "sirfsoc_rstc", .name = "sirfsoc_rstc",
.owner = THIS_MODULE,
.of_match_table = rstc_ids, .of_match_table = rstc_ids,
}, },
}; };
......
...@@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = { ...@@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = {
.probe = sirfsoc_rtciobrg_probe, .probe = sirfsoc_rtciobrg_probe,
.driver = { .driver = {
.name = "sirfsoc-rtciobrg", .name = "sirfsoc-rtciobrg",
.owner = THIS_MODULE,
.of_match_table = rtciobrg_ids, .of_match_table = rtciobrg_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