diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-12-21 22:14:43 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-01-21 14:52:34 +0100 |
commit | 7a32757eda68a53626f003018733d09f94138334 (patch) | |
tree | 824db2c78c3d8966821f54bd269df9cf8a74361e /drivers | |
parent | 5fe65ce7ccbb47b16e17a88bcdac73cffadb80fa (diff) | |
download | linux-7a32757eda68a53626f003018733d09f94138334.tar.bz2 |
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: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/watchdog/cadence_wdt.c | 1 | ||||
-rw-r--r-- | drivers/watchdog/meson_wdt.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/watchdog/cadence_wdt.c b/drivers/watchdog/cadence_wdt.c index 5927c0a98a74..bcfd2a22208f 100644 --- a/drivers/watchdog/cadence_wdt.c +++ b/drivers/watchdog/cadence_wdt.c @@ -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, }, diff --git a/drivers/watchdog/meson_wdt.c b/drivers/watchdog/meson_wdt.c index ef6a298e8c45..1f4155ee3404 100644 --- a/drivers/watchdog/meson_wdt.c +++ b/drivers/watchdog/meson_wdt.c @@ -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, }, |