zephyr/drivers/display
Kumar Gala b4a3880a75 drivers: remove unnecessary use of DEVICE_AND_API_INIT
For drivers that support CONFIG_DEVICE_POWER_MANAGEMENT there are some
cases that look like:

  #ifdef CONFIG_DEVICE_POWER_MANAGEMENT
    DEVICE_DEFINE()
  #else
    DEVICE_AND_API_INIT()
  #endif

There is no need to special case this as the pm_control_fn argument to
DEVICE_DEFINE will just be ignored in the
!CONFIG_DEVICE_POWER_MANAGEMENT case.  So we can cleanup the code a
little and remove the #else cases for the drivers that do this.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-11-06 09:42:47 -06:00
..
CMakeLists.txt drivers: display: ili9340: remove old hardcoded configurations 2020-09-29 14:18:05 -05:00
Kconfig drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
Kconfig.dummy kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.gd7965 drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
Kconfig.grove
Kconfig.ili9340 drivers: display: ili9340: remove old hardcoded configurations 2020-09-29 14:18:05 -05:00
Kconfig.mcux_elcdif kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.microbit timeouts: Port BBC micro:bit to the new timeout API 2020-05-07 11:01:55 +02:00
Kconfig.sdl drivers: display: Add support for RGB565 to SDL display 2020-01-20 09:21:04 -06:00
Kconfig.ssd16xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.ssd1306 drivers: ssd1306: Add SPI support 2020-10-02 11:33:26 +02:00
Kconfig.st7789v kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
display_dummy.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
display_framebuf.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
display_ili9340.c drivers: display: ili9340: align register names 2020-10-22 15:31:18 -05:00
display_ili9340.h drivers: display: ili9340: align register names 2020-10-22 15:31:18 -05:00
display_mcux_elcdif.c isr: Normalize usage of device instance through ISR 2020-09-02 13:48:13 +02:00
display_sdl.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
display_st7789v.c drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
display_st7789v.h drivers: display_st7789v: obtain panel settings and parameters from DT 2020-01-02 17:00:06 -05:00
gd7965.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
gd7965_regs.h drivers: display: add support for GD7965 display controller 2020-01-31 11:37:35 -05:00
grove_lcd_rgb.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mb_display.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mb_font.c
mb_font.h
ssd16xx.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ssd16xx_regs.h drivers: ssd16xx: support to load default WS from OTP 2020-06-17 12:31:20 +02:00
ssd1306.c drivers: ssd1306: remove SPI operation flags 2020-10-19 18:49:29 +02:00
ssd1306_regs.h drivers: ssd1306: Optimize display commands 2020-10-02 11:33:26 +02:00