commit | 22471f1fe2af600a2bd43286ae4037e3a7e4100a | [log] [tgz] |
---|---|---|
author | Christoph Jans <jans.christoph@gmail.com> | Wed Oct 08 23:32:19 2025 +0200 |
committer | Johan Hedberg <johan.hedberg@gmail.com> | Thu Oct 09 22:53:51 2025 +0300 |
tree | 3721c467d16757a534bd4f3b9cae147085c57936 | |
parent | d3e645e5391959786753bc194103eab8dbeee2d0 [diff] |
drivers: sensor: tdk: redefine trigger as ptr to make use of CONTAINER_OF Allows CONTAINER_OF inside trigger handler to be used to obtain a valid ptr to the composite struct consisting of a struct sensor_trigger trig. Fixes zephyrproject-rtos/zephyr#97124 Signed-off-by: Christoph Jans <jans.christoph@gmail.com>