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
display_dummy.c
display_framebuf.c
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
display_sdl.c
display_st7789v.c drivers: remove unnecessary use of DEVICE_AND_API_INIT 2020-11-06 09:42:47 -06:00
display_st7789v.h
gd7965_regs.h
gd7965.c
grove_lcd_rgb.c
Kconfig
Kconfig.dummy
Kconfig.gd7965
Kconfig.grove
Kconfig.ili9340 drivers: display: ili9340: remove old hardcoded configurations 2020-09-29 14:18:05 -05:00
Kconfig.mcux_elcdif
Kconfig.microbit
Kconfig.sdl
Kconfig.ssd16xx
Kconfig.ssd1306 drivers: ssd1306: Add SPI support 2020-10-02 11:33:26 +02:00
Kconfig.st7789v
mb_display.c
mb_font.c
mb_font.h
ssd16xx_regs.h
ssd16xx.c
ssd1306_regs.h drivers: ssd1306: Optimize display commands 2020-10-02 11:33:26 +02:00
ssd1306.c drivers: ssd1306: remove SPI operation flags 2020-10-19 18:49:29 +02:00