diff options
| author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2023-02-16 08:49:43 -0800 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-02-16 16:53:51 -0500 |
| commit | f99926383bd62d2b707e4599b4e096e943f63d42 (patch) | |
| tree | 92c3f598ac6c41b431a401e10b0332c0cc82f6fb /drivers/fpga/fpga-mgr.c | |
| parent | 02107ef11b438a2528a113d8a546d4dceb8bcce1 (diff) | |
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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
