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.gecko
Kconfig.imx_epit
Kconfig.maxim_ds3231
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
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
Kconfig.sam0
Kconfig.stm32_rtc drivers: counter: rtc valid for stm32l1 soc series 2020-08-10 12:17:09 +02:00
Kconfig.tmr_cmsdk_apb
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