Commit 83db1df4 authored by Peter Hurley's avatar Peter Hurley Committed by Greg Kroah-Hartman

tty: core: Prefer dev_dbg() over pr_debug()

Where possible, use dev_dbg() instead of pr_debug()
Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6d029c68
...@@ -3211,7 +3211,7 @@ EXPORT_SYMBOL(tty_register_device); ...@@ -3211,7 +3211,7 @@ EXPORT_SYMBOL(tty_register_device);
static void tty_device_create_release(struct device *dev) 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); kfree(dev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment