summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/fair_share.c
diff options
context:
space:
mode:
authorWilly WOLFF <willy.mh.wolff@gmail.com>2017-06-24 15:06:03 +0200
committerZhang Rui <rui.zhang@intel.com>2017-06-29 04:46:31 +0200
commit0d76d6e1eede5f2aa13695cb4c9d763bb3555e3e (patch)
tree791c1b0b122dd8df83273ba096c9bf50c9b03693 /drivers/thermal/fair_share.c
parentLinux 4.12-rc7 (diff)
downloadlinux-0d76d6e1eede5f2aa13695cb4c9d763bb3555e3e.tar.xz
linux-0d76d6e1eede5f2aa13695cb4c9d763bb3555e3e.zip
thermal: fix source code documentation for parameters
Some parameters are not documented, or not present at all, in thermal governors code. Signed-off-by: Willy Wolff <willy.mh.wolff@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/fair_share.c')
-rw-r--r--drivers/thermal/fair_share.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/fair_share.c b/drivers/thermal/fair_share.c
index 68bd1b569118..d3469fbc5207 100644
--- a/drivers/thermal/fair_share.c
+++ b/drivers/thermal/fair_share.c
@@ -71,6 +71,7 @@ static long get_target_state(struct thermal_zone_device *tz,
/**
* fair_share_throttle - throttles devices associated with the given zone
* @tz - thermal_zone_device
+ * @trip - trip point index
*
* Throttling Logic: This uses three parameters to calculate the new
* throttle state of the cooling devices associated with the given zone.