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 | ||
| intc_arcv2_irq_unit.c | ||
| intc_cavs.c | ||
| intc_cavs.h | ||
| intc_dw_ace_v1x.c | ||
| intc_dw.c | ||
| intc_dw.h | ||
| intc_esp32.c | ||
| intc_esp32c3.c | ||
| intc_exti_stm32.c | ||
| intc_gd32_exti.c | ||
| intc_gic_common_priv.h | ||
| intc_gic.c | ||
| intc_gicv3_its.c | ||
| intc_gicv3_priv.h | ||
| intc_gicv3.c | ||
| intc_intel_vtd.c | ||
| intc_intel_vtd.h | ||
| intc_ioapic_priv.h | ||
| intc_ioapic.c | ||
| intc_irqmp.c | ||
| intc_ite_it8xxx2.c | ||
| intc_ite_it8xxx2.h | ||
| intc_loapic_spurious.S | ||
| intc_loapic.c | ||
| intc_mchp_ecia_xec.c | ||
| intc_miwu.c | ||
| intc_nuclei_eclic.c | ||
| intc_plic.c | ||
| intc_rv32m1_intmux.c | ||
| intc_sam0_eic_priv.h | ||
| intc_sam0_eic.c | ||
| intc_shared_irq.c | ||
| intc_swerv_pic.c | ||
| intc_system_apic.c | ||
| intc_vexriscv_litex.c | ||
| Kconfig | ||
| Kconfig.cavs | ||
| Kconfig.clic | ||
| Kconfig.dw | ||
| Kconfig.esp32 | ||
| Kconfig.esp32c3 | ||
| Kconfig.gd32_exti | ||
| Kconfig.gic | ||
| Kconfig.intel_vtd | ||
| Kconfig.it8xxx2 | ||
| Kconfig.loapic | ||
| Kconfig.multilevel | ||
| Kconfig.multilevel.aggregator_template | ||
| Kconfig.npcx | ||
| Kconfig.plic | ||
| Kconfig.rv32m1 | ||
| Kconfig.sam0 | ||
| Kconfig.shared_irq | ||
| Kconfig.stm32 | ||
| Kconfig.xec | ||
| wuc_ite_it8xxx2.c | ||