[PATCH 01/10] drm/ast: astdp: Inline ast_astdp_connector_init()
Jocelyn Falempe
jfalempe at redhat.com
Thu Sep 12 13:37:01 UTC 2024
On 11/09/2024 13:51, Thomas Zimmermann wrote:
> Inline ast_astdp_connector_init() into its only caller. The helper
> currently only does half of the connector-init work and is trivial
> enough to be inlined.
>
> Also set the local variables for encoder and connector as late as
> possible, so that the compiler warns if we use them before having
> initialized the instance.
Thanks, it looks good to me.
Reviewed-by: Jocelyn Falempe <jfalempe at redhat.com>
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
> drivers/gpu/drm/ast/ast_dp.c | 45 ++++++++++++++++++------------------
> 1 file changed, 22 insertions(+), 23 deletions(-)
>
More information about the dri-devel
mailing list