Skip to content

Commit 44c9cf9

Browse files
Yang Lirafaeljw
authored andcommitted
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 <yang.lee@linux.alibaba.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent b50155c commit 44c9cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/powercap/dtpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ static int dtpm_for_each_child(const struct dtpm_node *hierarchy,
522522

523523
/**
524524
* dtpm_create_hierarchy - Create the dtpm hierarchy
525-
* @hierarchy: An array of struct dtpm_node describing the hierarchy
525+
* @dtpm_match_table: Pointer to the array of device ID structures
526526
*
527527
* The function is called by the platform specific code with the
528528
* description of the different node in the hierarchy. It creates the

0 commit comments

Comments
 (0)