drm/arm/hdlcd: plane: use drm managed resources
authorDanilo Krummrich <dakr@redhat.com>
Wed, 26 Oct 2022 15:34:30 +0000 (17:34 +0200)
committerLiviu Dudau <liviu.dudau@arm.com>
Mon, 7 Nov 2022 20:47:36 +0000 (20:47 +0000)
commit8aa201952d59ce91ac499b05a4867145c6a80f37
treedbd596c17d158b2b85117d5aea224be2296a57f8
parent5f56e596dd7562c04137eed1f220703ad7111087
drm/arm/hdlcd: plane: use drm managed resources

Use drm managed resource allocation (drmm_universal_plane_alloc()) in
order to get rid of the explicit destroy hook in struct drm_plane_funcs.

Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026153431.72033-4-dakr@redhat.com
drivers/gpu/drm/arm/hdlcd_crtc.c