watchdog: starfive: Fix the warning of starfive_wdt_match
authorXingyu Wu <xingyu.wu@starfivetech.com>
Thu, 27 Apr 2023 07:44:00 +0000 (15:44 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 29 Apr 2023 06:08:41 +0000 (08:08 +0200)
commitb23c1f807cb20a9a4c42b63c3d80f63b045a43ef
tree7822921c344355158b7866c22ebadfc3ce9a4400
parent90211b58828924577b589e59814f53aec4557fb9
watchdog: starfive: Fix the warning of starfive_wdt_match

Drop the function of of_match_ptr() to fix the warning of unused variable
'starfive_wdt_match'.

Fixes: db728ea9c7be ("drivers: watchdog: Add StarFive Watchdog driver")
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230427074400.55380-1-xingyu.wu@starfivetech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/starfive-wdt.c