mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
drm/amdgpu/pm: remove duplicate check
FAMILY_KV is APUs and we already check for APUs. Reviewed-by: Evan Quan <evan.quan@amd.com> Acked-by: Nirmoy Das <nirmoy.das@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
cdab4211f6
commit
d0eb1b5ceb
|
|
@ -3311,8 +3311,7 @@ static umode_t hwmon_attributes_visible(struct kobject *kobj,
|
|||
}
|
||||
|
||||
if (((adev->flags & AMD_IS_APU) ||
|
||||
adev->family == AMDGPU_FAMILY_SI || /* not implemented yet */
|
||||
adev->family == AMDGPU_FAMILY_KV) && /* not implemented yet */
|
||||
adev->family == AMDGPU_FAMILY_SI) && /* not implemented yet */
|
||||
(attr == &sensor_dev_attr_power1_average.dev_attr.attr ||
|
||||
attr == &sensor_dev_attr_power1_cap_max.dev_attr.attr ||
|
||||
attr == &sensor_dev_attr_power1_cap_min.dev_attr.attr||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user