From 76cd3f4303674ad69074516ef66966941895ddeb Mon Sep 17 00:00:00 2001 From: Andy Gospodarek Date: Tue, 20 May 2008 09:39:05 -0400 Subject: [PATCH] drivers: make device rename notification more visible in logs RHBZ 253174 This changes the output so device rename events will show up during normal operation. These messages should make what appears to be mysterious renames more understandable to users. --- drivers/base/class.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/base/class.c b/drivers/base/class.c index de89083..5083baa 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c @@ -795,7 +795,7 @@ int class_device_rename(struct class_device *class_dev, char *new_name) if (!class_dev) return -EINVAL; - pr_debug("CLASS: renaming '%s' to '%s'\n", class_dev->class_id, + pr_info("CLASS: renaming '%s' to '%s'\n", class_dev->class_id, new_name); if (class_dev->dev) -- 1.5.2.1