drm/vc4: plane: Switch to drmm_universal_plane_alloc()

Let's switch to drmm_universal_plane_alloc() for our plane allocation and
initialisation to make the driver a bit simpler.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-20-maxime@cerno.tech
This commit is contained in:
Maxime Ripard 2022-07-11 19:38:49 +02:00
commit 9872c7a319
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
2 changed files with 8 additions and 16 deletions