Skip to content
Commit 1f34441c authored by Kumar Gala's avatar Kumar Gala Committed by Maureen Helm
Browse files

drivers: sensor: wsen_itds: Update driver to use gpio_dt_spec



Move driver to use gpio_dt_spec for GPIO interrupt handling.  Since
the driver can support multiple instances its possible that some
have irq's in dts and some don't.  So we add a check in
itds_trigger_set to make sure we have a GPIO device if we are
trying to set a trigger.

Signed-off-by: default avatarKumar Gala <galak@kernel.org>
parent ce41b3c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment