zephyr/drivers/sensor/bmi270
Maureen Helm a9b223b26b drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE
Refactors all sensor drivers to use SENSOR_DEVICE_DT_INST_DEFINE, which
is a sensor-specific variant of DEVICE_DT_INST_DEFINE that provides a
common place to instantiate additional data structures for the future
sensor subsystem and/or sensor driver stats.

This approach was inspired by I2C_DEVICE_DT_INST_DEFINE to streamline
adding I2C stats support across all I2C drivers.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-10-27 09:27:14 +00:00
..
CMakeLists.txt sensor: dts: Add SPI capability to bmi270 driver 2022-10-03 10:06:46 +02:00
Kconfig sensor: dts: Add SPI capability to bmi270 driver 2022-10-03 10:06:46 +02:00
bmi270.c drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
bmi270.h sensor: dts: Add SPI capability to bmi270 driver 2022-10-03 10:06:46 +02:00
bmi270_config_file.h
bmi270_i2c.c sensor: dts: Add SPI capability to bmi270 driver 2022-10-03 10:06:46 +02:00
bmi270_spi.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00