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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.npcx | ||
Kconfig.xec | ||
ps2_handlers.c | ||
ps2_mchp_xec.c | ||
ps2_npcx_channel.c | ||
ps2_npcx_controller.c | ||
ps2_npcx_controller.h |