Re: [PATCH 2/2] drm/amd/powerplay: some cosmetic fixes

2019-07-23 Thread Deucher, Alexander
Series is: Reviewed-by: Alex Deucher From: amd-gfx on behalf of Evan Quan Sent: Tuesday, July 23, 2019 4:41 AM To: amd-gfx@lists.freedesktop.org Cc: Quan, Evan Subject: [PATCH 2/2] drm/amd/powerplay: some cosmetic fixes Drop redundant check, duplicate check

[PATCH 2/2] drm/amd/powerplay: some cosmetic fixes

2019-07-23 Thread Evan Quan
Drop redundant check, duplicate check, duplicate setting and fix the return value. Change-Id: I04171bcac82f17152371d05e6958d4fc072c0f6b Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 33 +++--- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 30 ---