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:
parent
e0e8c4e512
commit
d91758f5dd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue