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>
This commit is contained in:
parent
98334dc292
commit
89e5e28e40
|
@ -266,7 +266,7 @@ static struct platform_driver pm8916_wdt_driver = {
|
|||
.probe = pm8916_wdt_probe,
|
||||
.driver = {
|
||||
.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,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue