Re: [PATCH 08/11] drm/vc4: tests: mock: Use a kunit action to unregister DRM device

From: Javier Martinez Canillas
Date: Wed Jul 19 2023 - 16:04:42 EST


Maxime Ripard <mripard@xxxxxxxxxx> writes:

> The *_mock_device functions allocate a DRM device that needs to be
> released using drm_dev_unregister.
>
> Now that we have a kunit release action API, we can switch to it and
> don't require any kind of garbage collection from the caller.
>
> Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
> ---

Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat