Commit 37e3567
drm/amd/pm: fix missing device_attr cleanup in amdgpu_pm_sysfs_init()
Use the correct label to complete all cleanup work.
Fixes: 4d154b1 ("drm/amd/pm: Add support for DPM policies")
Fixes: 25e82f2 ("drm/amd/pm: Add temperature metrics sysfs entry")
Signed-off-by: Yang Wang <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 4c4c138)1 parent 90b75e1 commit 37e3567
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4724 | 4724 | | |
4725 | 4725 | | |
4726 | 4726 | | |
4727 | | - | |
| 4727 | + | |
4728 | 4728 | | |
4729 | 4729 | | |
4730 | 4730 | | |
4731 | 4731 | | |
4732 | 4732 | | |
4733 | 4733 | | |
4734 | | - | |
| 4734 | + | |
4735 | 4735 | | |
4736 | 4736 | | |
4737 | 4737 | | |
| |||
0 commit comments