projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e673f16
)
cpufreq: remove extra parenthesis
author
Viresh Kumar
<viresh.kumar@linaro.org>
Fri, 2 Jan 2015 07:04:23 +0000
(12:34 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:49:33 +0000
(22:49 +0100)
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>
drivers/cpufreq/cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index a95cdc5aa3c53ae457ce814acab2a0c0672bba2c..a180bb40054caf65b65112567b4fdbf734fe125d 100644
(file)
--- 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;