drm/radeon: use true,false for bool variable in rv770.c

Fixes coccicheck warning:

drivers/gpu/drm/radeon/rv770.c:1706:2-15: 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>
This commit is contained in:
zhengbin 2019-12-23 17:25:50 +08:00 committed by Alex Deucher
parent f30abb96b5
commit 1f6e717c21

View File

@ -1703,7 +1703,7 @@ static void rv770_uvd_init(struct radeon_device *rdev)
* there. So it is pointless to try to go through that code * there. So it is pointless to try to go through that code
* hence why we disable uvd here. * hence why we disable uvd here.
*/ */
rdev->has_uvd = 0; rdev->has_uvd = false;
return; return;
} }
rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL;