Commit 56e23c6d authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Wim Van Sebroeck

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240327174638.519445-1-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 57360152
...@@ -236,7 +236,6 @@ static struct platform_driver mtx1_wdt_driver = { ...@@ -236,7 +236,6 @@ static struct platform_driver mtx1_wdt_driver = {
.probe = mtx1_wdt_probe, .probe = mtx1_wdt_probe,
.remove_new = mtx1_wdt_remove, .remove_new = mtx1_wdt_remove,
.driver.name = "mtx1-wdt", .driver.name = "mtx1-wdt",
.driver.owner = THIS_MODULE,
}; };
module_platform_driver(mtx1_wdt_driver); module_platform_driver(mtx1_wdt_driver);
......
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