diff options
author | Viresh Kumar <[email protected]> | 2017-12-05 11:02:43 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-12-07 22:52:01 +0100 |
commit | f5f263fed66f75a4482d7ad49392b4283a05885a (patch) | |
tree | 230438b70d7eae17d8f4cd17bec052be342c19c4 /lib/debugobjects.c | |
parent | ae64f9bd1d3621b5e60d7363bc20afb46aede215 (diff) |
cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT
All the callers of of_cpufreq_power_cooling_register() have almost
identical code and it makes more sense to move that code into the helper
as its all about reading DT properties.
This got rid of lot of redundant code.
Acked-by: Eduardo Valentin <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions