Commit 89e5e28e authored by Ruan Jinjie's avatar Ruan Jinjie Committed by Wim Van Sebroeck

watchdog: pm8916_wdt: Remove redundant of_match_ptr()

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.
Signed-off-by: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230811062707.2301583-1-ruanjinjie@huawei.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 98334dc2
...@@ -266,7 +266,7 @@ static struct platform_driver pm8916_wdt_driver = { ...@@ -266,7 +266,7 @@ static struct platform_driver pm8916_wdt_driver = {
.probe = pm8916_wdt_probe, .probe = pm8916_wdt_probe,
.driver = { .driver = {
.name = "pm8916-wdt", .name = "pm8916-wdt",
.of_match_table = of_match_ptr(pm8916_wdt_id_table), .of_match_table = pm8916_wdt_id_table,
.pm = &pm8916_wdt_pm_ops, .pm = &pm8916_wdt_pm_ops,
}, },
}; };
......
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