zephyr/drivers/adc
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: adc: add Microchip MCP320x driver 2020-03-27 16:17:06 +01:00
Kconfig shell: enable modules by default if shell is enabled 2020-06-24 21:37:12 -04:00
Kconfig.lmp90xxx
Kconfig.mcp320x drivers: adc: add Microchip MCP320x driver 2020-03-27 16:17:06 +01:00
Kconfig.mcux boards: frdm_kw41z: Override ADC vref choice properly 2020-02-14 22:12:21 +02:00
Kconfig.nrfx adc: Kconfig: Remove per instance ADC_{0..2} Kconfig symbols 2020-05-04 09:04:16 -05:00
Kconfig.sam0
Kconfig.sam_afec
Kconfig.stm32 drivers/adc: stm32: Don't enable ADC instance by default in driver 2020-02-05 13:56:26 -06:00
Kconfig.xec
adc_common.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adc_context.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adc_handlers.c
adc_lmp90xxx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_mchp_xec.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_mcp320x.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_mcux_adc12.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_mcux_adc16.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_nrfx_adc.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adc_nrfx_saadc.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adc_sam0.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_sam_afec.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
adc_shell.c adc: adc_shell: suppress -Wchar-subscripts with isdigit() 2020-07-09 11:28:54 +02:00
adc_stm32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00