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

Use drmm_crtc_alloc_with_planes() to simplify the code. As we no longer
have to take care about cleanup, we can get rid of
atmel_hlcdc_crtc_destroy().

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-6-df837aba878f@microchip.com
Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c