]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/panel: fix kernel-doc warning for devm_drm_panel_add()
authorDongyang Jin <jindongyang@kylinos.cn>
Thu, 21 May 2026 09:45:45 +0000 (17:45 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 26 May 2026 14:00:32 +0000 (16:00 +0200)
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
drivers/gpu/drm/drm_panel.c

index 04f4a31ed27af6a35905962cab94c54a6ef29ac2..2c5649e433dfb286cf8c1058673d9ab3565bb523 100644 (file)
@@ -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