diff options
author | ethan.zhao <ethan.kernel@gmail.com> | 2013-10-13 22:12:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 18:33:27 -0700 |
commit | 69df75334bf6d68a0a74397c2cc32172f0d7d620 (patch) | |
tree | 22ea4fd18831d3650f844c20d7da4515eb7a4d51 /drivers/base/core.c | |
parent | 64c862a839a8db2c02bbaa88b923d13e1208919d (diff) | |
download | op-kernel-dev-69df75334bf6d68a0a74397c2cc32172f0d7d620.zip op-kernel-dev-69df75334bf6d68a0a74397c2cc32172f0d7d620.tar.gz |
drivers/base/core.c: output device renaming messages with dev_dbg().
Replace pr_debug() with dev_dbg().
Signed-off-by: ethan.zhao <ethan.kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r-- | drivers/base/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index bf35c55..67b180d 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) { |