Re: [PATCH] drm/hisilicon: kirin: Convert to drmm_mode_config_init() and drop manual cleanup

From: John Stultz

Date: Wed Oct 22 2025 - 13:36:38 EST


On Wed, Oct 22, 2025 at 4:44 AM Madhur Kumar <madhurkumar004@xxxxxxxxx> wrote:
>
> switch mode_config initialization to drmm_mode_config_init() so that the
> lifetime is tied to drm_device. Remove explicit drm_mode_config_cleanup()
> from error and cleanup path since cleanup is now managed by DRM.
>
> Signed-off-by: Madhur Kumar <madhurkumar004@xxxxxxxxx>

I think YongQin may be the only one who can still test it, but no
objection from me.

Acked-by: John Stultz <jstultz@xxxxxxxxxx>

thanks
-john