diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-01-02 12:34:23 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-01-23 22:49:33 +0100 |
commit | f13f1184a1f4e046306c33e542b4d654866e5d70 (patch) | |
tree | 59e7a8a1fd417c1eceb3c6e77d1973ec56c53203 /drivers/cpufreq | |
parent | e673f1639bc565ce3509ed36bc3987c2af407cd2 (diff) |
cpufreq: remove extra parenthesis
We can live without it and so we should.
Signed-off-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/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index a95cdc5aa3c..a180bb40054 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -903,7 +903,7 @@ static int cpufreq_add_dev_interface(struct cpufreq_policy *policy, /* set up files for this cpu device */ drv_attr = cpufreq_driver->attr; - while ((drv_attr) && (*drv_attr)) { + while (drv_attr && *drv_attr) { ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); if (ret) return ret; |