Skip to content

Commit 69df753

Browse files
ethan.zhaogregkh
authored andcommitted
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>
1 parent 64c862a commit 69df753

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/base/core.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,8 +1816,7 @@ int device_rename(struct device *dev, const char *new_name)
18161816
if (!dev)
18171817
return -EINVAL;
18181818

1819-
pr_debug("device: '%s': %s: renaming to '%s'\n", dev_name(dev),
1820-
__func__, new_name);
1819+
dev_dbg(dev, "renaming to %s\n", new_name);
18211820

18221821
old_device_name = kstrdup(dev_name(dev), GFP_KERNEL);
18231822
if (!old_device_name) {

0 commit comments

Comments
 (0)