diff options
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/cpu_cooling.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index f98a763af2f5..6f2d41e7a9e7 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c | |||
@@ -121,7 +121,7 @@ enum cpufreq_cooling_property { | |||
121 | }; | 121 | }; |
122 | 122 | ||
123 | /** | 123 | /** |
124 | * get_property - fetch a property of interest for a give cpu. | 124 | * get_property - fetch a property of interest for a given cpu. |
125 | * @cpu: cpu for which the property is required | 125 | * @cpu: cpu for which the property is required |
126 | * @input: query parameter | 126 | * @input: query parameter |
127 | * @output: query return | 127 | * @output: query return |
@@ -131,6 +131,7 @@ enum cpufreq_cooling_property { | |||
131 | * 1. get maximum cpu cooling states | 131 | * 1. get maximum cpu cooling states |
132 | * 2. translate frequency to cooling state | 132 | * 2. translate frequency to cooling state |
133 | * 3. translate cooling state to frequency | 133 | * 3. translate cooling state to frequency |
134 | * | ||
134 | * Note that the code may be not in good shape | 135 | * Note that the code may be not in good shape |
135 | * but it is written in this way in order to: | 136 | * but it is written in this way in order to: |
136 | * a) reduce duplicate code as most of the code can be shared. | 137 | * a) reduce duplicate code as most of the code can be shared. |
@@ -211,7 +212,7 @@ static int get_property(unsigned int cpu, unsigned long input, | |||
211 | } | 212 | } |
212 | 213 | ||
213 | /** | 214 | /** |
214 | * cpufreq_cooling_get_level - for a give cpu, return the cooling level. | 215 | * cpufreq_cooling_get_level - for a given cpu, return the cooling level. |
215 | * @cpu: cpu for which the level is required | 216 | * @cpu: cpu for which the level is required |
216 | * @freq: the frequency of interest | 217 | * @freq: the frequency of interest |
217 | * | 218 | * |