summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongyang Jin <jindongyang@kylinos.cn>2026-05-21 12:45:45 +0300
committerNeil Armstrong <neil.armstrong@linaro.org>2026-05-26 17:00:32 +0300
commitaeb119dbff2466b8cc9fefa37d4691049ac27e04 (patch)
tree11c77025eaa8437118599cc277ae3d2b6d6b6581
parent23c8c2cd3d4a2b65c21d31cf91e81d5e0b81ecd5 (diff)
downloadlinux-aeb119dbff2466b8cc9fefa37d4691049ac27e04.tar.xz
drm/panel: fix kernel-doc warning for devm_drm_panel_add()
Use the correct kernel-doc notation for struct members to eliminate kernel-doc warnings: Warning: drivers/gpu/drm/drm_panel.c:119 function parameter 'dev' not described in 'devm_drm_panel_add' Warning: drivers/gpu/drm/drm_panel.c:119 function parameter 'dev' not described in 'devm_drm_panel_add' Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202605210648.RI4ufD66-lkp@intel.com/ Signed-off-by: Dongyang Jin <jindongyang@kylinos.cn> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260521094545.3039207-1-jindongyang@kylinos.cn
-rw-r--r--drivers/gpu/drm/drm_panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c
index 04f4a31ed27a..2c5649e433df 100644
--- a/drivers/gpu/drm/drm_panel.c
+++ b/drivers/gpu/drm/drm_panel.c
@@ -108,6 +108,7 @@ static void drm_panel_add_release(void *data)
/**
* devm_drm_panel_add - add a panel to the global registry using devres
+ * @dev: device to which the panel is attached
* @panel: panel to add
*
* Add a panel to the global registry so that it can be looked