diff options
author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2023-02-16 19:49:43 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-02-17 00:53:51 +0300 |
commit | f99926383bd62d2b707e4599b4e096e943f63d42 (patch) | |
tree | 92c3f598ac6c41b431a401e10b0332c0cc82f6fb /tools/perf/scripts/python/libxed.py | |
parent | 02107ef11b438a2528a113d8a546d4dceb8bcce1 (diff) | |
download | linux-f99926383bd62d2b707e4599b4e096e943f63d42.tar.xz |
drm/i915/hwmon: Replace hwm_field_scale_and_write with hwm_power_max_write
hwm_field_scale_and_write has a single caller hwm_power_write and is
specific to hwm_power_write but makes it appear that it is a general
function which can have multiple callers. Replace the function with
hwm_power_max_write which is specific to hwm_power_write and use that in
future patches where the function needs to be extended.
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230216164944.2366150-2-ashutosh.dixit@intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions