[PATCH 1/3] drm/mediatek: dp: Refactor drivers in mtk_dp_bdg_detect()

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Sep 15 03:34:06 PDT 2022


Il 15/09/22 09:50, Bo-Chen Chen ha scritto:
> It is more clear to modify this in mtk_dp_bdg_detect().

I agree with this commit. Since you anyway have to send a v2 of this series,
please clarify the commit description and title, something like:

drm/mediatek: dp: Reduce indentation in mtk_dp_bdg_detect()

In order to improve human readability, reduce the indentation by returning
early if the dp/edp cable is not plugged in.

Cheers,
Angelo





More information about the linux-arm-kernel mailing list