zephyr/drivers/ieee802154
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
ieee802154_cc13xx_cc26xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_cc13xx_cc26xx.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
ieee802154_cc1200_regs.h
ieee802154_cc1200_rf.h
ieee802154_cc1200.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_cc1200.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
ieee802154_cc2520_regs.h
ieee802154_cc2520.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_cc2520.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
ieee802154_dw1000_regs.h
ieee802154_dw1000.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_kw41z.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_mcr20a_regs.h
ieee802154_mcr20a.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_mcr20a.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
ieee802154_nrf5.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_nrf5.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
ieee802154_rf2xx_iface.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_rf2xx_iface.h
ieee802154_rf2xx_regs.h
ieee802154_rf2xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_rf2xx.h drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
ieee802154_uart_pipe.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ieee802154_uart_pipe.h
Kconfig drivers: nrf: Added config option for OUI. 2020-08-10 08:42:21 +03:00
Kconfig.cc13xx_cc26xx
Kconfig.cc1200
Kconfig.cc2520
Kconfig.dw1000
Kconfig.kw41z
Kconfig.mcr20a
Kconfig.nrf5
Kconfig.rf2xx