zephyr/samples/boards
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
..
96b_argonkey device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
arc_secure_services sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
bbc_microbit device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
google_kukui sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
intel_s1000_crb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mec15xxevb_assy6853 samples: fix reStructuredText target directives 2020-08-28 12:54:40 +02:00
nrf device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
olimex_stm32_e407 sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
reel_board/mesh_badge device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
sensortile_box device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ti/cc13x2_cc26x2/system_off device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
up_squared/gpio_counter device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
boards.rst