]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panel: make prepare/enable and disable/unprepare calls return void
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 1 Apr 2025 05:11:39 +0000 (08:11 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 22 Apr 2025 13:49:11 +0000 (16:49 +0300)
commitdcbd5dcc956e2331414fd7020b4655df08deeb87
tree2d4cd6a00e21f48c749ef99cf91fe15f198d77dc
parent58a71d2bf103550f809987e16d8c1949be719040
drm/panel: make prepare/enable and disable/unprepare calls return void

Now there are no users of the return value of the drm_panel_prepare(),
drm_panel_unprepare(), drm_panel_enable() and drm_panel_disable() calls.
Usually these calls are performed from the atomic callbacks, where it is
impossible to return an error. Stop returning error codes and return
void instead.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250401-panel-return-void-v1-7-93e1be33dc8d@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/drm_panel.c
drivers/gpu/drm/panel/panel-newvision-nv3051d.c
include/drm/drm_panel.h