Skip to content
Commit ec71be5d authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Carles Cufí
Browse files

drivers,subsys: fix few missing k_work_delayable_from_work



Fix few instances of delayable work handlers using the k_work pointer
directly in a CONTAINER_OF pointing to a k_work_delayable.

This is harmless since the k_work is the first element in
k_work_delayable, but using k_work_delayable_from_work is the right way
of handling it.

Change a couple of explicit CONTAINER_OF doing the same work as the
macro in the process.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent c0c99227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment