aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c3
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)
1620 if (adev->pm.dpm_enabled == 0) 1620 if (adev->pm.dpm_enabled == 0)
1621 return 0; 1621 return 0;
1622 1622
1623 if (adev->powerplay.pp_funcs->get_temperature == NULL)
1624 return 0;
1625
1626 adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev, 1623 adev->pm.int_hwmon_dev = hwmon_device_register_with_groups(adev->dev,
1627 DRIVER_NAME, adev, 1624 DRIVER_NAME, adev,
1628 hwmon_groups); 1625 hwmon_groups);