[PATCH 3/6] gpio: wm831x: don't print out global GPIO numbers in debugfs callbacks

Charles Keepax ckeepax at opensource.cirrus.com
Tue Aug 26 03:11:57 PDT 2025


On Tue, Aug 26, 2025 at 11:54:37AM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
> 
> 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.
> 
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
> ---

Reviewed-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles



More information about the linux-arm-kernel mailing list