提交 ea18faf9 编写于 作者: W 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: NWolfram Sang <wsa@the-dreams.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册