drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr

[ Upstream commit 86df36b934 ]

Clear warnings that using uninitialized value level when fails
to get the value from SMU.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Tim Huang 2024-04-26 12:52:45 +08:00 • committed by Greg Kroah-Hartman
commit 1dbce92f32