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