Skip to content
Commit 26ea31fc authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Carles Cufí
Browse files

settings: use CONTAINER_OF() to access backend structure



Use CONTAINER_OF() macro to access outer backend-specific structure. This
removes the requirement to keep `struct settings_store` as the first item
in outer structure.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent 9f509f5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment