Skip to contentSkip to conversation

drm/amd/display: DCN3.1: don't mark as kernel-doc

PATCH Applied Randy Dunlap 2 participants 2 messages Mar 26, 2022 – Mar 28, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: DCN3.1: don't mark as kernel-doc

There is no need for this one static function to be marked as kernel-doc notation.

Avoid this doc build warning:

warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Enable CRTC

Fixes 110d3968fe95 ("drm/amd/display: Add DCN3.1 OPTC")
Cc Alex Deucher <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
Cc Christian König <[email protected]>
Cc "Pan, Xinhui" <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Leo Li <[email protected]>
Cc Rodrigo Siqueira <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c +1 -2
@@ -91,8 +91,7 @@ static void optc31_set_odm_combine(struc
 	optc1->opp_count = opp_cnt;
 }
 
-/**
- * Enable CRTC
+/*
  * Enable CRTC - call ASIC Control Object to enable Timing generator.
  */
 static bool optc31_enable_crtc(struct timing_generator *optc)
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 35 lines · Randy Dunlap

There is no need for this one static function to be marked as kernel-doc notation.

Avoid this doc build warning:

warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Enable CRTC

Fixes 110d3968fe95 ("drm/amd/display: Add DCN3.1 OPTC")
Cc Alex Deucher <[email protected]>
Cc Nicholas Kazlauskas <[email protected]>
Cc Christian König <[email protected]>
Cc "Pan, Xinhui" <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Leo Li <[email protected]>
Cc Rodrigo Siqueira <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c +1 -2
@@ -91,8 +91,7 @@ static void optc31_set_odm_combine(struc
        optc1->opp_count = opp_cnt;
 }
 
-/**
- * Enable CRTC
+/*
  * Enable CRTC - call ASIC Control Object to enable Timing generator.
  */
 static bool optc31_enable_crtc(struct timing_generator *optc)