Skip to content

Commit

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

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Wolfram Sang authored and Wim Van Sebroeck committed Jan 21, 2015
1 parent 5fe65ce commit 7a32757
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/watchdog/cadence_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ static struct platform_driver cdns_wdt_driver = {
.shutdown = cdns_wdt_shutdown,
.driver = {
.name = "cdns-wdt",
.owner = THIS_MODULE,
.of_match_table = cdns_wdt_of_match,
.pm = &cdns_wdt_pm_ops,
},
Expand Down
1 change: 0 additions & 1 deletion drivers/watchdog/meson_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ static struct platform_driver meson_wdt_driver = {
.remove = meson_wdt_remove,
.shutdown = meson_wdt_shutdown,
.driver = {
.owner = THIS_MODULE,
.name = DRV_NAME,
.of_match_table = meson_wdt_dt_ids,
},
Expand Down

0 comments on commit 7a32757

Please sign in to comment.