Skip to content

Commit 5f70413

Browse files
rddunlaprafaeljw
authored andcommitted
thermal: cpuidle_cooling: fix kernel-doc warning and a spello
Correct one misuse of kernel-doc notation and one spelling error as reported by codespell. cpuidle_cooling.c:152: warning: cannot understand function prototype: 'struct thermal_cooling_device_ops cpuidle_cooling_ops = ' For the kernel-doc warning, don't use "/**" for a comment on data. kernel-doc can be used for structure declarations but not definitions. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 04e6ccf commit 5f70413

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/thermal/cpuidle_cooling.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static unsigned int cpuidle_cooling_runtime(unsigned int idle_duration_us,
6666
* @state : a pointer to the state variable to be filled
6767
*
6868
* The function always returns 100 as the injection ratio. It is
69-
* percentile based for consistency accross different platforms.
69+
* percentile based for consistency across different platforms.
7070
*
7171
* Return: The function can not fail, it is always zero
7272
*/
@@ -146,7 +146,7 @@ static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev,
146146
return 0;
147147
}
148148

149-
/**
149+
/*
150150
* cpuidle_cooling_ops - thermal cooling device ops
151151
*/
152152
static struct thermal_cooling_device_ops cpuidle_cooling_ops = {

0 commit comments

Comments
 (0)