zephyr/subsys/shell
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
..
modules device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
CMakeLists.txt
Kconfig shell: logging: Allow users to change SHELL_LOG_BACKEND value 2020-07-28 19:25:24 +02:00
Kconfig.backends shell: kconfig: Clarify dependency of UART option from DTS 2020-08-11 19:30:05 +02:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: correct build-in commands definition 2020-07-31 11:54:34 +02:00
shell_dummy.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_fprintf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_help.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_help.h
shell_history.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_log_backend.c guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00
shell_ops.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_ops.h shell_ops: simplify flag_xxx_get functions 2020-08-18 10:44:35 -04:00
shell_rtt.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_telnet_protocol.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_telnet.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_uart.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_utils.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_utils.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_vt100.h
shell_wildcard.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_wildcard.h shell: Refactor command getters 2020-04-23 18:30:41 +02:00
shell.c guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00