2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/video/omap2
Chandrabhanu Mahapatra 702d267eb8 OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function
The printk in DSSDBG function definition is replaced with dynamic debug enabled
pr_debug(). The use of dynamic debugging provides more flexibility as each debug
statement can be enabled or disabled dynamically on basis of source filename,
line number, module name etc., by writing to a control file in debugfs
filesystem. For better understanding please refer to
Documentation/dynamic-debug-howto.txt.

The DSSDBGF() differs from DSSDBG() by providing function name. However,
function name, line number, module name and thread ID can be printed through
dynamic debug by setting appropriate flags 'f','l','m' and 't' in the debugfs
control file. So, DSSDBGF instances are replaced with DSSDBG.

Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com>
Reviewed-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-10-12 14:15:30 +03:00
..
displays OMAPDSS: TFP410: use devm_gpio_request_one 2012-09-07 20:02:09 +03:00
dss OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function 2012-10-12 14:15:30 +03:00
omapfb OMAPFB: Change dssdev->manager references 2012-09-26 14:58:37 +03:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: VRAM: Remove clearing with sDMA 2012-09-07 20:02:09 +03:00
vrfb.c OMAPDSS: VRFB: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:15 +03:00