drm/arm/malidp: crtc: use drmm_crtc_init_with_planes()
authorDanilo Krummrich <dakr@redhat.com>
Wed, 26 Oct 2022 15:59:32 +0000 (17:59 +0200)
committerLiviu Dudau <liviu.dudau@arm.com>
Wed, 16 Nov 2022 10:33:43 +0000 (10:33 +0000)
commit905ff163cf48471e991b6a29b75435727d084c86
tree40d3a3ade1b1ec0ac01da3ee6e0748515cf3d8ae
parent1b93d3cb7181e1fa8fe22452985f93b0306c9b84
drm/arm/malidp: crtc: use drmm_crtc_init_with_planes()

Use drmm_crtc_init_with_planes() instead of drm_crtc_init_with_planes()
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/20221026155934.125294-4-dakr@redhat.com
drivers/gpu/drm/arm/malidp_crtc.c