]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/atmel-hlcdc: use drmm_universal_plane_alloc()
authorLudovic Desroches <ludovic.desroches@microchip.com>
Thu, 18 Dec 2025 13:26:05 +0000 (14:26 +0100)
committerManikandan Muralidharan <manikandan.m@microchip.com>
Tue, 20 Jan 2026 10:22:48 +0000 (15:52 +0530)
commit4bad57c21bb3569efde4dc81915b53f9a036678c
treeca77f2f015cccb2c74ee082bf6ad0d5d11945b97
parentd8a29980eb3dd4efff895317c74b4cce9636e14d
drm/atmel-hlcdc: use drmm_universal_plane_alloc()

Use the drmm_universal_plane_alloc() helper to simplify the code. Using
it, we no longer need to register the destroy callback for
drm_plane_funcs.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Reviewed-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Link: https://patch.msgid.link/20251218-lcd_cleanup_mainline-v2-7-df837aba878f@microchip.com
Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c