Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c0537729 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

devfreq: Use devfreq_update_stats for gpu governors



This is the recommended way of using the devfreq api from
within governors. The devfreq_update_stats() will utilize the
devfreq.last_status to get the target device status so we no
longer need to declare a local variable to get the target
status.

Change-Id: I5d80e39468e3eb90e55dcb0a813cb846a65ee8a5
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 7eaf07a0
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