zephyr/tests/lib
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
..
c_lib tests: lib: Add some new test cases for libc 2020-06-23 22:42:25 -04:00
cmsis_dsp tests: cmsis_dsp: use integration keyword 2020-07-30 08:00:03 -04:00
devicetree device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
fdtable tests: lib: fdtable: Add tests for checking refcounting 2020-08-10 14:56:08 -07:00
gui/lvgl gui: Add open flags argument to fs_open invocation 2020-07-30 16:33:18 +02:00
heap lib/os/heap: add an additional validation criteria 2020-07-14 19:35:52 -04:00
heap_align lib/os/heap: remove big_heap restriction for aligned allocations 2020-07-14 19:35:52 -04:00
json tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
mem_alloc tests: lib: mem_alloc: restrict newlib config to more than 16K RAM 2020-07-06 17:24:02 +02:00
notify tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
onoff tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
ringbuffer tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
sprintf tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00