a202341958
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> |
||
---|---|---|
.. | ||
api | ||
api-usage.rst | ||
bindings.rst | ||
design.rst | ||
dt-vs-kconfig.rst | ||
howtos.rst | ||
index.rst | ||
intro.rst | ||
macros.bnf | ||
main-example.dts | ||
troubleshooting.rst | ||
zephyr_dt_build_flow.png | ||
zephyr_dt_build_flow.svg | ||
zephyr_dt_i2c_example.png | ||
zephyr_dt_i2c_example.svg | ||
zephyr_dt_i2c_high_level.png | ||
zephyr_dt_i2c_high_level.svg | ||
zephyr_dt_inputs_outputs.svg |