drivers/amdgpu: Use canonical form in branch predicates
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Tue, 12 Jul 2016 00:17:53 +0000 (10:17 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:48 +0000 (14:36 -0400)
commit004e29ccf034ea1fb08e77b76106891bb88fae6f
tree4d1101e968575e819c94c465ff2c3f09a9f2ea55
parented5121a3d8fdd8992a82a3815642fc46108300fc
drivers/amdgpu: Use canonical form in branch predicates

Found-by: Coccinelle
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c