Browse Source

[PATCH] w1: more debug level decrease.

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

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Evgeniy Polyakov 20 years ago
parent
commit
2da5bf80f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/w1/w1.c

+ 1 - 1
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.
 		 * Return 0 - device(s) present, 1 - no devices present.
 		 */
 		 */
 		if (w1_reset_bus(dev)) {
 		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;
 			break;
 		}
 		}