diff options
| author | Alex Deucher <[email protected]> | 2018-01-24 22:44:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-02-19 19:18:51 +0000 |
| commit | 21a381f79e807052cbb8cb8f855caa6d13a5737b (patch) | |
| tree | 85016dc97fe6d5af2d1def0c42bce49b1c08f2c5 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/amdgpu/pm: use read_sensor API to get temperature (diff) | |
| download | kernel-21a381f79e807052cbb8cb8f855caa6d13a5737b.tar.gz kernel-21a381f79e807052cbb8cb8f855caa6d13a5737b.zip | |
drm/amdgpu/pp: remove the get_temperature API
This is also supported with the read_sensor API and there
were no more users of the get_temperature API.
Acked-by: Christian König <[email protected]>
Reviewed-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index 659467aa9920..6c53c6bc03eb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c @@ -1620,9 +1620,6 @@ int amdgpu_pm_sysfs_init(struct amdgpu_device *adev) if (adev->pm.dpm_enabled == 0) return 0; - if (adev->powerplay.pp_funcs->get_temperature == NULL) - return 0; - adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, DRIVER_NAME, adev, hwmon_groups); |
