]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: mvebu: don't print out global GPIO numbers in debugfs callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 26 Aug 2025 09:54:39 +0000 (11:54 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 3 Sep 2025 07:38:13 +0000 (09:38 +0200)
commit2d71156cfea8391625ea146eff32b3d2ef059345
tree444de1c1a5b5328b0658d54926501dad13c322fb
parentaaa1279b8b5b46cc42b6175c2bcd83d8ac5fd2b3
gpio: mvebu: 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-5-7f27cd7f2256@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-mvebu.c