zephyr/drivers/pwm
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: pwm: add a SAM0 TCC based PWM driver 2020-07-01 08:10:59 -05:00
Kconfig drivers: pwm: add a SAM0 TCC based PWM driver 2020-07-01 08:10:59 -05:00
Kconfig.dw
Kconfig.esp32
Kconfig.imx
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_ftm
Kconfig.mcux_tpm drivers: pwm: add driver for NXP Kinetis TPM module 2020-05-06 11:33:37 -05:00
Kconfig.nrf5_sw
Kconfig.nrfx
Kconfig.pca9685
Kconfig.rv32m1_tpm
Kconfig.sam
Kconfig.sam0 drivers: pwm: add a SAM0 TCC based PWM driver 2020-07-01 08:10:59 -05:00
Kconfig.sifive
Kconfig.stm32 drivers: pwm: stm32: refactor driver using LL API 2020-06-19 15:18:50 +02:00
Kconfig.xec
pwm_dw.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_handlers.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_imx.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_led_esp32.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_litex.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_mchp_xec.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_mcux_ftm.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_mcux_tpm.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_mcux.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_nrf5_sw.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_nrfx.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_pca9685.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_pca9685.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_rv32m1_tpm.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_sam.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_sam0_tcc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_shell.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_sifive.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pwm_stm32.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00