drm/amd/psp: Fix sysfs: cannot create duplicate filename
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Fri, 16 Oct 2020 14:50:44 +0000 (10:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Oct 2020 21:33:43 +0000 (17:33 -0400)
commitf1bcddffe46b349a82445a8d9efd5f5fcb72557f
tree781b2de832a27f6b60f63d67b7bc425beba17a1d
parent5dff80bdce9e385af5716ed083f9e33e814484ab
drm/amd/psp: Fix sysfs: cannot create duplicate filename

psp sysfs not cleaned up on driver unload for sienna_cichlid

Fixes: ce87c98db428e7 ("drm/amdgpu: Include sienna_cichlid in USBC PD FW support.")
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.9.x
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c