zephyr/subsys/logging
Tomasz Bursztyka e18fcbba5a device: Const-ify all device driver instance pointers
Now that device_api attribute is unmodified at runtime, as well as all
the other attributes, it is possible to switch all device driver
instance to be constant.

A coccinelle rule is used for this:

@r_const_dev_1
  disable optional_qualifier
@
@@
-struct device *
+const struct device *

@r_const_dev_2
 disable optional_qualifier
@
@@
-struct device * const
+const struct device *

Fixes #27399

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-09-02 13:48:13 +02:00
..
CMakeLists.txt logging: added new logging backend - Spinel protocol 2020-07-21 15:11:55 +02:00
Kconfig logging: net: Make autostart of backend configurable 2020-09-01 13:34:13 +02:00
Kconfig.template.log_config
log_backend_native_posix.c logging: avoid identifier collisions 2020-07-25 21:26:15 -04:00
log_backend_net.c logging: net: Make autostart of backend configurable 2020-09-01 13:34:13 +02:00
log_backend_rb.c logging: avoid identifier collisions 2020-07-25 21:26:15 -04:00
log_backend_rtt.c logging: avoid identifier collisions 2020-07-25 21:26:15 -04:00
log_backend_spinel.c logging: Fix holding coherence of log levels in Spinel backend. 2020-08-20 09:19:12 +02:00
log_backend_std.h
log_backend_swo.c logging: avoid identifier collisions 2020-07-25 21:26:15 -04:00
log_backend_uart.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
log_backend_xtensa_sim.c logging: avoid identifier collisions 2020-07-25 21:26:15 -04:00
log_cmds.c
log_core.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
log_list.c
log_list.h
log_minimal.c
log_msg.c
log_output_syst.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
log_output.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00