Skip to content
Commit 1157df85 authored by Maureen Helm's avatar Maureen Helm Committed by Carles Cufí
Browse files

drivers: sensor: lsm6dsl: Store sensor trigger as a pointer



Fixes the lsm6dsl sensor driver to store the user-supplied sensor
trigger as a pointer rather than a copy. This enables the trigger
handler to use CONTAINER_OF to retrieve a context pointer when the
trigger is embedded in a larger struct.

Signed-off-by: default avatarMaureen Helm <maureen.helm@intel.com>
parent 5354bffc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment