zephyr/drivers/kscan
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: kscan: Introduce SDL mouse driver 2020-03-11 13:23:19 -05:00
Kconfig drivers: kscan: Introduce SDL mouse driver 2020-03-11 13:23:19 -05:00
Kconfig.ft5336 drivers: kscan: add support for the interrupt on the ft5336 2020-04-02 16:48:15 -05:00
Kconfig.sdl drivers: kscan: Introduce SDL mouse driver 2020-03-11 13:23:19 -05:00
Kconfig.xec
kscan_ft5336.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
kscan_handlers.c tests: drivers: fixes for failing tests 2020-04-24 09:49:46 -05:00
kscan_mchp_xec.c drivers: use K_KERNEL_STACK macros 2020-08-04 12:16:43 -04:00
kscan_sdl.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00