aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-17 13:12:03 -0400
committerZhang Rui <rui.zhang@intel.com>2013-04-26 21:25:43 -0400
commitd8892a01b13c8ea3ad74fb0c56beb96e92a2c65e (patch)
tree8d8fad73b801e9179892db35f64c0d8777f0a3a8 /drivers/thermal
parent1b9e35265903c2e0e484dc224e8f7de506e3353f (diff)
thermal: cpu_cooling: align on open parenthesis
Improve code readiness by remove checkpatch.pl warnings on get_property function. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/cpu_cooling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 2d94ffa3230d..34d807bc5c3f 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -141,7 +141,8 @@ enum cpufreq_cooling_property {
141 * Return: 0 on success, -EINVAL when invalid parameters are passed. 141 * Return: 0 on success, -EINVAL when invalid parameters are passed.
142 */ 142 */
143static int get_property(unsigned int cpu, unsigned long input, 143static int get_property(unsigned int cpu, unsigned long input,
144 unsigned int* output, enum cpufreq_cooling_property property) 144 unsigned int *output,
145 enum cpufreq_cooling_property property)
145{ 146{
146 int i, j; 147 int i, j;
147 unsigned long max_level = 0, level = 0; 148 unsigned long max_level = 0, level = 0;