summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/cpu_cooling.c
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2013-04-17 19:12:03 +0200
committerZhang Rui <rui.zhang@intel.com>2013-04-27 03:25:43 +0200
commitd8892a01b13c8ea3ad74fb0c56beb96e92a2c65e (patch)
tree8d8fad73b801e9179892db35f64c0d8777f0a3a8 /drivers/thermal/cpu_cooling.c
parentthermal: cpu_cooling: standardize comment style (diff)
downloadlinux-d8892a01b13c8ea3ad74fb0c56beb96e92a2c65e.tar.xz
linux-d8892a01b13c8ea3ad74fb0c56beb96e92a2c65e.zip
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/cpu_cooling.c')
-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 {
* Return: 0 on success, -EINVAL when invalid parameters are passed.
*/
static int get_property(unsigned int cpu, unsigned long input,
- unsigned int* output, enum cpufreq_cooling_property property)
+ unsigned int *output,
+ enum cpufreq_cooling_property property)
{
int i, j;
unsigned long max_level = 0, level = 0;