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

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



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