aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/powercap/dtpm.c
diff options
context:
space:
mode:
authorYang Li <[email protected]>2024-03-01 08:18:02 +0000
committerRafael J. Wysocki <[email protected]>2024-03-01 20:39:10 +0000
commit44c9cf9aaa48c308b31dba3001d821d74155fc3d (patch)
tree4c517dd402c69c0ddf355213ac9f0212418bc989 /drivers/powercap/dtpm.c
parentpowercap: dtpm_cpu: Fix error check against freq_qos_add_request() (diff)
downloadkernel-44c9cf9aaa48c308b31dba3001d821d74155fc3d.tar.gz
kernel-44c9cf9aaa48c308b31dba3001d821d74155fc3d.zip
powercap: dtpm: Fix kernel-doc for dtpm_create_hierarchy() function
The existing comment block above the dtpm_create_hierarchy function does not conform to the kernel-doc standard. This patch fixes the documentation to match the expected kernel-doc format, which includes a structured documentation header with param and return value. Signed-off-by: Yang Li <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/powercap/dtpm.c')
-rw-r--r--drivers/powercap/dtpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/powercap/dtpm.c b/drivers/powercap/dtpm.c
index ce920f17f45f..f390665743c4 100644
--- a/drivers/powercap/dtpm.c
+++ b/drivers/powercap/dtpm.c
@@ -522,7 +522,7 @@ static int dtpm_for_each_child(const struct dtpm_node *hierarchy,
/**
* dtpm_create_hierarchy - Create the dtpm hierarchy
- * @hierarchy: An array of struct dtpm_node describing the hierarchy
+ * @dtpm_match_table: Pointer to the array of device ID structures
*
* The function is called by the platform specific code with the
* description of the different node in the hierarchy. It creates the