drm/amd/amdgpu: fix comparison pointer to bool warning in amdgpu_atpx_handler.c
authorZheng Bin <zhengbin13@huawei.com>
Wed, 9 Sep 2020 13:07:19 +0000 (21:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:43 +0000 (17:52 -0400)
commit8f00d1fc9d305add493e6bd379a4b05c284b11e9
tree522358f200c5d3b8290a9bcf66fa4dbaece6dc70
parent3d0c75afdc2963a8ea62598160397d0f69058231
drm/amd/amdgpu: fix comparison pointer to bool warning in amdgpu_atpx_handler.c

Fixes coccicheck warning:

drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c:619:15-49: WARNING: Comparison to bool
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c:629:15-49: WARNING: Comparison to bool

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c