diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-03-28 17:34:27 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-03-28 17:34:27 +0300 |
commit | cfb810f85992071ef715188163afb34c1701dc85 (patch) | |
tree | e10881d2cf8a202c3bcbfe79072cd5cc2692ee35 /drivers | |
parent | e393cb1cd93c398a16ad28252a8f9b8e9d11721a (diff) | |
download | linux-cfb810f85992071ef715188163afb34c1701dc85.tar.xz |
video: fbdev: aty128fb: use true and false for boolean values
Assign true or false to boolean variables instead of an integer value.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/aty/aty128fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/aty/aty128fb.c b/drivers/video/fbdev/aty/aty128fb.c index db18474607c9..09b0e558dce8 100644 --- a/drivers/video/fbdev/aty/aty128fb.c +++ b/drivers/video/fbdev/aty/aty128fb.c @@ -1716,7 +1716,7 @@ static int aty128fb_setup(char *options) continue; } if(!strncmp(this_opt, "nomtrr", 6)) { - mtrr = 0; + mtrr = false; continue; } #ifdef CONFIG_PPC_PMAC |