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: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.esp32
Kconfig.imx
Kconfig.litex kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.mcux drivers: pwm: pwm_mcux: Convert driver to new DT_INST macros 2020-04-20 11:08:46 -05:00
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 drivers: pwm: nrfx: Convert to use DTS NODELABEL for instance detection 2020-05-05 08:40:19 -05:00
Kconfig.pca9685
Kconfig.rv32m1_tpm drivers: pwm: add driver for the RV32M1 Timer/PWM module 2020-01-13 09:12:34 -06:00
Kconfig.sam
Kconfig.sam0 drivers: pwm: add a SAM0 TCC based PWM driver 2020-07-01 08:10:59 -05:00
Kconfig.sifive kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
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