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

Andy Shevchenko
2025-04-17T17:43:22Z

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