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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:19 +0000 (08:42 -0700)
commit6c0fe421ecbdac7e34ef3d16b8a90ea13439ed91
treedc14d5bbb1eb9fd6195f00f314084842a61b1345
parent2bd21542f31fb3ab1c2155634e9e7002dedbdcfa
drm/amd/powerplay: incorrectly use of the function return value

commit 4b2427605e5325eafb5cfc2698f517db68e41075 upstream.

'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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_processpptables.c