drivers/sensor: lis2dw12: use gpio_dt_spec oriented macros

Use gpio_dt_spec structure (and related APIs) in config for configuring
the gpio used for drdy and pulse interrupts.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
3 files changed