[PATCH 1/3] base: class: add convenience helpers for iteration
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 14 04:33:30 PDT 2025
On Mon, 14 Apr 2025 09:05:22 +0200, Ahmad Fatoum wrote:
> Using list_for_each_entry with a last argument that is a member of a
> member gets unwieldy, so let's add macros for use in macro definitions
> for:
>
> - iterating through all container of devices
> - getting the first device
>
> [...]
Applied, thanks!
[1/3] base: class: add convenience helpers for iteration
https://git.pengutronix.de/cgit/barebox/commit/?id=bb7c84e3d628 (link may not be stable)
[2/3] mux: port Linux multiplexer framework
https://git.pengutronix.de/cgit/barebox/commit/?id=a7835063ee28 (link may not be stable)
[3/3] drivers: port Linux gpio-mux driver
https://git.pengutronix.de/cgit/barebox/commit/?id=d4c9654545cb (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list