From: Sachin Kamat Date: Mon, 24 Sep 2012 05:17:47 +0000 (-0300) Subject: [media] mem2mem_testdev: Use pr_err instead of printk X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=26fdcf0980225f8b3d5fa258d9f41433cb0664ed;p=linux-beck.git [media] mem2mem_testdev: Use pr_err instead of printk printk(KERN_ERR...) is replaced with pr_err to silence checkpatch warning. WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Sachin Kamat Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/mem2mem_testdev.c b/drivers/media/platform/mem2mem_testdev.c index 8b27a7e2a09a..7627335816e4 100644 --- a/drivers/media/platform/mem2mem_testdev.c +++ b/drivers/media/platform/mem2mem_testdev.c @@ -397,8 +397,7 @@ static void device_isr(unsigned long priv) curr_ctx = v4l2_m2m_get_curr_priv(m2mtest_dev->m2m_dev); if (NULL == curr_ctx) { - printk(KERN_ERR - "Instance released before the end of transaction\n"); + pr_err("Instance released before the end of transaction\n"); return; }