zephyr/drivers/flash
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: flash: Remove redundant code in STM32 drivers 2020-07-03 08:05:03 -04:00
Kconfig shell: enable modules by default if shell is enabled 2020-06-24 21:37:12 -04:00
Kconfig.at45 drivers: flash: Add driver for AT45 compatible SPI flash chips 2020-05-07 14:51:10 +02:00
Kconfig.gecko kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux drivers: soc_flash_mcux check before reading 2020-07-09 11:28:25 +02:00
Kconfig.nios2_qspi license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.nor drivers: spi_nor: improve documentation and validation on flash layout size 2019-11-09 15:26:06 +01:00
Kconfig.nordic_qspi_nor drivers: flash: nrf_qspi_nor: record dependency on multithreading 2020-07-07 16:24:38 -04:00
Kconfig.nrf drivers/flash/nrfx: Enable partial erase of flash 2020-04-06 22:12:33 -04:00
Kconfig.rv32m1 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam drivers: flash: Kconfig.sam: Enable support to SAMV71 2020-03-10 14:43:36 +02:00
Kconfig.sam0 kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.simulator kconfig: Remove redundant 'default n' and 'prompt' properties 2019-12-09 16:14:50 +01:00
Kconfig.stm32 drivers: flash: Add support for STM32L0X 2020-07-03 08:05:03 -04:00
Kconfig.w25qxxdv drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
flash_gecko.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_page_layout.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
flash_sam.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash_sam0.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash_shell.c flash: Enhance 'flash read' to read a block of data 2020-07-07 17:19:26 -04:00
flash_simulator.c drivers/flash/flash_simulator: Fix flash_sim_write 2020-07-02 08:24:19 -04:00
flash_stm32.c drivers: STM32 dualcore concurrent register access protection with HSEM 2020-07-09 11:27:56 +02:00
flash_stm32.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash_stm32_v1.c drivers: flash: Add support for STM32L0X 2020-07-03 08:05:03 -04:00
flash_stm32f4x.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_stm32f7x.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_stm32g0x.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_stm32g4x.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_stm32l4x.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash_stm32wbx.c drivers: flash: stm32wb: disable Page Erase at end of erase_page() 2020-07-20 12:48:10 +02:00
nrf_qspi_nor.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
soc_flash_mcux.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
soc_flash_nios2_qspi.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
soc_flash_nrf.c drivers: flash: nrf: Fix regression with BT_CTLR_LOW_LAT option 2020-08-05 12:02:05 +02:00
soc_flash_rv32m1.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_flash_at45.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_flash_w25qxxdv.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_flash_w25qxxdv.h drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
spi_flash_w25qxxdv_defs.h docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
spi_nor.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi_nor.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00