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
dhcpv4_client
dns_resolve
eth_native_posix
gptp
gsm_modem
ipv4_autoconf
lldp
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
mqtt_publisher random: Include header where it is used 2020-07-08 21:05:36 -04:00
openthread/ncp
promiscuous_mode
sockets samples: net: sockets: civetweb 2020-08-08 22:12:16 -04:00
stats
syslog_net
telnet
vlan
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
net.rst