watchdog: pm8916_wdt: Remove redundant of_match_ptr()
authorRuan Jinjie <ruanjinjie@huawei.com>
Fri, 11 Aug 2023 06:27:07 +0000 (14:27 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 19 Aug 2023 15:36:18 +0000 (17:36 +0200)
commit89e5e28e40320c38c0aa67e42032799ba8571ce8
tree4d224543266ea25c267846114724a536ed6a0fac
parent98334dc292fddba043fef8f6ebc84b22d42baca9
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>
drivers/watchdog/pm8916_wdt.c