zephyr/drivers/sensor
Gerard Marull-Paretas 435213a753 drivers: remove redundant data/config casts
Some drivers explicitely casted data/config from void * to the
corresponding type. However, this is unnecessary and, in many drivers it
has been misused to drop const qualifier (refer to previous commits).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-01-19 18:16:02 +01:00
..
adt7420
adxl345
adxl362
adxl372
ak8975
amg88xx
ams_iAQcore
apds9960 pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
bma280
bmc150_magn
bme280 drivers: sensor: drop get_dev_data/get_dev_config usage 2022-01-19 18:16:02 +01:00
bme680 drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
bmg160
bmi160 drivers: sensor: drop get_dev_data/get_dev_config usage 2022-01-19 18:16:02 +01:00
bmi270 drivers: fix double promotion warnings 2021-11-24 17:14:25 -05:00
bmm150
bmp388 drivers: sensor: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
bq274xx pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
ccs811
dht
dps310
ens210
fdc2x1x pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
fxas21002
fxos8700 drivers: sensor: fxos8700: Keep current power mode when setting ODR 2021-10-28 10:10:52 -05:00
grove
hmc5883l
hp206c
hts221 drivers/sensors: Enable 3-wire SPI access to HTS221 sensor driver 2021-11-19 11:50:38 +01:00
i3g4250d drivers: sensor: add I3G4250D Gyro driver 2021-09-28 19:44:26 -04:00
icm42605 drivers: sensor: icm42605: convert to spi_dt_spec 2021-12-09 10:20:41 -06:00
iis2dh drivers: Apply SPI API change to relevant places 2021-11-19 11:50:38 +01:00
iis2dlpc drivers/sensor: stmemsc: make use of spi_dt_spec and i2c_dt_spec 2021-10-22 09:06:07 -05:00
iis2iclx drivers/sensor: stmemsc: make use of spi_dt_spec and i2c_dt_spec 2021-10-22 09:06:07 -05:00
iis2mdc drivers: Apply SPI API change to relevant places 2021-11-19 11:50:38 +01:00
iis3dhhc drivers: Apply SPI API change to relevant places 2021-11-19 11:50:38 +01:00
ina23x drivers: sensor: ina23x: add support for INA237 2021-12-14 13:48:54 -06:00
ina219 pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
isl29035
ism330dhcx drivers: Apply SPI API change to relevant places 2021-11-19 11:50:38 +01:00
ite_tach_it8xxx2 ITE drivers/sensor: add tachometer driver for it8xxx2_evb 2021-11-29 08:25:19 -05:00
lis2dh drivers: sensor: lis2dh: Allow power-down mode 2021-11-29 18:19:18 -05:00
lis2ds12 drivers/sensor: lis2ds12: Move odr Kconfig property into dts 2021-10-22 09:06:07 -05:00
lis2dw12 drivers/sensor: stmemsc: make use of spi_dt_spec and i2c_dt_spec 2021-10-22 09:06:07 -05:00
lis2mdl pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
lis3mdl
lm75 drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
lm77 pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
lps22hb
lps22hh drivers/sensor: lps22hh: Move odr Kconfig property into dts 2021-12-14 09:11:15 -06:00
lps25hb
lsm6ds0 drivers: fix double promotion warnings 2021-11-24 17:14:25 -05:00
lsm6dsl drivers: fix double promotion warnings 2021-11-24 17:14:25 -05:00
lsm6dso drivers/sensor: lsm6dso: Add power mode properties to DTS 2021-12-18 07:58:50 -05:00
lsm9ds0_gyro drivers: fix double promotion warnings 2021-11-24 17:14:25 -05:00
lsm9ds0_mfd drivers: fix double promotion warnings 2021-11-24 17:14:25 -05:00
lsm303dlhc_magn drivers: sensor: lsm303dlhc_mag: Fix gain factor 2021-10-04 20:40:43 -04:00
max6675 drivers: sensor: max6675: convert to spi_dt_spec 2021-12-09 10:21:13 -06:00
max17055 drivers: avoid i2c_burst_write where possible 2021-12-22 12:14:42 +01:00
max17262 drivers: sensor: max17262: use instance based macros 2021-12-17 17:30:06 +01:00
max30101
max44009
mchp_tach_xec
mcp9808
mcux_acmp
mhz19b drivers: sensor: Add MH-Z19B CO2 sensor driver 2021-12-20 18:47:47 +01:00
mpr
mpu6050
mpu9250 sensors: Implement MPU9250 driver 2022-01-14 12:33:04 +01:00
ms5607 drivers: Apply SPI API change to relevant places 2021-11-19 11:50:38 +01:00
ms5837
nrf5 drivers: nrf5: kconfig: add missing dependency for TEMP_NRF5 2021-12-01 16:10:59 +01:00
nuvoton_tach_npcx
nxp_kinetis_temp
opt3001
pms7003
qdec_nrfx pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
qdec_sam drivers: sensor: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
sbs_gauge drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
sgp40 pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
sht3xd drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
sht4x
shtcx drivers: sensor: shtcx: fix 2021-11-29 18:18:42 -05:00
si7006
si7055
si7060
si7210 pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
sm351lt
stm32_temp sensors: STM32: Add support for L5 die temp sensor 2022-01-13 10:34:10 +01:00
stmemsc drivers/sensor: stmemsc: make use of i2c/spi dt APIs 2021-12-13 10:21:43 -06:00
stts751
sx9500
th02
ti_hdc
ti_hdc20xx
tmp007
tmp108 sample: sensor: tmp108: Add ti tmp108 sample 2021-12-17 21:15:25 +01:00
tmp112 drivers: avoid i2c_burst_write where possible 2021-12-22 12:14:42 +01:00
tmp116 sensor: eeprom: Add TMP116 EEPROM access 2021-12-08 07:51:46 -06:00
vcnl4040 pm: s/PM_DEVICE_(DT_(INST))_REF/PM_DEVICE_(DT_(INST))_GET 2022-01-18 12:14:06 -05:00
vl53l0x drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
wsen_itds drivers: use DT_INST_ENUM_IDX(_OR) macros 2021-11-18 19:12:07 -05:00
CMakeLists.txt sensors: Implement MPU9250 driver 2022-01-14 12:33:04 +01:00
Kconfig sensors: Implement MPU9250 driver 2022-01-14 12:33:04 +01:00
sensor_handlers.c
sensor_shell.c drivers: sensor_shell: add missing power sensor channel 2021-10-19 07:15:55 -04:00
shell_battery.c