zephyr/include/drivers
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
..
adc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bluetooth bluetooth: controller: Add BT_QUIRK_NO_AUTO_DLE for BT_LL_SW_SPLIT 2020-08-10 12:14:49 +02:00
clock_control drivers: clock_control: lpc11u6x: Add support for clock controller 2020-07-29 20:12:24 +02:00
console device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c/slave drivers: eeprom_slave: add const qualifier to read-only data 2020-07-22 21:41:12 +02:00
ieee802154 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
interrupt_controller x86: apic: use device MMIO APIs 2020-07-17 11:38:18 +02:00
led zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pcie device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
rtc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sensor zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timer zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
uart usb: cdc_acm: add a DTE rate changed callback 2020-07-22 13:24:37 +02:00
usb drivers: usb: unify endpoint helper macros 2020-07-10 11:45:46 +02:00
adc.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
can.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
clock_control.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
counter.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dac.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
dma.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
eeprom.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
entropy.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
espi.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
flash.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gna.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hwinfo.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
i2s.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ipm.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
kscan.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
led_strip.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
led.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
lora.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
peci.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pinmux.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ps2.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
pwm.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
sensor.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
uart.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
video-controls.h drivers: Add video API 2019-10-25 15:13:53 -05:00
video.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
watchdog.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00