[PATCH] Char: mxser_new, debug printk dependent on DEBUG
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:20 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:53 +0000 (08:28 -0800)
commit7f5899252b5052387ee983d67bbc55eafd33a516
tree0f0058706ca4675973517ab520a22109854ea06b
parente7eafa3245be66b3db5d430e2fb3414b1a32298a
[PATCH] Char: mxser_new, debug printk dependent on DEBUG

Print some debug info only when DEBUG is enabled (use pr_debug macro).
Eliminate verbose kernel parameter which takes care of this.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c