[PATCH v3 02/11] drm/mediatek: gamma: Reduce indentation in mtk_gamma_set_common()

Jason-JH Lin (林睿祥) Jason-JH.Lin at mediatek.com
Tue May 9 07:38:32 PDT 2023


Hi Angelo,

On Sat, 2023-05-06 at 14:35 +0200, AngeloGioacchino Del Regno wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> Invert the check for state->gamma_lut and move it at the beginning
> of the function to reduce indentation: this prepares the code for
> keeping readability on later additions.
> 
> This commit brings no functional changes.
> 
> Signed-off-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno at collabora.com>

Reviewed-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>

Regards,
Jason-JH.Lin


More information about the Linux-mediatek mailing list