zephyr/drivers/pwm
Tomasz Bursztyka 98d9b01322 device: Apply driver_api/data attributes rename everywhere
Via coccinelle:

@r_device_driver_api_and_data_1@
struct device *D;
@@
(
D->
-	driver_api
+	api
|
D->
-	driver_data
+	data
)

@r_device_driver_api_and_data_2@
expression E;
@@
(
net_if_get_device(E)->
-	driver_api
+	api
|
net_if_get_device(E)->
-	driver_data
+	data
)

And grep/sed rules for macros:

git grep -rlz 'dev)->driver_data' |
	xargs -0 sed -i 's/dev)->driver_data/dev)->data/g'

git grep -rlz 'dev->driver_data' |
	xargs -0 sed -i 's/dev->driver_data/dev->data/g'

git grep -rlz 'device->driver_data' |
	xargs -0 sed -i 's/device->driver_data/device->data/g'

Fixes #27397

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-08-11 19:30:53 +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: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.imx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
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: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_tpm drivers: pwm: add driver for NXP Kinetis TPM module 2020-05-06 11:33:37 -05:00
Kconfig.nrf5_sw kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrfx drivers: pwm: nrfx: Convert to use DTS NODELABEL for instance detection 2020-05-05 08:40:19 -05:00
Kconfig.pca9685 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.rv32m1_tpm drivers: pwm: add driver for the RV32M1 Timer/PWM module 2020-01-13 09:12:34 -06:00
Kconfig.sam kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
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 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
pwm_dw.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pwm_imx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_led_esp32.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_litex.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_mchp_xec.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_mcux_ftm.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_mcux_tpm.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_mcux.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_nrf5_sw.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_nrfx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_pca9685.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_pca9685.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pwm_rv32m1_tpm.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm_sam0_tcc.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_sam.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_shell.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pwm_sifive.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
pwm_stm32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00