diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-24 09:17:47 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-06 18:51:27 +0400 |
commit | 26fdcf0980225f8b3d5fa258d9f41433cb0664ed (patch) | |
tree | cc50f59e6562b95fe596b6655ef45baee1e3c2bf /drivers | |
parent | 56ed221f099afe5c234e5c2cd1371acc8ddbcd88 (diff) | |
download | linux-26fdcf0980225f8b3d5fa258d9f41433cb0664ed.tar.xz |
[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 <sachin.kamat@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/mem2mem_testdev.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |