summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2021-03-02 11:22:50 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2022-05-17 12:24:39 +0300
commit05723e71234b60a1a47313ea1a889797ec648f1c (patch)
tree8fae55f8edfabd2613991f2948cb0bd746aa427a /scripts/gdb/linux/utils.py
parenta03dacb0316f74400846aaf144d6c73f4217ca08 (diff)
downloadlinux-05723e71234b60a1a47313ea1a889797ec648f1c.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions