watchdog: stm32: Drop unnecessary of_match_ptr()
authorRob Herring <robh@kernel.org>
Wed, 23 Aug 2023 15:10:59 +0000 (10:10 -0500)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Fri, 25 Aug 2023 14:19:12 +0000 (16:19 +0200)
commitd889540247f9d549332a3dd5ca1b88a662119186
tree5ee39bf9c7e3de914533f2cd12ab34dffdb728b5
parent266da53c35fce128ce47d8aa93e316e0a94f2f60
watchdog: stm32: Drop unnecessary of_match_ptr()

With COMPILE_TEST recently enabled, 0-day reports a warning:

drivers/watchdog/stm32_iwdg.c:215:34: warning: 'stm32_iwdg_of_match' defined but not used [-Wunused-const-variable=]

As STM32 platforms are always used with DT, drop the of_match_ptr().

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308211837.4VBSUAtZ-lkp@intel.com/
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230823151059.2356881-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/stm32_iwdg.c