[PATCH 20/35] W1: w1.c s/printk/dev_dbg/ - Kernel

This is a discussion on [PATCH 20/35] W1: w1.c s/printk/dev_dbg/ - Kernel ; w1.c 1.18 Code cleanup, more of a just because. s/printk/dev_dbg/ Signed-off-by: David Fries --- 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 32cfb6a..189b60b 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -82,10 +82,10 @@ ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH 20/35] W1: w1.c s/printk/dev_dbg/

  1. [PATCH 20/35] W1: w1.c s/printk/dev_dbg/

    w1.c 1.18
    Code cleanup, more of a just because.
    s/printk/dev_dbg/

    Signed-off-by: David Fries
    ---
    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 32cfb6a..189b60b 100644
    --- a/drivers/w1/w1.c
    +++ b/drivers/w1/w1.c
    @@ -82,10 +82,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);
    @@ -881,7 +881,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;
    }
    }
    --
    1.4.4.4

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)

    iD4DBQFH7OQKAI852cse6PARAqb2AJYz6h6wd7B5WgMjrfsMvj GSZeoZAKDIUJQW
    hzNwjzNMJmwT5JvNSPQZoA==
    =2PzM
    -----END PGP SIGNATURE-----


  2. Re: [PATCH 20/35] W1: w1.c s/printk/dev_dbg/

    17-20 patches are non-critical cleanups, please combine them into single
    patch. Thanks.

    On Fri, Mar 28, 2008 at 07:26:50AM -0500, David Fries (david@fries.net) wrote:
    > w1.c 1.18
    > Code cleanup, more of a just because.
    > s/printk/dev_dbg/


    --
    Evgeniy Polyakov
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread