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 | ||
usb_dc_dw.c | ||
usb_dc_kinetis.c | ||
usb_dc_mcux.c | ||
usb_dc_native_posix.c | ||
usb_dc_native_posix_adapt.c | ||
usb_dc_native_posix_adapt.h | ||
usb_dc_nrfx.c | ||
usb_dc_rpi_pico.c | ||
usb_dc_sam0.c | ||
usb_dc_sam_usbc.c | ||
usb_dc_sam_usbhs.c | ||
usb_dc_stm32.c | ||
usb_dw_registers.h |