Archived
14
0
Fork 0

acpi-cpufreq: style-only: add parens to math expression

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Thomas Renninger 2009-04-17 16:22:07 +02:00 committed by Len Brown
parent e0e8c4e512
commit d91758f5dd

View file

@ -340,7 +340,7 @@ static unsigned int get_measured_perf(struct cpufreq_policy *policy,
#endif
retval = per_cpu(drv_data, policy->cpu)->max_freq * perf_percent / 100;
retval = (per_cpu(drv_data, policy->cpu)->max_freq * perf_percent) / 100;
return retval;
}