From 307c13b21808ee44d89dcb5bc6925d95e82a539e Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Tue, 30 Nov 2021 10:46:17 +0100 Subject: [PATCH] drivers: display: remove unused Kconfig options remove unused options SDL_DISPLAY_* and DUMMY_DISPLAY_*. Signed-off-by: Johann Fischer --- drivers/display/Kconfig.dummy | 18 +----------------- drivers/display/Kconfig.sdl | 12 ------------ samples/subsys/display/lvgl/sample.yaml | 1 - tests/lib/gui/lvgl/prj.conf | 1 - 4 files changed, 1 insertion(+), 31 deletions(-) diff --git a/drivers/display/Kconfig.dummy b/drivers/display/Kconfig.dummy index b1d566dbcd1..d906afb4e29 100644 --- a/drivers/display/Kconfig.dummy +++ b/drivers/display/Kconfig.dummy @@ -3,23 +3,7 @@ # Copyright (c) 2018 Jan Van Winkel # SPDX-License-Identifier: Apache-2.0 -menuconfig DUMMY_DISPLAY +config DUMMY_DISPLAY bool "Dummy display driver" help Enable dummy display driver compliant with display driver API. - -if DUMMY_DISPLAY - -config DUMMY_DISPLAY_DEV_NAME - string "Dummy display device name" - default "DUMMY_DISPLAY" - -config DUMMY_DISPLAY_X_RES - int "X resolution for dummy display" - default 320 - -config DUMMY_DISPLAY_Y_RES - int "Y resolution for dummy display" - default 240 - -endif # DUMMY_DISPLAY diff --git a/drivers/display/Kconfig.sdl b/drivers/display/Kconfig.sdl index 8dd69709893..a8555b44de1 100644 --- a/drivers/display/Kconfig.sdl +++ b/drivers/display/Kconfig.sdl @@ -12,18 +12,6 @@ menuconfig SDL_DISPLAY if SDL_DISPLAY -config SDL_DISPLAY_DEV_NAME - string "SDL display device name" - default "SDL_DISPLAY" - -config SDL_DISPLAY_X_RES - int "X resolution for SDL display" - default 320 - -config SDL_DISPLAY_Y_RES - int "Y resolution for SDL display" - default 240 - choice SDL_DISPLAY_DEFAULT_PIXEL_FORMAT prompt "Default pixel format" default SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888 diff --git a/samples/subsys/display/lvgl/sample.yaml b/samples/subsys/display/lvgl/sample.yaml index e3eb0803572..144aec000f1 100644 --- a/samples/subsys/display/lvgl/sample.yaml +++ b/samples/subsys/display/lvgl/sample.yaml @@ -43,7 +43,6 @@ tests: extra_args: DTC_OVERLAY_FILE="dummy_dc.overlay" extra_configs: - CONFIG_DUMMY_DISPLAY=y - - CONFIG_DUMMY_DISPLAY_DEV_NAME="DISPLAY" - CONFIG_KSCAN=n - CONFIG_SDL_DISPLAY=n tags: samples display gui diff --git a/tests/lib/gui/lvgl/prj.conf b/tests/lib/gui/lvgl/prj.conf index d19d8642d0c..63723a3f288 100644 --- a/tests/lib/gui/lvgl/prj.conf +++ b/tests/lib/gui/lvgl/prj.conf @@ -3,7 +3,6 @@ CONFIG_ZTEST=y CONFIG_DISPLAY=y CONFIG_SDL_DISPLAY=n CONFIG_DUMMY_DISPLAY=y -CONFIG_DUMMY_DISPLAY_DEV_NAME="DISPLAY" CONFIG_LOG=y