ppdev: reduce kernel log spam
authorMichael Buesch <mb@bu3sch.de>
Wed, 17 Jun 2009 23:27:49 +0000 (16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:54 +0000 (13:03 -0700)
commit81fc401e426e8a4c719035ef86d051bd0d1111e5
tree65c8397edef37f85b5ec79953d1da26dfa339bd0
parent9653a69e923522050e15dab042b163dcc2ed7111
ppdev: reduce kernel log spam

One of my programs frequently grabs the parport, does something with it
and then drops it again. This results in spamming of the kernel log with

"... registered pardevice"
"... unregistered pardevice"

These messages are completely useless, except for debugging ppdev,
probably.  So put them under DEBUG (or dynamic debug).

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ppdev.c