summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <funfunctor@folklore1984.net>2016-07-12 10:17:52 +1000
committerAlex Deucher <alexander.deucher@amd.com>2016-07-29 14:36:48 -0400
commited5121a3d8fdd8992a82a3815642fc46108300fc (patch)
treeba3f1b36808a7b87dd771a3761f1a966f1fb0388 /drivers/gpu/drm/amd/powerplay/amd_powerplay.c
parent9c3578af8152a4f0b5fc204ee5b97825e6d952e5 (diff)
downloadblackbird-obmc-linux-ed5121a3d8fdd8992a82a3815642fc46108300fc.tar.gz
blackbird-obmc-linux-ed5121a3d8fdd8992a82a3815642fc46108300fc.zip
drivers/amdgpu: Use 'true/false' for bool typed variables
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amd_powerplay.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/amd_powerplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
index f9e03ad0baa2..abbb658bdc1e 100644
--- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
+++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
@@ -176,7 +176,7 @@ static int pp_hw_fini(void *handle)
static bool pp_is_idle(void *handle)
{
- return 0;
+ return false;
}
static int pp_wait_for_idle(void *handle)
OpenPOWER on IntegriCloud