gpio: hisi: use the BGPIOF_UNREADABLE_REG_DIR flag
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 25 Aug 2025 09:48:44 +0000 (11:48 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 25 Aug 2025 10:05:37 +0000 (12:05 +0200)
commit13ba232ed8455a5decb187d509a0d326fd326b19
treed186c94a66e492ecb18e87908c0b9775c1780019
parent16397871b6e35fa46a2bec27b3558f93b050c6fc
gpio: hisi: use the BGPIOF_UNREADABLE_REG_DIR flag

There's no reason for this driver to touch the gpio-mmio internals, we
have a dedicated flag passed to bgpio_init() indicating to the module
that the DIR register is unreadable.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250825-gpio-mmio-gpio-conv-v1-3-356b4b1d5110@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-hisi.c