[PATCH 1/9] drm/panfrost: Replace DRM driver allocation method with newer one
Boris Brezillon
boris.brezillon at collabora.com
Thu Oct 17 12:44:38 UTC 2024
On Tue, 15 Oct 2024 00:31:36 +0100
Adrián Larumbe <adrian.larumbe at collabora.com> wrote:
> Drop the deprecated DRM driver allocation method in favour of
> devm_drm_dev_alloc(). Overall just make it the same as in Panthor.
> Also discard now superfluous generic and platform device pointers inside
> the main panfrost device structure.
>
> Some ancient checkpatch issues unearthed as a result of these changes
> were also fixed, like lines too long or double assignment in one line.
>
> Signed-off-by: Adrián Larumbe <adrian.larumbe at collabora.com>
Acked-by: Boris Brezillon <boris.brezillon at collabora.com>
I didn't do a thorough review of the diff, but I'm assuming it's
correct if the driver compiles.
BTW, I don't see it done in this series, but it might be good to also
turn devm_ calls into drmm_ ones, and dev_<loglevel> into
drm_<loglevel>.
More information about the dri-devel
mailing list