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 | ||
| crypto_ataes132a_priv.h | ||
| crypto_ataes132a.c | ||
| crypto_intel_sha_priv.h | ||
| crypto_intel_sha_registers.h | ||
| crypto_intel_sha.c | ||
| crypto_mtls_shim.c | ||
| crypto_nrf_ecb.c | ||
| crypto_stm32_priv.h | ||
| crypto_stm32.c | ||
| crypto_tc_shim_priv.h | ||
| crypto_tc_shim.c | ||
| Kconfig | ||
| Kconfig.ataes132a | ||
| Kconfig.intel | ||
| Kconfig.nrf_ecb | ||
| Kconfig.stm32 | ||