Commit 7a32757e authored by Wolfram Sang's avatar Wolfram Sang Committed by Wim Van Sebroeck

watchdog: drop owner assignment from platform_drivers

This 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>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 5fe65ce7
...@@ -503,7 +503,6 @@ static struct platform_driver cdns_wdt_driver = { ...@@ -503,7 +503,6 @@ static struct platform_driver cdns_wdt_driver = {
.shutdown = cdns_wdt_shutdown, .shutdown = cdns_wdt_shutdown,
.driver = { .driver = {
.name = "cdns-wdt", .name = "cdns-wdt",
.owner = THIS_MODULE,
.of_match_table = cdns_wdt_of_match, .of_match_table = cdns_wdt_of_match,
.pm = &cdns_wdt_pm_ops, .pm = &cdns_wdt_pm_ops,
}, },
......
...@@ -215,7 +215,6 @@ static struct platform_driver meson_wdt_driver = { ...@@ -215,7 +215,6 @@ static struct platform_driver meson_wdt_driver = {
.remove = meson_wdt_remove, .remove = meson_wdt_remove,
.shutdown = meson_wdt_shutdown, .shutdown = meson_wdt_shutdown,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRV_NAME, .name = DRV_NAME,
.of_match_table = meson_wdt_dt_ids, .of_match_table = meson_wdt_dt_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