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
bluetooth bluetooth: controller: Add BT_QUIRK_NO_AUTO_DLE for BT_LL_SW_SPLIT 2020-08-10 12:14:49 +02:00
clock_control
console device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
gpio
i2c/slave
ieee802154
interrupt_controller
led
pcie device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
rtc
sensor
timer
uart
usb
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
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
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