summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorEvgeny Kapaev <orener300@gmail.com>2013-10-15 21:42:52 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-17 00:21:06 +0200
commit7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7 (patch)
tree65b84c0b4eca2c18f4bd17767b99a28fd37e7cbb /drivers/cpufreq
parent1bab64d50e09706ee2e634b2df3c53346f0a0dbb (diff)
downloadop-kernel-dev-7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7.zip
op-kernel-dev-7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7.tar.gz
speedstep-centrino: Remove unnecessary braces
As per coding style, braces {} are not necessary for single statement block Signed-off-by: Evgeny Kapaev <orener300@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/speedstep-centrino.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c
index 6b882c7..25e45f8 100644
--- a/drivers/cpufreq/speedstep-centrino.c
+++ b/drivers/cpufreq/speedstep-centrino.c
@@ -371,9 +371,8 @@ static int centrino_cpu_init(struct cpufreq_policy *policy)
return -ENODEV;
}
- if (centrino_cpu_init_table(policy)) {
+ if (centrino_cpu_init_table(policy))
return -ENODEV;
- }
/* Check to see if Enhanced SpeedStep is enabled, and try to
enable it if not. */
OpenPOWER on IntegriCloud