zephyr/samples/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
..
cloud random: Include header where it is used 2020-07-08 21:05:36 -04:00
common license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dhcpv4_client zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dns_resolve zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
eth_native_posix samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
gptp samples/tests: Convert use of %ll{u,d} to PRI{u,d}64 2020-06-08 08:23:57 -05:00
gsm_modem zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4_autoconf zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lldp zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lwm2m_client Bluetooth: host: Use CONFIG_BT_L2CAP_RX_MTU always to set L2CAP RX MTU 2020-08-06 11:46:48 +02:00
mdns_responder samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
mqtt_publisher random: Include header where it is used 2020-07-08 21:05:36 -04:00
openthread/ncp samples: openthread: remove redundant configuration options 2020-06-30 07:48:08 -04:00
promiscuous_mode zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sockets samples: net: sockets: civetweb 2020-08-08 22:12:16 -04:00
stats samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
syslog_net cmake, samples, tests: Use semi-accurate project names 2020-06-09 08:18:29 -04:00
telnet zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
vlan samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
wifi boards: shields: esp_8266: Add std headers overlay 2020-07-17 11:38:28 +02:00
wpan_serial device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
wpanusb device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
zperf samples: zperf: fix an unaligned access in the UDP uploader 2020-06-15 10:30:35 +03:00
net.rst