summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap2/dss/manager.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-15 15:29:38 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-29 12:06:30 +0300
commit0bcfdba6c0b76f5aabd55993a8a6fdf87a6ae3e1 (patch)
tree17266360362f1a687444e404618a9d8372ab6555 /drivers/video/fbdev/omap2/dss/manager.c
parent00355412d1fb589503fb9d9b7631bb522d42ed4b (diff)
downloadlinux-0bcfdba6c0b76f5aabd55993a8a6fdf87a6ae3e1.tar.xz
OMAPDSS: DISPC: Remove boolean comparisons
Boolean tests do not need explicit comparison to true or false. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/manager.c')
-rw-r--r--drivers/video/fbdev/omap2/dss/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/dss/manager.c b/drivers/video/fbdev/omap2/dss/manager.c
index 1aac9b4191a9..08a67f4f6a20 100644
--- a/drivers/video/fbdev/omap2/dss/manager.c
+++ b/drivers/video/fbdev/omap2/dss/manager.c
@@ -210,7 +210,7 @@ static int dss_mgr_check_lcd_config(struct omap_overlay_manager *mgr,
return -EINVAL;
/* fifohandcheck should be used only with stallmode */
- if (stallmode == false && fifohandcheck == true)
+ if (!stallmode && fifohandcheck)
return -EINVAL;
/*