[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>
This commit is contained in:
parent
56ed221f09
commit
26fdcf0980
|
@ -397,8 +397,7 @@ static void device_isr(unsigned long priv)
|
||||||
curr_ctx = v4l2_m2m_get_curr_priv(m2mtest_dev->m2m_dev);
|
curr_ctx = v4l2_m2m_get_curr_priv(m2mtest_dev->m2m_dev);
|
||||||
|
|
||||||
if (NULL == curr_ctx) {
|
if (NULL == curr_ctx) {
|
||||||
printk(KERN_ERR
|
pr_err("Instance released before the end of transaction\n");
|
||||||
"Instance released before the end of transaction\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue