drivers/amdgpu: Use canonical boolean form in various predicates
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Tue, 12 Jul 2016 00:17:56 +0000 (10:17 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:50 +0000 (14:36 -0400)
commit4ba27f9ba993cdcb3637d9fedc61a121a5eb2387
tree0aed22378df0b1440eb44d1933e8f856a0bf1f7e
parent5969a8c76bc2d9b6348ab9e1cb02307805e94330
drivers/amdgpu: Use canonical boolean form in various predicates

V.2: Fixup by hand to remove a few instances of redundant '()'
left over.

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/powerplay/hwmgr/cz_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c