[PATCH] drm/meson: cleanup unnecessary condition in kconfig
Gabriel Carvalho
gabriel-n-carvalho at outlook.com
Wed Jun 24 14:35:33 PDT 2026
DRM_MESON_DW_HDMI and DRM_MESON_DW_MIPI_DSI both already depend on
DRM_MESON, so the "if DRM_MESON" on their "default y" lines is
redundant.
This redundant condition was found by kconfirm, a static analysis tool
for Kconfig.
Signed-off-by: Gabriel Carvalho <gabriel-n-carvalho at outlook.com>
Reviewed-by: Julian Braha <julianbraha at gmail.com>
---
drivers/gpu/drm/meson/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/meson/Kconfig b/drivers/gpu/drm/meson/Kconfig
index 417f79829cf8..c3800825ac15 100644
--- a/drivers/gpu/drm/meson/Kconfig
+++ b/drivers/gpu/drm/meson/Kconfig
@@ -17,13 +17,13 @@ config DRM_MESON
config DRM_MESON_DW_HDMI
tristate "HDMI Synopsys Controller support for Amlogic Meson Display"
depends on DRM_MESON
- default y if DRM_MESON
+ default y
select DRM_DW_HDMI
imply DRM_DW_HDMI_I2S_AUDIO
config DRM_MESON_DW_MIPI_DSI
tristate "MIPI DSI Synopsys Controller support for Amlogic Meson Display"
depends on DRM_MESON
- default y if DRM_MESON
+ default y
select DRM_DW_MIPI_DSI
select GENERIC_PHY_MIPI_DPHY
base-commit: cdeb2ccd993ed8647adbbda2c3b103aa717fd6f7
--
2.53.0
More information about the linux-amlogic
mailing list