From: Bjorn Helgaas Date: Tue, 19 Aug 2008 22:53:36 +0000 (-0600) Subject: PNP: remove some uses of DEBUG ifdef X-Git-Tag: v2.6.28-rc1~26^2~13^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2663f60d434139298835af690f4891cec5c1e501;p=pandora-kernel.git PNP: remove some uses of DEBUG ifdef Use scnprintf() to build up a buffer of PNP IDs to print. This makes the printk atomic and helps get rid of an #ifdef. Also remove an "#ifdef DEBUG" from some debug functions. The functions only produce debug output, so it's OK to run the function and just have the output be dropped at the end. Signed-off-by: Bjorn Helgaas Signed-off-by: Andi Kleen Signed-off-by: Len Brown --- Reading git-diff-tree failed