summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/cpu_cooling.c
diff options
context:
space:
mode:
authorhongbo.zhang <hongbo.zhang@linaro.com>2012-10-30 17:48:57 +0100
committerZhang Rui <rui.zhang@intel.com>2012-11-07 07:49:25 +0100
commit6b6519df84afcda294c487bccb83a8caecb48acd (patch)
tree6b10d0c5bf276f65ecdc0f323b8a3507725a01d7 /drivers/thermal/cpu_cooling.c
parentthermal: rcar_thermal: remove explicitly used devm_kfree/iounap() (diff)
downloadlinux-6b6519df84afcda294c487bccb83a8caecb48acd.tar.xz
linux-6b6519df84afcda294c487bccb83a8caecb48acd.zip
Thermal: add indent for code alignment.
The curly bracket should be aligned with corresponding if else statements. Signed-off-by: hongbo.zhang <hongbo.zhang@linaro.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/cpu_cooling.c')
-rw-r--r--drivers/thermal/cpu_cooling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index cc1c930a90e4..b6b4c2a3f5b6 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -369,7 +369,7 @@ struct thermal_cooling_device *cpufreq_cooling_register(
if (min != policy.cpuinfo.min_freq ||
max != policy.cpuinfo.max_freq)
return ERR_PTR(-EINVAL);
-}
+ }
}
cpufreq_dev = kzalloc(sizeof(struct cpufreq_cooling_device),
GFP_KERNEL);