diff options
author | Viresh Kumar <[email protected]> | 2017-04-25 15:57:23 +0530 |
---|---|---|
committer | Eduardo Valentin <[email protected]> | 2017-05-27 17:32:59 -0700 |
commit | cb1b631864ad7e34324ceccb73d0226dd00ad90d (patch) | |
tree | 5c1c1834844c1c7d86ac7e6fc8750998c4a84bee /tools/perf/scripts/python/intel-pt-events.py | |
parent | 53ca1ece60a719e23f686c647cb05d9e12a31974 (diff) |
thermal: cpu_cooling: 'freq' can't be zero in cpufreq_state2power()
The frequency table shouldn't have any zero frequency entries and so
such a check isn't required. Though it would be better to make sure
'state' is within limits.
Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Tested-by: Lukasz Luba <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions