linux/drivers/gpu/drm/msm/dp
Krzysztof Kozlowski 25dc6948a0 drm/msm: Use str_enable_disable-like helpers
Replace ternary (condition ? "enable" : "disable") syntax with helpers
from string_choices.h because:
1. Simple function call with one argument is easier to read.  Ternary
   operator has three arguments and with wrapping might lead to quite
   long code.
2. Is slightly shorter thus also easier to read.
3. It brings uniformity in the text - same string.
4. Allows deduping by the linker, which results in a smaller binary
   file.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/632406/
Link: https://lore.kernel.org/r/20250114191724.861601-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2025-02-25 20:07:44 +02:00
..
dp_audio.c Merge tag 'drm-msm-next-2025-01-07' of gitlab.freedesktop.org:drm/msm into drm-next 2025-01-13 11:14:07 +10:00
dp_audio.h drm/msm/dp: stop passing panel to msm_dp_audio_get() 2024-12-22 09:26:05 +02:00
dp_aux.c drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_aux.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_catalog.c drm/msm/dp: drop obsolete audio headers access through catalog 2024-12-22 09:25:42 +02:00
dp_catalog.h drm/msm/dp: drop obsolete audio headers access through catalog 2024-12-22 09:25:42 +02:00
dp_ctrl.c drm/msm: Use str_enable_disable-like helpers 2025-02-25 20:07:44 +02:00
dp_ctrl.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_debug.c drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_debug.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_display.c drm/msm: Use str_enable_disable-like helpers 2025-02-25 20:07:44 +02:00
dp_display.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_drm.c drm/msm: Use str_enable_disable-like helpers 2025-02-25 20:07:44 +02:00
dp_drm.h drm/bridge: Pass full state to atomic_post_disable 2025-02-19 16:59:13 +01:00
dp_link.c drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_link.h drm/msm/dp: prefix all symbols with msm_dp_ 2024-10-31 21:08:01 +02:00
dp_panel.c drm/msm/dp: drop struct msm_dp_panel_in 2024-12-22 09:25:59 +02:00
dp_panel.h drm/msm/dp: drop struct msm_dp_panel_in 2024-12-22 09:25:59 +02:00
dp_reg.h drm/msm/dp: enable SDP and SDE periph flush update 2024-03-04 11:38:51 +02:00
dp_utils.c drm/msm/dp: fix msm_dp_utils_pack_sdp_header interface 2024-12-02 18:41:42 -08:00
dp_utils.h drm/msm/dp: fix msm_dp_utils_pack_sdp_header interface 2024-12-02 18:41:42 -08:00