This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] Staging/media: Use dev_ printks in go7007/wis-ov7640.c
Author:  YAMANE Toshiaki <[email protected]>
Date:    Fri Nov 2 08:09:29 2012 -0300

fixed below checkpatch warnings.
- WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then 
pr_debug(...  to printk(KERN_DEBUG ...
- WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(...  
to printk(KERN_ERR ...

Signed-off-by: YAMANE Toshiaki <[email protected]>
Tested-by: Peter Senna Tschudin <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/staging/media/go7007/wis-ov7640.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=b3ccce3831196d2a7d745879124a8bf2de5db5bf

diff --git a/drivers/staging/media/go7007/wis-ov7640.c 
b/drivers/staging/media/go7007/wis-ov7640.c
index cef1a62..9f01657 100644
--- a/drivers/staging/media/go7007/wis-ov7640.c
+++ b/drivers/staging/media/go7007/wis-ov7640.c
@@ -59,12 +59,12 @@ static int wis_ov7640_probe(struct i2c_client *client,
 
        client->flags = I2C_CLIENT_SCCB;
 
-       printk(KERN_DEBUG
+       dev_dbg(&client->dev,
                "wis-ov7640: initializing OV7640 at address %d on %s\n",
                client->addr, adapter->name);
 
        if (write_regs(client, initial_registers) < 0) {
-               printk(KERN_ERR "wis-ov7640: error initializing OV7640\n");
+               dev_err(&client->dev, "wis-ov7640: error initializing 
OV7640\n");
                return -ENODEV;
        }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to