Skip to content

Commit 89e5e28

Browse files
Ruan JinjieWim Van Sebroeck
authored andcommitted
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: Ruan Jinjie <ruanjinjie@huawei.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230811062707.2301583-1-ruanjinjie@huawei.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent 98334dc commit 89e5e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/pm8916_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static struct platform_driver pm8916_wdt_driver = {
266266
.probe = pm8916_wdt_probe,
267267
.driver = {
268268
.name = "pm8916-wdt",
269-
.of_match_table = of_match_ptr(pm8916_wdt_id_table),
269+
.of_match_table = pm8916_wdt_id_table,
270270
.pm = &pm8916_wdt_pm_ops,
271271
},
272272
};

0 commit comments

Comments
 (0)