mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-15 16:46:07 +00:00
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
display_dummy.c | ||
display_framebuf.c | ||
display_ili9340.c | ||
display_ili9340.h | ||
display_mcux_elcdif.c | ||
display_sdl.c | ||
display_st7789v.c | ||
display_st7789v.h | ||
gd7965_regs.h | ||
gd7965.c | ||
grove_lcd_rgb.c | ||
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 | ||
mb_font.c | ||
mb_font.h | ||
ssd16xx_regs.h | ||
ssd16xx.c | ||
ssd1306_regs.h | ||
ssd1306.c |