mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
While iterating on each node element it is much more common to try to access the container struct which up until now have been done manually using CONTAINER_OF macro, so this introduce CONTAINER variants that allow to iterate directly with container pointer rather than the list node. Change-Id: Ie1e0da948cb9517c3c5cd8e86b59b95d7d027bfa Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>