Re: [PATCH v3 09/10] gpio: aggregator: add possibility to attach data to the forwarder

From: Andy Shevchenko
Date: Thu Apr 17 2025 - 13:43:32 EST


On Wed, Apr 16, 2025 at 04:08:17PM +0200, Thomas Richard wrote:
> Add a data pointer to store private data in the forwarder.

...

> -int gpio_fwd_register(struct gpiochip_fwd *fwd)
> +int gpio_fwd_register(struct gpiochip_fwd *fwd, void *data)

Since it comes from outside there is no need to have a getter at all.
No? Currently I don't understand how this change is used.

--
With Best Regards,
Andy Shevchenko