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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:51:54 +0000 (11:51 +0100)
commit7d03d9b4df1a43baf81a6dc4329f8e23d10e2764
treec18b9354da944f1cb90e1e86b75cc379e1a07d21
parent6d85b48e063aab563ed1c3420e38325253891189
drm/amd/psp: Fix sysfs: cannot create duplicate filename

commit f1bcddffe46b349a82445a8d9efd5f5fcb72557f upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c