zephyr/samples/subsys
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
..
canbus samples: canbus: canopen: add test case with program download support 2020-07-08 23:24:17 -04:00
console zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
fs subsys/fs: Add open flags parameter to fs_open 2020-07-30 16:33:18 +02:00
ipc samples: Apply IPM callback signature change where relevant 2020-07-30 09:51:51 +02:00
logging samples: subsys: logging: logger: Fix performance showcase 2020-07-09 11:27:22 +02:00
mgmt samples: smp_svr: Fix configuration when BT_HCI_ACL_FLOW_CONTROL is on 2020-08-06 11:46:48 +02:00
nvs samples: nvs: Do full chip erase when flashing 2020-08-11 09:39:49 -04:00
power/device_pm device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
settings boards: dts: Fix broken link in comment 2020-07-31 09:00:32 -05:00
shell boards: arm: nrf: Adding Circuit Dojo nRF9160 Feather definitions. 2020-07-10 17:56:00 +02:00
tracing samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
usb treewide: remove unnecessary DT GPIO/PWM flags checks 2020-08-04 07:35:26 -05:00
subsys.rst doc: add labels to sample docs 2017-04-04 20:48:08 +00:00