diff options
author | Lukasz Luba <[email protected]> | 2023-11-27 09:28:19 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-11-28 15:15:14 +0100 |
commit | b817f1488fca548fe50e2654d84a1956a16a1a8a (patch) | |
tree | a2b3730b261cc2e7b9bd055ac87043c407cfb112 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff) |
powercap: DTPM: Fix unneeded conversions to micro-Watts
The power values coming from the Energy Model are already in uW.
The PowerCap and DTPM frameworks operate on uW, so all places should
just use the values from the EM.
Fix the code by removing all of the conversion to uW still present in it.
Fixes: ae6ccaa65038 (PM: EM: convert power field to micro-Watts precision and align drivers)
Cc: 5.19+ <[email protected]> # v5.19+
Signed-off-by: Lukasz Luba <[email protected]>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions