lkml.org 
[lkml]   [2017]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] thermal: of: Fix doc string phy mode -> trip type
Date
This function does not look for a phy mode, but a
trip type.

Signed-off-by: Moritz Fischer <mdf@kernel.org>
---
drivers/thermal/of-thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c
index d04ec3b9e5ff..4e23a09d8f63 100644
--- a/drivers/thermal/of-thermal.c
+++ b/drivers/thermal/of-thermal.c
@@ -730,7 +730,7 @@ static const char * const trip_types[] = {
};

/**
- * thermal_of_get_trip_type - Get phy mode for given device_node
+ * thermal_of_get_trip_type - Get trip type for given device_node
* @np: Pointer to the given device_node
* @type: Pointer to resulting trip type
*
--
2.14.1
\
 
 \ /
  Last update: 2017-09-15 18:34    [W:0.030 / U:0.600 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site