diff options
author | David Fries <david@fries.net> | 2008-10-16 01:04:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:50 -0400 |
commit | 7dc8f527ef20bf95143dfbe2ecc01dc70b1e6ab7 (patch) | |
tree | d934745bf5ae4f0509e5be30d384413bb1b77fe6 /drivers/w1 | |
parent | af00a2d5a047455b35d1e7dc4c7d9993c2bcfb93 (diff) |
W1: w1.c s/printk/dev_dbg/
s/printk/dev_dbg/
Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/w1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 04e7de4b266a..3b615d4022ee 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c | |||
@@ -81,10 +81,10 @@ static void w1_slave_release(struct device *dev) | |||
81 | { | 81 | { |
82 | struct w1_slave *sl = dev_to_w1_slave(dev); | 82 | struct w1_slave *sl = dev_to_w1_slave(dev); |
83 | 83 | ||
84 | printk("%s: Releasing %s.\n", __func__, sl->name); | 84 | dev_dbg(dev, "%s: Releasing %s.\n", __func__, sl->name); |
85 | 85 | ||
86 | while (atomic_read(&sl->refcnt)) { | 86 | while (atomic_read(&sl->refcnt)) { |
87 | printk("Waiting for %s to become free: refcnt=%d.\n", | 87 | dev_dbg(dev, "Waiting for %s to become free: refcnt=%d.\n", |
88 | sl->name, atomic_read(&sl->refcnt)); | 88 | sl->name, atomic_read(&sl->refcnt)); |
89 | if (msleep_interruptible(1000)) | 89 | if (msleep_interruptible(1000)) |
90 | flush_signals(current); | 90 | flush_signals(current); |
@@ -920,7 +920,7 @@ void w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb | |||
920 | rn |= (tmp64 << i); | 920 | rn |= (tmp64 << i); |
921 | 921 | ||
922 | if (kthread_should_stop()) { | 922 | if (kthread_should_stop()) { |
923 | printk(KERN_INFO "Abort w1_search (exiting)\n"); | 923 | dev_dbg(&dev->dev, "Abort w1_search\n"); |
924 | return; | 924 | return; |
925 | } | 925 | } |
926 | } | 926 | } |