Convert two panel drivers to devm_drm_panel_add() so panel registration
is cleaned up by devres on later probe failures.
Both drivers currently call drm_panel_add() before attaching one or more
DSI devices. If an attach fails, probe returns with the panel still in
the global panel registry. drm-misc-next has devm_drm_panel_add(), which
wraps drm_panel_add() with devres-managed drm_panel_remove() cleanup.
Patch 1 updates boe-bf060y8m-aj0.
Patch 2 updates novatek-nt36523.
Myeonghun Pak (2):
drm/panel: boe-bf060y8m-aj0: use devm_drm_panel_add()
drm/panel: novatek-nt36523: use devm_drm_panel_add()
drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c | 6 +++---
drivers/gpu/drm/panel/panel-novatek-nt36523.c | 12 +++---------
2 files changed, 6 insertions(+), 12 deletions(-)
--
2.47.1