Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel/panel-tpo-tpg110: Correct misnaming and supply missing param description

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/panel/panel-tpo-tpg110.c:94: warning: Function parameter or member 'panel_mode' not described in 'tpg110'
drivers/gpu/drm/panel/panel-tpo-tpg110.c:372: warning: Function parameter or member 'connector' not described in 'tpg110_get_modes'

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201113134938.4004947-14-lee.jones@linaro.org

authored by

Lee Jones and committed by
Sam Ravnborg
8214e3a1 50f3d412

+2 -1
+2 -1
drivers/gpu/drm/panel/panel-tpo-tpg110.c
··· 76 76 */ 77 77 struct drm_panel panel; 78 78 /** 79 - * @panel_type: the panel mode as detected 79 + * @panel_mode: the panel mode as detected 80 80 */ 81 81 const struct tpg110_panel_mode *panel_mode; 82 82 /** ··· 362 362 /** 363 363 * tpg110_get_modes() - return the appropriate mode 364 364 * @panel: the panel to get the mode for 365 + * @connector: reference to the central DRM connector control structure 365 366 * 366 367 * This currently does not present a forest of modes, instead it 367 368 * presents the mode that is configured for the system under use,