OSDN Git Service

drm/amd/powerplay: use true, false for bool variable in vega20_hwmgr.c
authorzhengbin <zhengbin13@huawei.com>
Tue, 24 Dec 2019 02:08:14 +0000 (10:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:56:16 +0000 (11:56 -0500)
commite1ab862d89265ea43b3274503798f4437d10e2c2
treecb567c36817c29eeb4c2d447ced07258932df55c
parent337443d0e29054c95879a6a3149b29cc8fbd04df
drm/amd/powerplay: use true, false for bool variable in vega20_hwmgr.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c:875:1-31: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c