]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drm/amdgpu/pp: remove the get_temperature API
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_pm.c
index 659467aa992066487ffc967d43d7a271bd1e6de3..6c53c6bc03eb2b56191f99e0bb507da8d2502c0e 100644 (file)
@@ -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);
This page took 0.032749 seconds and 4 git commands to generate.