Skip to content
Commit dabaaa1e authored by Armando Visconti's avatar Armando Visconti Committed by Maureen Helm
Browse files

drivers/sensor: stmemsc: make use of spi_dt_spec and i2c_dt_spec



Make use of the new DT facilities that introduced two new
bus structures, spi_dt_spec and i2c_dt_spec, as well as the
macros, SPI_DT_SPEC_INST_GET and I2C_DT_SPEC_INST_GET, to
retrieve info from DT.

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent 919b3f91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment