zephyr/include/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
..
bt.h
buf.h net: buf: fix designated initializer order 2020-08-06 12:59:40 +03:00
can.h
coap_link_format.h
coap.h
dhcpv4.h
dns_resolve.h
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gptp.h
hostname.h
http_client.h
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h net: openthread: radio: Added sleep to tx as hw radio cap. 2020-08-09 09:32:37 -04:00
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m.h net: lwm2m: Fix Security and Server object instance matching 2020-08-04 16:29:40 +02:00
mii.h
mqtt.h
net_config.h net: config: Allow initialization from application 2020-08-06 12:12:10 -05:00
net_conn_mgr.h
net_context.h
net_core.h net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_event.h
net_if.h device: Rename config_info attribute to config 2020-08-11 19:30:53 +02:00
net_ip.h
net_l2.h
net_linkaddr.h
net_mgmt.h
net_offload.h
net_pkt.h net: stats: Allow TXTIME and statistics at the same time 2020-08-07 10:12:51 +03:00
net_stats.h net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_timeout.h
openthread.h net: openthread: Protect OT API calls from being preempted 2020-07-27 19:04:43 +02:00
ppp.h net: l2: ppp: drop old option parsing routine 2020-07-29 16:38:37 +02:00
promiscuous.h
ptp_time.h
sntp.h
socket_can.h
socket_net_mgmt.h
socket_offload.h
socket_select.h
socket.h
socketutils.h
tftp.h
tls_credentials.h
trickle.h
udp.h
websocket.h
wifi_mgmt.h
wifi.h