zephyr/drivers/modem
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
..
CMakeLists.txt drivers: modem: Support GSM modems and PPP 2020-01-28 12:44:17 +02:00
gsm_ppp.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
Kconfig drivers: modem: Port to new timeout API 2020-05-07 11:01:55 +02:00
Kconfig.gsm net: ppp: Convert PPP driver to use normal UART APIs 2020-04-17 10:15:54 +03:00
Kconfig.ublox-sara-r4 drivers: modem: ublox-sara-r4: automatic setting of APN 2020-05-07 23:36:10 -05:00
Kconfig.wncm14a2a kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
modem_cmd_handler.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
modem_cmd_handler.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
modem_context.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
modem_context.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
modem_iface_uart.c uart: Fix uart_irq_callback_set usage 2020-07-30 09:43:12 +02:00
modem_iface_uart.h modem: gsm: Initialize the modem UART separately 2020-04-17 10:15:54 +03:00
modem_pin.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
modem_receiver.c uart: Fix uart_irq_callback_set usage 2020-07-30 09:43:12 +02:00
modem_receiver.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
modem_shell.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
modem_socket.c drivers: modem: use zsock_ variants of socket API 2020-06-10 09:27:51 +03:00
modem_socket.h drivers: modem: use zsock_ variants of socket API 2020-06-10 09:27:51 +03:00
ublox-sara-r4.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
wncm14a2a.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00