linux/drivers/video/omap2/omapfb
Niels de Vos 41b21aebe6 OMAP: DSS2: OMAPFB: make DBG() more resistant in if-else constructions
When DBG() is used in a simple if-else, the resulting code path
currently depends on the definition of DBG(). Inserting the statement in
a "do { ... } while (0)" prevents this possible misuse.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
[tomi.valkeinen@ti.com: changed the title of the commit msg]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-05-11 14:20:54 +03:00
..
Kconfig OMAP2PLUS: DSS2: Add OMAP4 Kconfig support 2011-03-11 15:46:22 +02:00
Makefile
omapfb-ioctl.c OMAP: DSS2: Add method for querying display dimensions from DSS drivers 2011-05-11 14:19:24 +03:00
omapfb-main.c OMAP: DSS2: OMAPFB: Remove implicit display update on unblank 2011-05-11 14:19:25 +03:00
omapfb-sysfs.c OMAP: DSS2: Convert simple/strict_strto* to kstrto* 2011-05-11 14:20:11 +03:00
omapfb.h OMAP: DSS2: OMAPFB: make DBG() more resistant in if-else constructions 2011-05-11 14:20:54 +03:00