From: David Fries Date: Thu, 16 Oct 2008 05:04:58 +0000 (-0700) Subject: W1: w1.c s/printk/dev_dbg/ X-Git-Tag: v2.6.28-rc1~317 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7dc8f527ef20bf95143dfbe2ecc01dc70b1e6ab7;p=linux-2.6-omap-h63xx.git W1: w1.c s/printk/dev_dbg/ s/printk/dev_dbg/ Signed-off-by: David Fries Signed-off-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 04e7de4b266..3b615d4022e 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -81,10 +81,10 @@ static void w1_slave_release(struct device *dev) { struct w1_slave *sl = dev_to_w1_slave(dev); - printk("%s: Releasing %s.\n", __func__, sl->name); + dev_dbg(dev, "%s: Releasing %s.\n", __func__, sl->name); while (atomic_read(&sl->refcnt)) { - printk("Waiting for %s to become free: refcnt=%d.\n", + dev_dbg(dev, "Waiting for %s to become free: refcnt=%d.\n", sl->name, atomic_read(&sl->refcnt)); if (msleep_interruptible(1000)) flush_signals(current); @@ -920,7 +920,7 @@ void w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb rn |= (tmp64 << i); if (kthread_should_stop()) { - printk(KERN_INFO "Abort w1_search (exiting)\n"); + dev_dbg(&dev->dev, "Abort w1_search\n"); return; } }