提交 69df7533 编写于 作者: E ethan.zhao 提交者: Greg Kroah-Hartman

drivers/base/core.c: output device renaming messages with dev_dbg().

Replace pr_debug() with dev_dbg().
Signed-off-by: Nethan.zhao <ethan.kernel@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 64c862a8
......@@ -1816,8 +1816,7 @@ int device_rename(struct device *dev, const char *new_name)
if (!dev)
return -EINVAL;
pr_debug("device: '%s': %s: renaming to '%s'\n", dev_name(dev),
__func__, new_name);
dev_dbg(dev, "renaming to %s\n", new_name);
old_device_name = kstrdup(dev_name(dev), GFP_KERNEL);
if (!old_device_name) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册