zephyr/boards/arm/mimxrt1020_evk
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
..
doc boards: arm: Fix broken links in nxp board docs 2020-03-10 12:21:36 +02:00
board.cmake boards: arm: Remove OPENSDA_FW cmake variables from nxp boards 2020-07-09 07:58:50 -05:00
CMakeLists.txt board: arm: Add board support for mimxrt1020_evk 2019-01-09 11:39:31 -06:00
Kconfig.board kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.defconfig boards: Remove Kconfig I2C_[0-9] usage 2020-05-06 10:55:38 -05:00
mimxrt1020_evk.dts dts: remove incorrect use of mmio-sram compatible 2020-07-28 07:31:01 -05:00
mimxrt1020_evk.yaml boards: Remove "supported: -hwinfo" from all boards 2020-02-27 21:14:54 +01:00
mimxrt1020_evk_defconfig kconfig: Remove assignments to CONFIG_<arch> syms and hide them 2020-02-08 00:50:08 -06:00
pinmux.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00