Re: [PATCH 1/3] gpiolib: provide gpio_device_to_device()

From: Peter Rosin
Date: Wed Oct 11 2023 - 10:57:22 EST


Hi!

2023-10-11 at 15:02, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> There are users in the kernel who need to retrieve the address of the
> struct device backing the GPIO device. Currently they needlessly poke in
> the internals of GPIOLIB. Add a dedicated getter function.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Reviewed-by: Peter Rosin <peda@xxxxxxxxxx>

Cheers,
Peter