drm/amd/powerplay: fix static checker warning for return meaningless value.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 11 Jan 2016 03:25:18 +0000 (11:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 16:38:42 +0000 (11:38 -0500)
commitf3b5cb3e68952d4a721cc733e03eeb5151dcaa1e
treeb0a0e77e6ddce6894609c03f78375bb65d1e2968
parent5f2323658e4829ffb893553297e64795a90cbcd9
drm/amd/powerplay: fix static checker warning for return meaningless value.

The return value should be either negative or zero, no positive.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c