]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: stmpe: don't print out global GPIO numbers in debugfs callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 26 Aug 2025 09:54:35 +0000 (11:54 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 3 Sep 2025 07:38:13 +0000 (09:38 +0200)
commit246b889c704e3209050eb0aa5a3733564aee1b38
tree7554b6029cb49feb5a4f4e6238d30625fa76706d
parenta6f03347debb7c2c6d04cd4be67ed766e19633ba
gpio: stmpe: don't print out global GPIO numbers in debugfs callbacks

In order to further limit the number of references to the GPIO base
number stored in struct gpio_chip, replace the global GPIO numbers in
the output of debugfs callbacks by hardware offsets.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250826-gpio-dbg-show-base-v1-1-7f27cd7f2256@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-stmpe.c