Skip to contentSkip to conversation

reduce rtc syslog spam

PATCH New David Brownell 1 participant 1 message Mar 6, 2007 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reduce rtc syslog spam

Make the RTC core less noisy. On fault paths this message is confusing; and on success, a message from the driver itself should be much more informative (displaying chip type, options, etc).

---
It would be nice if this cleanup went into 2.6.21, to reduce that confusion. Previous patches cleaned up the per-interface debug messages, but neglected this one.

drivers/rtc/class.c +1 -1
Index: linux-2.6/drivers/rtc/class.c
===================================================================
@@ -85,7 +85,7 @@ struct rtc_device *rtc_device_register(c
 	if (err)
 		goto exit_kfree;
 
-	dev_info(dev, "rtc core: registered %s as %s\n",
+	dev_dbg(dev, "rtc core: registered %s as %s\n",
 			rtc->name, rtc->class_dev.class_id);
 
 	return rtc;