projects/linux·commit 2da5bf80

[PATCH] w1: more debug level decrease.

2da5bf80 · Evgeniy Polyakov <[email protected]> · 2005-08-12 11:46:22 -07:00

Do not spam syslog each 10 seconds when there is nothing on the wire.

Signed-off-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
2da5bf80f754e28cc153362e5ed1edaa9740897a
Parents
63788ea9

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/w1/w1.cmodified+1−1View file

drivers/w1/w1.c

View file
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index 8a9c428..0bbf029 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -593,7 +593,7 @@ void w1_search(struct w1_master *dev, w1_slave_found_callback cb)
* Return 0 - device(s) present, 1 - no devices present.
*/
if (w1_reset_bus(dev)) {
- dev_info(&dev->dev, "No devices present on the wire.\n");
+ dev_dbg(&dev->dev, "No devices present on the wire.\n");
break;
}