zephyr/subsys
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
..
bluetooth Bluetooth: host: Periodic adv sync shell support 2020-08-11 14:17:19 +02:00
canbus canbus: use kernel stacks 2020-08-02 10:50:12 -04:00
console device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dfu config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET 2020-07-09 14:02:38 -04:00
disk device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
fb device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
fs kconfig: Move FAT FS options closer to enable 2020-08-11 07:47:08 -04:00
jwt zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
logging logging: fix immediate logging with multiple backends 2020-08-10 10:58:43 +02:00
mgmt mgmt: mcumgr: Consolidate Kconfig into a single file 2020-08-04 15:16:35 -04:00
net device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
power cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
random random: Add syscalls for random subsystem 2020-07-08 21:05:36 -04:00
settings subsys/fs: Add open flags parameter to fs_open 2020-07-30 16:33:18 +02:00
shell shell: kconfig: Clarify dependency of UART option from DTS 2020-08-11 19:30:05 +02:00
stats cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
storage device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
testsuite ztest: clean up comments, strings, and interface 2020-08-05 15:05:44 -04:00
tracing cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
usb device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
CMakeLists.txt cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
Kconfig tracing: move tracing under subsys/ 2020-02-07 15:58:05 -05:00