]> git.hungrycats.org Git - linux/commit
drm/panel: Make drm_panel_init() static
authorAlbert Esteve <aesteve@redhat.com>
Fri, 8 May 2026 07:04:50 +0000 (09:04 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 11 May 2026 07:14:21 +0000 (09:14 +0200)
commitfe417df954a923937c0ace237e37ce750c16a99f
tree69d6bc886232bea5723787953cbc42f7d6b99eb5
parent90fb1524a845a304702ddd88391d4b1a8a60abe1
drm/panel: Make drm_panel_init() static

Now that all panel drivers use devm_drm_panel_alloc(),
there are no external callers of drm_panel_init().
Make it static to prevent new users from bypassing the
refcounted allocation path.

Remove stale references to drm_panel_init() in kdocs.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260508-drm_panel_init_rm-v2-10-0bd4ac429971@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/display/drm_dp_helper.c
drivers/gpu/drm/drm_panel.c
include/drm/drm_panel.h