diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2021-03-02 17:22:50 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2022-05-17 18:24:39 +0900 |
commit | 05723e71234b60a1a47313ea1a889797ec648f1c (patch) | |
tree | 8fae55f8edfabd2613991f2948cb0bd746aa427a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a03dacb0316f74400846aaf144d6c73f4217ca08 (diff) |
PM / devfreq: passive: Reduce duplicate code when passive_devfreq case
In order to keep the consistent coding style between passive_devfreq
and passive_cpufreq, use common code for handling required opp property.
Also remove the unneed conditional statement and unify the comment
of both passive_devfreq and passive_cpufreq when getting the target frequency.
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Johnson Wang <johnson.wang@mediatek.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions