zephyr/drivers/gpio
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: gpio: add driver for NXP LPC11U6X MCUs 2020-07-29 20:12:24 +02:00
Kconfig drivers: gpio: add driver for NXP LPC11U6X MCUs 2020-07-29 20:12:24 +02:00
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx drivers: cc32xx: use DT_INST_FOREACH to reduce code duplication 2020-04-26 06:05:10 -05:00
Kconfig.cmsdk_ahb
Kconfig.dw
Kconfig.esp32
Kconfig.gecko
Kconfig.ht16k33
Kconfig.imx
Kconfig.intel
Kconfig.litex
Kconfig.lmp90xxx
Kconfig.lpc11u6x drivers: gpio: add driver for NXP LPC11U6X MCUs 2020-07-29 20:12:24 +02:00
Kconfig.mcp23s17
Kconfig.mcux gpio: mcux: Convert convert to DT_INST defines 2020-04-23 17:07:41 -05:00
Kconfig.mcux_igpio drivers: gpio: mcux_igpio: Convert driver to new DT_INST macros 2020-04-20 11:08:46 -05:00
Kconfig.mcux_lpc drivers: gpio: mcux_lpc: Remove unused Kconfig symbols 2020-04-17 10:16:40 -05:00
Kconfig.mmio32
Kconfig.nrfx
Kconfig.pca95xx
Kconfig.rv32m1
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32
Kconfig.sx1509b gpio: gpio_sx1509b: add support for interrupt functionality 2020-04-20 18:51:59 +02:00
Kconfig.xec drivers: gpio: mchp_xec: Convert to using new device tree macros 2020-04-28 07:43:31 -05:00
gpio_cc13xx_cc26xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_cc32xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_cmsdk_ahb.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_cmsdk_ahb.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_dw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw_registers.h
gpio_esp32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_gecko.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_handlers.c gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_ht16k33.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_imx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_intel_apl.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_litex.c device: Apply config_info rename everywhere 2020-08-11 19:30:53 +02:00
gpio_lmp90xxx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_lpc11u6x.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_mchp_xec.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_mcp23s17.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_mcp23s17.h gpio: mcp23s17: Add chip select flags 2020-07-01 16:40:03 -05:00
gpio_mcux.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_mcux_igpio.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_mcux_lpc.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_mmio32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_nrfx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_pca95xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_rv32m1.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_sam.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_sam0.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_shell.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sifive.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_stellaris.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_stm32.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_stm32.h gpio: remove deprecated API functions/macros 2020-06-16 19:13:05 +02:00
gpio_sx1509b.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio_utils.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00