It is frequent to find variable definitions like this: ```c static const struct device *dev = DEVICE_DT_GET(...) ``` That is, module level variables that are statically initialized with a device reference. Such value is, in most cases, never changed meaning the variable can also be declared as const (immutable). This patch constifies all such cases. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| alarm.c | ||
| CMakeLists.txt | ||
| crypto_psa.c | ||
| diag.c | ||
| entropy.c | ||
| logging.c | ||
| memory.c | ||
| misc.c | ||
| openthread-core-zephyr-config.h | ||
| platform-zephyr.h | ||
| platform.c | ||
| radio.c | ||
| settings.c | ||
| shell.c | ||
| spi.c | ||
| uart.c | ||