projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c862a
)
drivers/base/core.c: output device renaming messages with dev_dbg().
author
ethan.zhao
<ethan.kernel@gmail.com>
Sun, 13 Oct 2013 14:12:35 +0000
(22:12 +0800)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index bf35c557707f58921523ae65c058b6de35a98b29..67b180d855b2c7baf365e5174802581b3c766745 100644
(file)
--- 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) {