gpio: blzp1600: remove incorrect pf_match_ptr()
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 May 2025 20:37:07 +0000 (22:37 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 5 May 2025 13:02:58 +0000 (15:02 +0200)
commit3a1e07184d78f52c07f69b40bedbbebbc417e71b
tree4a8eeb9c41a619781c4df8caaa871a1d5c7f641d
parent127da457c4e01bd6e4b8a126aaf1be1a6c03fc0b
gpio: blzp1600: remove incorrect pf_match_ptr()

The blzp1600_gpio_of_match is defined unconditionally and can always be referenced
by the driver, so don't use of_match_ptr() and avoid this warning:

drivers/gpio/gpio-blzp1600.c:263:34: error: 'blzp1600_gpio_of_match' defined but not used [-Werror=unused-const-variable=]
  263 | static const struct of_device_id blzp1600_gpio_of_match[] = {

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250502203721.2117186-1-arnd@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-blzp1600.c