[02/11] thermal: cpu_cooling: Appease the kernel-doc deity

Message ID b545988db993ea8fe54c5250d35a8cb7ddaad1e5.1573046440.git.amit.kucheria@linaro.org
State Accepted
Commit 7b4e7f07a2c6dab26344e9802822206ba7337bed
Headers show
Series
  • thermal: clean up output of make W=1
Related show

Commit Message

Amit Kucheria Nov. 6, 2019, 1:28 p.m.
Describe the function parameter to fix the following warning with make
W=1:

linux.git/drivers/thermal/cpu_cooling.c:92: warning: Function parameter
or member 'qos_req' not described in 'cpufreq_cooling_device'

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

---
 drivers/thermal/cpu_cooling.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1

Comments

Viresh Kumar Nov. 7, 2019, 2:16 a.m. | #1
On 06-11-19, 18:58, Amit Kucheria wrote:
> Describe the function parameter to fix the following warning with make

> W=1:

> 

> linux.git/drivers/thermal/cpu_cooling.c:92: warning: Function parameter

> or member 'qos_req' not described in 'cpufreq_cooling_device'

> 

> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>

> ---

>  drivers/thermal/cpu_cooling.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c

> index 6b9865c786ba3..c1523b9d06954 100644

> --- a/drivers/thermal/cpu_cooling.c

> +++ b/drivers/thermal/cpu_cooling.c

> @@ -75,6 +75,7 @@ struct time_in_idle {

>   * @policy: cpufreq policy.

>   * @node: list_head to link all cpufreq_cooling_device together.

>   * @idle_time: idle time stats

> + * @qos_req: PM QoS contraint to apply

>   *

>   * This structure is required for keeping information of each registered

>   * cpufreq_cooling_device.


Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


-- 
viresh

Patch

diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 6b9865c786ba3..c1523b9d06954 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -75,6 +75,7 @@  struct time_in_idle {
  * @policy: cpufreq policy.
  * @node: list_head to link all cpufreq_cooling_device together.
  * @idle_time: idle time stats
+ * @qos_req: PM QoS contraint to apply
  *
  * This structure is required for keeping information of each registered
  * cpufreq_cooling_device.