Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wolfram Sang and committed by
Wim Van Sebroeck
7a32757e 5fe65ce7

-2
-1
drivers/watchdog/cadence_wdt.c
··· 503 503 .shutdown = cdns_wdt_shutdown, 504 504 .driver = { 505 505 .name = "cdns-wdt", 506 - .owner = THIS_MODULE, 507 506 .of_match_table = cdns_wdt_of_match, 508 507 .pm = &cdns_wdt_pm_ops, 509 508 },
-1
drivers/watchdog/meson_wdt.c
··· 215 215 .remove = meson_wdt_remove, 216 216 .shutdown = meson_wdt_shutdown, 217 217 .driver = { 218 - .owner = THIS_MODULE, 219 218 .name = DRV_NAME, 220 219 .of_match_table = meson_wdt_dt_ids, 221 220 },