From 69df75334bf6d68a0a74397c2cc32172f0d7d620 Mon Sep 17 00:00:00 2001 From: "ethan.zhao" Date: Sun, 13 Oct 2013 22:12:35 +0800 Subject: drivers/base/core.c: output device renaming messages with dev_dbg(). Replace pr_debug() with dev_dbg(). Signed-off-by: ethan.zhao Signed-off-by: Greg Kroah-Hartman --- drivers/base/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/base') diff --git a/drivers/base/core.c b/drivers/base/core.c index bf35c557707f..67b180d855b2 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -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) { -- cgit v1.2.3