zephyr/drivers/spi
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
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.gecko
Kconfig.litex
Kconfig.mcux_dspi
Kconfig.mcux_flexcomm
Kconfig.mcux_lpspi
Kconfig.nrfx
Kconfig.oc_simple
Kconfig.rv32m1_lpspi
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32
Kconfig.xec_qmspi
spi_cc13xx_cc26xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_context.h drivers: spi: CS configuration through devicetree 2020-07-01 16:40:03 -05:00
spi_dw.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_dw.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_dw_regs.h
spi_gecko.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_litespi.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_litespi.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_ll_stm32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_ll_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_mcux_dspi.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_mcux_flexcomm.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_mcux_lpspi.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_nrfx_spi.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_nrfx_spim.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_nrfx_spis.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_oc_simple.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
spi_oc_simple.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_rv32m1_lpspi.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_sam.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_sam0.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_sifive.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
spi_sifive.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_xec_qmspi.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00