zephyr/drivers/display
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
display_dummy.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display_framebuf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
display_ili9340_adafruit_1480.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
display_ili9340_seeed_tftv2.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
display_ili9340.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display_ili9340.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
display_mcux_elcdif.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display_sdl.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display_st7789v.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
display_st7789v.h
gd7965_regs.h
gd7965.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
grove_lcd_rgb.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
Kconfig
Kconfig.dummy
Kconfig.gd7965
Kconfig.grove
Kconfig.ili9340
Kconfig.mcux_elcdif
Kconfig.microbit
Kconfig.sdl
Kconfig.ssd16xx
Kconfig.ssd1306
Kconfig.st7789v
mb_display.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mb_font.c
mb_font.h
ssd16xx_regs.h drivers: ssd16xx: support to load default WS from OTP 2020-06-17 12:31:20 +02:00
ssd16xx.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
ssd1306_regs.h
ssd1306.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00