drm/amd/powerplay: incorrectly use of the function return value
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 5 Jul 2016 05:11:47 +0000 (13:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Jul 2016 21:43:59 +0000 (17:43 -0400)
commit4b2427605e5325eafb5cfc2698f517db68e41075
treed0c8dbb2e0b7ac7e69531dd69184230682754126
parent1dfefee8939b07dd65a35bb78f6a06df85578301
drm/amd/powerplay: incorrectly use of the function return value

'0' means true.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c