mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Conceptually, ring_buf_item_put() and ring_buf_item_get() are specialized versions of ring_buf_put() and ring_buf_get(). Make it so to rationalize the code to open the way for more optimizations. This means we need specialized wrappers on top of ring_buf_init() accordingly, given that the core machinery is now common and byte based. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>