summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-11-08 13:01:21 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-13 19:59:48 -0800
commit83db1df4461c8731a413cd6cb1cbf351f01a57b1 (patch)
treed7cdf54c187c59f5f04bd39f10431476402eca60 /drivers/tty/tty_io.c
parent6d029c68de1219ed791b484d0d289562a51520c7 (diff)
downloadlinux-83db1df4461c8731a413cd6cb1cbf351f01a57b1.tar.gz
linux-83db1df4461c8731a413cd6cb1cbf351f01a57b1.tar.bz2
linux-83db1df4461c8731a413cd6cb1cbf351f01a57b1.zip
tty: core: Prefer dev_dbg() over pr_debug()
Where possible, use dev_dbg() instead of pr_debug() Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r--drivers/tty/tty_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index f8e1fce9bdfd..f38ae01c3917 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -3211,7 +3211,7 @@ EXPORT_SYMBOL(tty_register_device);
static void tty_device_create_release(struct device *dev)
{
- pr_debug("device: '%s': %s\n", dev_name(dev), __func__);
+ dev_dbg(dev, "releasing...\n");
kfree(dev);
}