aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-11 14:27:07 +0800
committerWim Van Sebroeck <[email protected]>2023-08-19 17:36:18 +0200
commit89e5e28e40320c38c0aa67e42032799ba8571ce8 (patch)
tree4d224543266ea25c267846114724a536ed6a0fac
parent98334dc292fddba043fef8f6ebc84b22d42baca9 (diff)
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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r--drivers/watchdog/pm8916_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/pm8916_wdt.c b/drivers/watchdog/pm8916_wdt.c
index f4bfbffaf49c..f3fcbeb0852c 100644
--- a/drivers/watchdog/pm8916_wdt.c
+++ b/drivers/watchdog/pm8916_wdt.c
@@ -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,
},
};