[Freedreno] [PATCH] drm/msm/dp: Simplify dp_debug_init() and dp_debug_get()

Stephen Boyd swboyd at chromium.org
Wed Jan 5 23:06:44 UTC 2022


Quoting Christophe JAILLET (2021-12-22 11:33:47)
> dp_debug_init() always returns 0. So, make it a void function and simplify
> the only caller accordingly.
>
> While at it remove a useless 'rc' initialization in dp_debug_get()
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---

Reviewed-by: Stephen Boyd <swboyd at chromium.org>


More information about the Freedreno mailing list