zephyr/include/sys
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
..
__assert.h assert: Completely remove file info and condition expression 2020-01-13 13:59:55 +01:00
arch_interface.h kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
atomic.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
base64.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
byteorder.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
check.h base: add error checking macros 2020-01-20 17:19:54 -05:00
crc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
device_mmio.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dlist.h
errno_private.h
fdtable.h net: sockets: Extend ioctl poll protocol with offloading feature 2020-01-31 11:36:02 -05:00
libc-hooks.h include: libc-hooks: add comments 2020-07-23 11:01:42 +02:00
list_gen.h
math_extras_impl.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
math_extras.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mem_manage.h kernel: add k_mem_map() and related defines 2020-07-17 11:38:18 +02:00
mempool_base.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mutex.h kernel: rename initializers to be internal 2020-04-24 22:27:08 +02:00
notify.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
onoff.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
printk.h lib: os: make snprintk fns generally available 2020-01-03 10:13:30 +01:00
rb.h
ring_buffer.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sem.h linker: add iterable section macros 2020-06-24 17:09:22 -04:00
sflist.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
slist.h
speculation.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sys_heap.h lib/os/heap: debugging facility to dump the heap structure to the cconsole 2020-06-26 11:41:43 -07:00
sys_io.h sys/sys_io.h: Memory mapped I/O APIs must be pointer-sized, not 32 bit! 2020-07-08 12:34:09 +02:00
thread_stack.h kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
time_units.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timeutil.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
util_internal.h sys: util: Add GET_ARG_N and GET_ARGS_LESS_N macros 2020-06-22 15:18:07 +02:00
util.h sys: util: cast input of KB() to size_t for large number 2020-08-04 17:45:22 +02:00