drm/plane: Remove drm_plane_init()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 9 Sep 2022 10:59:44 +0000 (12:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 20 Sep 2022 07:37:12 +0000 (09:37 +0200)
commit7221941c4f3249f6e67090820c827326e2e4459f
tree9c70bd760fcc9b7ea29b7590e9ac250143038cdc
parentee34b77f681e9656d229b1df48ea67f019bb6335
drm/plane: Remove drm_plane_init()

Open-code drm_plane_init() and remove the function from DRM. The
implementation of drm_plane_init() is a simple wrapper around a call
to drm_universal_plane_init(), so drivers can just use that instead.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Lyude Paul <lyude@redhat.com> # nouveau
Acked-by: Jyri Sarha <jyri.sarha@iki.fi>
Link: https://patchwork.freedesktop.org/patch/msgid/20220909105947.6487-2-tzimmermann@suse.de
drivers/gpu/drm/drm_modeset_helper.c
drivers/gpu/drm/drm_plane.c
drivers/gpu/drm/nouveau/dispnv04/overlay.c
drivers/gpu/drm/shmobile/shmob_drm_plane.c
drivers/gpu/drm/tilcdc/tilcdc_plane.c
include/drm/drm_plane.h