mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20240327174638.519445-1-krzysztof.kozlowski@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
parent
5736015212
commit
56e23c6d7f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user