[PATCH] drm/msm/dpu: simplify and unify dpu_encoder_get_intf and dpu_encoder_get_wb
Stephen Boyd
swboyd at chromium.org
Sat Jun 25 00:29:08 UTC 2022
Quoting Dmitry Baryshkov (2022-06-24 16:51:20)
> Remove extra nexting level from the dpu_encoder_get_intf(), replacing it
s/nexting/nesting/
> with the explicit return in case the INTF_WB was passed to the function.
>
> While we are at it, also change dpu_encoder_get_wb() to also use
> explicit return rather than the goto.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
Reviewed-by: Stephen Boyd <swboyd at chromium.org>
More information about the dri-devel
mailing list