diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-03-27 18:46:38 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2024-05-04 12:50:41 +0200 |
commit | 56e23c6d7ffbf0dfc6506552f1059b309a4d5dcd (patch) | |
tree | 105f0a4f5340e13a075efe8166398abf6efe28c6 | |
parent | 573601521277119f2e2ba5f28ae6e87fc594f4d4 (diff) |
watchdog: mtx-1: drop driver owner assignment
Core in platform_driver_register() already sets the .owner, so driver
does not need to.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r-- | drivers/watchdog/mtx-1_wdt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c index 152e41ecbb14..06756135033d 100644 --- a/drivers/watchdog/mtx-1_wdt.c +++ b/drivers/watchdog/mtx-1_wdt.c @@ -236,7 +236,6 @@ static struct platform_driver mtx1_wdt_driver = { .probe = mtx1_wdt_probe, .remove_new = mtx1_wdt_remove, .driver.name = "mtx1-wdt", - .driver.owner = THIS_MODULE, }; module_platform_driver(mtx1_wdt_driver); |