]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpiolib: don't use GPIO global numbers in debugfs output
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Jul 2025 14:13:13 +0000 (16:13 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sun, 13 Jul 2025 08:43:55 +0000 (10:43 +0200)
commit1bec20dfa3d81be716e7ff5a6343bdec1d29b828
treeace7189905d159dc0c5d0579653d70616d05e7d5
parent328d48cc0a644bc54c2ab27ee584f3510ae8c6ec
gpiolib: don't use GPIO global numbers in debugfs output

One of the users of global GPIO numbers in the kernel are the debugfs
callbacks in GPIO drivers. Before converting any custom .dbg_show()
callbacks in individual modules, let's first make GPIO core stop using
GPIO base in debugfs output. Use hardware offsets instead.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250707141313.73169-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib.c