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> |
||
|---|---|---|
| .. | ||
| lmp90100_evb | ||
| x_nucleo_53l0a1 | ||
| x_nucleo_iks01a1 | ||
| x_nucleo_iks01a2 | ||
| x_nucleo_iks01a3 | ||
| x_nucleo_iks02a1 | ||
| shields.rst | ||