zephyr/drivers/sensor
Tomasz Bursztyka d00d86972a drivers: sensor: Fix device instance const qualifier loss
It is necessary to wrap the device pointer into data.
Which was done already on most of them when global trigger is enabled.

Fixes #27399

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-09-02 13:48:13 +02:00
..
adt7420 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
adxl345 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
adxl362 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
adxl372 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
ak8975 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
amg88xx drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
ams_iAQcore device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
apds9960 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bma280 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
bmc150_magn drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
bme280 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bme680 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bmg160 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
bmi160 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
bmm150 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bq274xx device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ccs811 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
dht device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
dps310 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ens210 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fxas21002 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
fxos8700 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
grove device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
hmc5883l drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
hp206c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
hts221 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
iis2dh drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
iis2dlpc drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
iis2mdc drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
iis3dhhc drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
isl29035 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
ism330dhcx drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis2dh drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis2ds12 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis2dw12 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis2mdl drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lis3mdl drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lps22hb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lps22hh drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lps25hb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lsm6ds0 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lsm6dsl drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lsm6dso drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lsm9ds0_gyro drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
lsm9ds0_mfd device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lsm303dlhc_magn device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
max17055 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
max30101 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
max44009 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mchp_tach_xec device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mcp9808 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
mpr device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mpu6050 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
ms5607 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ms5837 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
nrf5 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
nxp_kinetis_temp device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
opt3001 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pms7003 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
qdec_nrfx device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sht3xd drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
si7006 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
si7055 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
si7060 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sm351lt drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
stts751 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
sx9500 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
th02 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ti_hdc device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
tmp007 drivers: sensor: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
tmp112 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
tmp116 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
vl53l0x device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wsen_itds device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
CMakeLists.txt drivers: sensors: sm351lt: Add new driver 2020-08-24 16:48:47 -05:00
Kconfig drivers: sensors: sm351lt: Add new driver 2020-08-24 16:48:47 -05:00
sensor_handlers.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sensor_shell.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_battery.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00