zephyr/drivers/counter
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: counter: Add native_posix counter hardware model and driver 2020-07-27 13:25:50 +02:00
Kconfig drivers: counter: Add native_posix counter hardware model and driver 2020-07-27 13:25:50 +02:00
Kconfig.cmos
Kconfig.dtmr_cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.gecko
Kconfig.imx_epit drivers: counter: imx_epit: Convert driver to new DT_INST macros 2020-04-04 09:34:00 -05:00
Kconfig.maxim_ds3231 drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.mcux_gpt drivers: mcux_gpt: convert to DT_INST defines 2020-03-11 07:59:38 -06:00
Kconfig.mcux_lptmr drivers: counter: add NXP Kinetis LPTMR driver 2020-03-27 11:17:58 -05:00
Kconfig.mcux_rtc
Kconfig.native_posix drivers: counter: Add native_posix counter hardware model and driver 2020-07-27 13:25:50 +02:00
Kconfig.nrfx Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
Kconfig.sam0 drivers: counter: sam0_tc32: rework devicetree support 2020-04-25 13:33:56 -05:00
Kconfig.stm32_rtc drivers: counter: rtc valid for stm32l1 soc series 2020-08-10 12:17:09 +02:00
Kconfig.tmr_cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.xec
counter_cmos.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
counter_gecko_rtcc.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
counter_imx_epit.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_ll_stm32_rtc.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_mchp_xec.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_mcux_gpt.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_mcux_lptmr.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_mcux_rtc.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_native_posix.c drivers: counter: Add native_posix counter hardware model and driver 2020-07-27 13:25:50 +02:00
counter_nrfx_rtc.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_nrfx_timer.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter_sam0_tc32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dualtimer_cmsdk_apb.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
maxim_ds3231.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
timer_cmsdk_apb.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timer_dtmr_cmsdk_apb.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
timer_tmr_cmsdk_apb.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00