zephyr/drivers/dma
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: dma: Add pl330 dma driver 2020-07-24 11:54:31 +02:00
Kconfig drivers: dma: Add pl330 dma driver 2020-07-24 11:54:31 +02:00
Kconfig.dma_pl330 drivers: dma: Add pl330 dma driver 2020-07-24 11:54:31 +02:00
Kconfig.dw drivers/dma: Rename CAVS driver to DesignWare 2020-01-28 18:18:18 -05:00
Kconfig.mcux_edma drivers: dma: mcux_dma: add support for the NXP KE1xF 2020-07-21 08:56:51 -05:00
Kconfig.nios2_msgdma
Kconfig.sam0
Kconfig.sam_xdmac
Kconfig.stm32 drivers: dma: Enable dma and dmamux on stm32 2020-05-05 11:51:25 -05:00
dma_dw.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma_dw.h drivers: dma: Align all drivers using user_data for callback 2020-07-30 09:48:00 +02:00
dma_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dma_mcux_edma.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma_mcux_edma.h dma: add EDMA MCUX support for RT and k6s 2020-06-12 13:03:28 -05:00
dma_nios2_msgdma.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
dma_pl330.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma_pl330.h drivers: dma: Align all drivers using user_data for callback 2020-07-30 09:48:00 +02:00
dma_sam0.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma_sam_xdmac.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma_sam_xdmac.h drivers: dma: Align all drivers using dma_callback_t type 2020-07-30 09:48:00 +02:00
dma_stm32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma_stm32.h drivers: dma: Align all drivers using user_data for callback 2020-07-30 09:48:00 +02:00
dma_stm32_v1.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dma_stm32_v2.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dmamux_stm32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dmamux_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00