zephyr/samples/drivers
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
..
adc samples: drivers: adc running on the stm32U575 nucleo board 2022-08-22 10:23:53 +00:00
audio/dmic devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
can devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
clock_control_litex devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
counter devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
crypto devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
current_sensing
dac devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
display samples: Remove label property from devicetree overlays 2022-08-01 17:59:32 +02:00
eeprom devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
espi samples: drivers: espi: initialize devices at compile time 2022-08-19 11:51:26 +02:00
flash_shell samples: drivers: flash_shell: remove duplicate include 2022-07-11 17:56:55 +02:00
fpga/fpga_controller devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ht16k33 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
i2c_fujitsu_fram devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
i2s devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
ipm samples: tests: Rename duplicated testcases 2022-08-17 12:11:00 +02:00
jesd216 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
kscan devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
kscan_touch devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lcd_cyclonev_socdk devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
lcd_hd44780 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
led_apa102 samples: Remove label property from devicetree overlays 2022-08-01 17:59:32 +02:00
led_apa102c_bitbang samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
led_lp503x devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
led_lp3943 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
led_lp5562 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
led_lpd8806 devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
led_pca9633 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
led_pwm drivers: led: Remove unnecessary Kconfig settings 2022-08-11 17:46:43 +02:00
led_sx1509b_intensity samples: led_sx1509b_intensity: Convert to use DEVICE_DT_GET 2022-07-07 10:09:48 +02:00
led_ws2812 devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
lora devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
mbox samples: Add missing READMEs 2022-07-25 15:17:48 +02:00
misc devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
peci samples: drivers: peci: improve test 2022-08-19 11:51:26 +02:00
ps2 samples: drivers: ps2: fix test issues 2022-08-19 11:51:26 +02:00
soc_flash_nrf samples/soc_flash_nrf: Fix flash device reference 2022-07-30 08:26:21 -05:00
spi_bitbang devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
spi_flash samples: drivers flash add a test case for stm32h7 octospi 2022-07-27 18:46:25 +02:00
spi_flash_at45 devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
spi_fujitsu_fram samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
uart devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
w1/scanner devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
watchdog devices: constify device pointers initialized at compile time 2022-08-22 17:08:26 +02:00
drivers.rst