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

Simplify the code using drmm_simple_encoder_alloc to handle allocation
and initialization at once.

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