[PATCH] thermal: of: Fix doc string phy mode -> trip type

From: Moritz Fischer
Date: Fri Sep 15 2017 - 12:33:09 EST


This function does not look for a phy mode, but a
trip type.

Signed-off-by: Moritz Fischer <mdf@xxxxxxxxxx>
---
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