]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/base/core.c: output device renaming messages with dev_dbg().
authorethan.zhao <ethan.kernel@gmail.com>
Sun, 13 Oct 2013 14:12:35 +0000 (22:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2013 01:33:27 +0000 (18:33 -0700)
Replace pr_debug() with dev_dbg().

Signed-off-by: ethan.zhao <ethan.kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c

index bf35c557707f58921523ae65c058b6de35a98b29..67b180d855b2c7baf365e5174802581b3c766745 100644 (file)
@@ -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) {