zephyr/samples/sensor
Gerard Marull-Paretas a202341958 devices: constify device pointers initialized at compile time
Many device pointers are initialized at compile and never changed. This
means that the device pointer can be constified (immutable).

Automated using:

```
perl -i -pe 's/const struct device \*(?!const)(.*)= DEVICE/const struct
device *const $1= DEVICE/g' **/*.c
```

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-22 17:08:26 +02:00
..
accel_polling devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
adc_cmp_npcx devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
adt7420 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
amg88xx devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ams_iAQcore sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
apds9960 sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
bme280 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
bme680 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
bmg160 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
bmi270 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
bq274xx devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ccs811 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
dht devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
dps310 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ds18b20 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ens210 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
fdc2x1x devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
fxas21002 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
fxos8700 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
fxos8700-hid sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
grove_light devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
grove_temperature devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
hts221 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
i3g4250d devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
icm42605 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ina219 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
isl29035 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lis2dh devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lps22hb devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lps22hh devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lsm6dsl devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lsm6dso devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lsm303dlhc devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
magn_polling devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
max6675 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
max17262 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
max30101 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
max44009 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
mcp9808 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
mcux_acmp devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
mhz19b sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
mpr devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
mpu6050 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ms5837 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
sensor_shell sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
sgp40_sht4x devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
sht3xd devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
sm351lt devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
stm32_temp_sensor devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
stm32_vbat_sensor devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
sx9500 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
th02 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
thermometer samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
ti_hdc devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
tmp108 sensors: Remove unnecessary Kconfig setting of sensors 2022-07-25 15:18:56 +02:00
tmp112 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
tmp116 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
vcnl4040 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
vl53l0x devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
wsen_itds devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
sensor.rst