Skip to content

Commit

Permalink
acpi-cpufreq: style-only: add parens to math expression
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Thomas Renninger authored and Len Brown committed Apr 20, 2009
1 parent e0e8c4e commit d91758f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d91758f

Please sign in to comment.