From: Chandrabhanu Mahapatra Date: Mon, 24 Sep 2012 11:42:58 +0000 (+0530) Subject: OMAPDSS: Cleanup DSSDBG with dynamic pr_debug function X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~2^2^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702d267eb8ec66e1b2cde9448fc5960315ed8662;p=pandora-kernel.git 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 Reviewed-by: Sumit Semwal Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed