drm/panel: remove unnecessary dependencies
Subsystems (3)
PATCH v2 1/2 drm/panel: remove unnecessary dependencies
DRM_PANEL_LD9040 and DRM_PANEL_S6E8AA0 both explicitly depended on DRM_PANEL && DRM. This is nonsense for two reasons:
(a) DRM_PANEL already depends on DRM, so DRM_PANEL can not be enabled without DRM first being enabled. Hence the && DRM is useless.
(b) These two configs are already beneath a menu which depends on DRM_PANEL being enabled; these options will not be visible without DRM_PANEL already being enabled.
Let's just remove this unnecessary verbosity.
--- drivers/gpu/drm/panel/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/panel/Kconfig +1 -3
@@ -5,7 +5,7 @@ config DRM_PANEL Panel registration and lookup framework. menu "Display Panels" - depends on DRM_PANEL + depends on DRM && DRM_PANEL config DRM_PANEL_SIMPLE tristate "support for simple panels"
@@ -18,14 +18,12 @@ config DRM_PANEL_SIMPLE config DRM_PANEL_LD9040 tristate "LD9040 RGB/SPI panel" - depends on DRM && DRM_PANEL depends on OF select SPI select VIDEOMODE_HELPERS config DRM_PANEL_S6E8AA0 tristate "S6E8AA0 DSI video mode panel" - depends on DRM && DRM_PANEL depends on OF select DRM_MIPI_DSI select VIDEOMODE_HELPERS
Signature · 1 line
1.8.3.1
Hi Russel,
Thanks for both fixes. Just one nitpick.
Quoted 5 lines · Russell King
DRM_PANEL_LD9040andDRM_PANEL_S6E8AA0both explicitly depended onDRM_PANEL&& DRM. This is nonsense for two reasons:(a)
DRM_PANELalready depends on DRM, soDRM_PANELcan not be enabled without DRM first being enabled. Hence the && DRM is useless.
This reason is invalid and do not describe the patch anymore.
Regards
Andrzej
Quoted 41 lines
(b) These two configs are already beneath a menu which depends on
DRM_PANELbeing enabled; these options will not be visible withoutDRM_PANELalready being enabled.Let's just remove this unnecessary verbosity.
Signed-off-by Russell King <[email protected]>--- drivers/gpu/drm/panel/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/gpu/drm/panel/Kconfig +1
-3@@ -5,7 +5,7 @@ config DRM_PANEL Panel registration and lookup framework. menu "Display Panels" - depends on DRM_PANEL + depends on DRM && DRM_PANEL config DRM_PANEL_SIMPLE tristate "support for simple panels"@@ -18,14 +18,12 @@ config DRM_PANEL_SIMPLE config DRM_PANEL_LD9040 tristate "LD9040 RGB/SPI panel" - depends on DRM && DRM_PANEL depends on OF select SPI select VIDEOMODE_HELPERS config DRM_PANEL_S6E8AA0 tristate "S6E8AA0 DSI video mode panel" - depends on DRM && DRM_PANEL depends on OF select DRM_MIPI_DSI select VIDEOMODE_HELPERS
Quoted 4 lines · Andrzej Hajda
Hi Russel,
Thanks for both fixes. Just one nitpick.
Quoted 8 lines
Quoted 5 lines · Russell King
DRM_PANEL_LD9040andDRM_PANEL_S6E8AA0both explicitly depended onDRM_PANEL&& DRM. This is nonsense for two reasons:(a)
DRM_PANELalready depends on DRM, soDRM_PANELcan not be enabled without DRM first being enabled. Hence the && DRM is useless.This reason is invalid and do not describe the patch anymore.
Thanks, expect v3 in your mailbox shortly (or already there.)
Signature · 2 lines
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly improving, and getting towards what was expected from it.