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

From: Stephen Boyd
Date: Wed Jan 05 2022 - 18:06:50 EST


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@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>