drm/amd/powerplay: fix boolreturn.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Sat, 5 Dec 2015 00:13:27 +0000 (19:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:49 +0000 (16:42 -0500)
commit195567e99bdf6491a370b71a1dcf6b4c891495d7
tree5d2eaf762929b879aa52efeda8b8edd6b0ebe9e8
parentdb18ce397c0928bb420a511db52ce36c2003676e
drm/amd/powerplay: fix boolreturn.cocci warnings

drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ppatomctrl.c:475:10-11: WARNING: return of 0/1 in function 'atomctrl_lookup_gpio_pin' with return type bool

 Return statements in functions returning bool should use
 true/false instead of 1/0.
Generated by: scripts/coccinelle/misc/boolreturn.cocci

CC: yanyang1 <young.yang@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c