[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1423517653-11359-9-git-send-email-edubezval@gmail.com>
Date: Mon, 9 Feb 2015 17:34:09 -0400
From: Eduardo Valentin <edubezval@...il.com>
To: Rui Zhang <rui.zhang@...el.com>,
ezequiel.garcia@...e-electrons.com, amit.kachhap@...aro.org,
viresh.kumar@...aro.org, amit.daniel@...sung.com,
hongbo.zhang@...aro.com, andrew@...n.ch, durgadoss.r@...el.com,
peter@...e.net, shawn.guo@...aro.org, aaron.lu@...el.com,
caesar.wang@...k-chips.com, b.zolnierkie@...sung.com,
l.majewski@...sung.com, vincenzo.frascino@...com,
mperttunen@...dia.com, mikko.perttunen@...si.fi,
srinivas.pandruvada@...ux.intel.com, jacob.jun.pan@...ux.intel.com,
bcousson@...libre.com
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Eduardo Valentin <edubezval@...il.com>
Subject: [PATCH RFC 08/12] thermal: fair share: fix kernel doc entry
Update kernel doc entry and correct the format. Now
kernel doc does not complain about it.
Signed-off-by: Eduardo Valentin <edubezval@...il.com>
---
drivers/thermal/fair_share.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/thermal/fair_share.c b/drivers/thermal/fair_share.c
index 6e0a3fb..a15ef0b 100644
--- a/drivers/thermal/fair_share.c
+++ b/drivers/thermal/fair_share.c
@@ -70,7 +70,8 @@ static long get_target_state(struct thermal_zone_device *tz,
/**
* fair_share_throttle - throttles devices asscciated with the given zone
- * @tz - thermal_zone_device
+ * @tz: thermal_zone_device
+ * @trip: the trip point
*
* Throttling Logic: This uses three parameters to calculate the new
* throttle state of the cooling devices associated with the given zone.
@@ -85,6 +86,8 @@ static long get_target_state(struct thermal_zone_device *tz,
* whereas the throttling is at full swing if we trip critical levels.
* (Heavily assumes the trip points are in ascending order)
* new_state of cooling device = P3 * P2 * P1
+ *
+ * Return: 0.
*/
static int fair_share_throttle(struct thermal_zone_device *tz, int trip)
{
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists