]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: fix missing device_attr cleanup in amdgpu_pm_sysfs_init()
authorYang Wang <kevinyang.wang@amd.com>
Thu, 30 Oct 2025 05:06:24 +0000 (13:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:52:46 +0000 (11:52 -0500)
commit4c4c138a1c86775c4d47e24f26357a1f8b64d0a3
tree2593f5fcb7c0633d6f21675e7f3cbfb7578d2fbb
parent8f94d5d0d7ec2af5c583ca6666acfc8f4413a850
drm/amd/pm: fix missing device_attr cleanup in amdgpu_pm_sysfs_init()

Use the correct label to complete all cleanup work.

Fixes: 4d154b1ca580 ("drm/amd/pm: Add support for DPM policies")
Fixes: 25e82f2e2c59 ("drm/amd/pm: Add temperature metrics sysfs entry")
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c