Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

ethan.zhao and committed by
Greg Kroah-Hartman
69df7533 64c862a8

+1 -2
+1 -2
drivers/base/core.c
··· 1816 1816 if (!dev) 1817 1817 return -EINVAL; 1818 1818 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); 1821 1820 1822 1821 old_device_name = kstrdup(dev_name(dev), GFP_KERNEL); 1823 1822 if (!old_device_name) {