commit | ec71be5d9d9289ee3eceb710bede2e78e63c5b99 | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Sun Aug 27 20:05:49 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Aug 28 10:12:21 2023 +0200 |
tree | 02d13d7fc72607fb2b3a98a26b98cd50efcdb6a1 | |
parent | c0c99227c51c40681e0073d2c3233c5a4cd5c994 [diff] |
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: Fabio Baltieri <fabiobaltieri@google.com>