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

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



Fixes the lis2dh 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 0461ff22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment