drm/msm/dpu: drop INTF_TYPE_MAX symbol
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 22 Feb 2022 06:22:44 +0000 (09:22 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 1 May 2022 23:07:08 +0000 (02:07 +0300)
This enum value does not correspond to any of actual interface types,
it's not used by the driver, and the value of INTF_WB is greater than
INTF_TYPE_MAX. Thus this symbol serves no purpose and can be removed.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/475556/
Link: https://lore.kernel.org/r/20220222062246.242577-3-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h

index 70b8fca..9f402be 100644 (file)
@@ -232,7 +232,6 @@ enum dpu_intf_type {
        INTF_EDP = 0x9,
        /* both DP and eDP,  handled by the new DP driver */
        INTF_DP = 0xa,
-       INTF_TYPE_MAX,
 
        /* virtual interfaces */
        INTF_WB = 0x100,