zephyr/drivers/clock_control
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 drivers: clock_control: Rename nrf_power_clock to clock_control_nrf 2020-08-31 12:40:47 +02:00
Kconfig driver: clock: Add clock controller support in NPCX series. 2020-08-13 16:42:20 +02:00
Kconfig.beetle kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.esp32 drivers: esp32/clock_control: Add Clock Driver 2020-06-16 09:00:51 -05:00
Kconfig.lpc11u6x drivers: clock_control: lpc11u6x: Add support for clock controller 2020-07-29 20:12:24 +02:00
Kconfig.mcux_ccm kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_mcg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_pcc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_scg kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_sim kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.npcx driver: clock: Add clock controller support in NPCX series. 2020-08-13 16:42:20 +02:00
Kconfig.nrf drivers: clock_control: nrf: Make use of related nrfx drivers 2020-08-31 12:40:47 +02:00
Kconfig.rv32m1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 drivers: clock_control: stm32h7: Add HSE,HSI,CSI,PLL sysclk opt. 2020-07-27 13:24:27 +02:00
Kconfig.stm32f0_f3 drivers: clock_control: stm32f0/f3: fix PREDIV options 2020-07-05 07:56:21 -04:00
Kconfig.stm32f1 drivers/clock_control: Remove useless CLOCK_STM32_PLL_XTPRE config 2020-07-02 08:14:45 -05:00
Kconfig.stm32f2_f4_f7 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32g4 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32h7 drivers: clock_control: stm32h7 add HSI divisor support 2020-08-05 16:22:53 +02:00
Kconfig.stm32l0_l1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32l4_l5_wb drivers/clock_control: Add clock_control on STM32L5 series 2020-05-08 00:34:34 -05:00
beetle_clock_control.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_esp32.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_esp32.h drivers: esp32/clock_control: Add Clock Driver 2020-06-16 09:00:51 -05:00
clock_control_lpc11u6x.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_lpc11u6x.h drivers: clock_control: lpc11u6x: Add support for clock controller 2020-07-29 20:12:24 +02:00
clock_control_mcux_ccm.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_mcg.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_pcc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_scg.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_mcux_sim.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_npcx.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_nrf.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control_rv32m1_pcc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_stm32_ll_common.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_stm32_ll_common.h drivers: clock_control: stm32: Modify file naming pattern 2019-04-26 02:56:20 -07:00
clock_stm32_ll_h7.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_stm32_ll_mp1.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_stm32f0_f3.c drivers: clock_control: stm32f0/f3: streamline PREDIV handling 2020-07-05 07:56:21 -04:00
clock_stm32f1.c drivers/clock_control: Remove useless CLOCK_STM32_PLL_XTPRE config 2020-07-02 08:14:45 -05:00
clock_stm32f2_f4_f7.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32g0.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
clock_stm32g4.c driver: clock: stm32: boost voltage when clock exceeds 150MHz 2020-02-26 12:21:04 -06:00
clock_stm32l0_l1.c drivers: clock_control: stm32: Enable SYSCFG on STM32L0 2020-06-09 14:44:25 +02:00
clock_stm32l4_l5_wb.c drivers: STM32 dualcore concurrent register access protection with HSEM 2020-07-09 11:27:56 +02:00
nrf_clock_calibration.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
nrf_clock_calibration.h drivers: clock_control: nrf: Make use of related nrfx drivers 2020-08-31 12:40:47 +02:00