Skip to content
Commit 05723e71 authored by Chanwoo Choi's avatar Chanwoo Choi
Browse files

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: default avatarChen-Yu Tsai <wenst@chromium.org>
Tested-by: default avatarJohnson Wang <johnson.wang@mediatek.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent a03dacb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment