commit | 24f345ee3e005294725c97eea55a993321c81bfb | [log] [tgz] |
---|---|---|
author | Armando Visconti <armando.visconti@st.com> | Wed May 12 14:07:59 2021 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed May 12 23:34:46 2021 -0500 |
tree | bd6e53d9be50c87241cf1dcffe11536983c95ab3 | |
parent | 09a85ff84b1bba34e7bb2031732c652b90212bff [diff] |
drivers/sensor: iis2mdc: use gpio_dt_spec oriented macros Use gpio_pin_configure_dt() and gpio_pin_interrupt_configure_dt() for drdy_gpio: they result in a more readable code. Moreover, this commit includes also the fix for PR #35156 (i.e. CID 235979, add check for gpio_pin_configure() return val). Signed-off-by: Armando Visconti <armando.visconti@st.com>