zephyr/subsys/net/lib/openthread/platform
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
..
alarm.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt logging: added new logging backend - Spinel protocol 2020-07-21 15:11:55 +02:00
diag.c net: openthread: make diag compile 2020-07-20 14:40:29 +03:00
entropy.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
flash.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
logging.c net: openthread: improved OT log interface 2020-06-17 17:08:12 +02:00
misc.c net: openthread: Add NCP start-up and required platform changes 2020-03-25 08:37:16 +02:00
openthread-core-zephyr-config.h net: openthread: Fix warning from the logger module 2020-07-30 10:08:46 +03:00
platform-zephyr.h logging: added new logging backend - Spinel protocol 2020-07-21 15:11:55 +02:00
platform.c net: openthread: Add NCP start-up and required platform changes 2020-03-25 08:37:16 +02:00
radio.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
settings.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
shell.c net: openthread: cli: Align config of OT and Zephyr shell max cmd size 2020-06-08 21:45:29 +03:00
spi.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uart.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00