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

Skip to content
Commit 2229a123 authored by Stephen Boyd's avatar Stephen Boyd Committed by Jonathan Avila
Browse files

PM / devfreq: bw_hwmon: Split out sw and hw paths



Let's split out the sw and hw counter configuration code paths
indicated by has_hw_sampling() into inline functions for the two
different types of monitors. This allows us to add different
types of monitors in the future with minimal changes.

Change-Id: I5cf6a1fe4d84ee0958fe68601cb1e76836d10256
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
[remove unnecessary assignments]
Signed-off-by: default avatarJonathan Avila <avilaj@codeaurora.org>
parent 1529ad87
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