]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/pm: Fix the return value in default case
authorMa Jun <Jun.Ma2@amd.com>
Wed, 18 Oct 2023 07:17:40 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Oct 2023 22:41:21 +0000 (18:41 -0400)
commitd8da213478bcd0b2dde7a4591a0a6924a97592c7
treee7ccb74a3b618a847c208ba4f1f69f18d58a9e95
parent8eece69acee335580449ced3356f150610916fba
drm/amd/pm: Fix the return value in default case

Fix the return value in default case and drop
redundant 'break'.

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c