diff options
| author | Thomas Richard <thomas.richard@bootlin.com> | 2025-08-11 15:25:46 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-08-11 15:39:31 +0200 |
| commit | c44ce91b8ada680074aa976e61fcef5633e6f086 (patch) | |
| tree | 28a5590cd3c9b53a1831c01e99f027e90eee6906 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 871c7cd54830c0bda15513238ea9d46fc1cae991 (diff) | |
gpio: aggregator: refactor the code to add GPIO desc in the forwarder
Create a dedicated function to add a GPIO desc in the forwarder. Instead of
saving a GPIO descs array pointer, now the GPIO descs are passed one by one
to the forwarder which registers them in its own array. So after the call
of gpiochip_fwd_create(), the passed array can be free.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20250811-aaeon-up-board-pinctrl-support-v9-3-29f0cbbdfb30@bootlin.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
