zephyr/tests/net
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
..
6lo device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
all tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
arp device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
buf zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
checksum_offload device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
context device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dhcpv4 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ethernet_mgmt device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hostname device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
icmpv4 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
icmpv6 tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
ieee802154 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
iface device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ip-addr device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ipv6 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ipv6_fragment device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lib device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
mgmt zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mld device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
neighbor tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
net_pkt random: Include header where it is used 2020-07-08 21:05:36 -04:00
pm device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ppp/driver zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
promiscuous device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ptp/clock device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
route device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
shell device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
socket device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
tcp device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
tcp2 device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
traffic_class device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
trickle tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
tx_timestamp device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
udp device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
utils tests: net: remove duplicate test 2020-06-25 22:36:17 -05:00
vlan device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00