]> git.karo-electronics.de Git - linux-beck.git/commit
tty: serial: 8250: Remove SERIAL_DEBUG_PNP macro
authorPhillip Raffeck <phillip.raffeck@fau.de>
Thu, 14 Jan 2016 15:08:20 +0000 (16:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 07:15:53 +0000 (23:15 -0800)
commit952773b52b5ef8d6ea4ecbe37424b53d4f0c4704
tree1d8e49a0828e2deac487f327c3c73323e5b21222
parent9f59fbf0f22f79e11cf74fc19581726e3f118d57
tty: serial: 8250: Remove SERIAL_DEBUG_PNP macro

This patch removes the macro SERIAL_DEBUG_PNP, which is used to enable
debugging at compile time.
As SERIAL_DEBUG_PNP is an orphan, the corresponding #ifdef is removed.
To keep the ability to enable debugging at compile time,
the call to printk(KERN_DEBUG ...) is replaced by a corresponding
call to dev_dbg(), which is configurable via CONFIG_DYNAMIC_DEBUG.

Signed-off-by: Phillip Raffeck <phillip.raffeck@fau.de>
Signed-off-by: Anton Würfel <anton.wuerfel@fau.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-kernel@i4.cs.fau.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pnp.c