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 | ||
| ipm_cavs_host.c | ||
| ipm_cavs_idc.c | ||
| ipm_cavs_idc.h | ||
| ipm_esp32.c | ||
| ipm_handlers.c | ||
| ipm_imx.c | ||
| ipm_mcux.c | ||
| ipm_mhu.c | ||
| ipm_mhu.h | ||
| ipm_nrfx_ipc.c | ||
| ipm_nrfx_ipc.h | ||
| ipm_stm32_hsem.c | ||
| ipm_stm32_ipcc.c | ||
| Kconfig | ||
| Kconfig.nrfx | ||
| Kconfig.nrfx_ipc_channel | ||