Message ID | 20170625095946.2997-1-d.scheller.oss@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/pci/ddbridge/ddbridge-core.c b/drivers/media/pci/ddbridge/ddbridge-core.c index c5745ae2ba5e..32f4d3746c8e 100644 --- a/drivers/media/pci/ddbridge/ddbridge-core.c +++ b/drivers/media/pci/ddbridge/ddbridge-core.c @@ -122,7 +122,7 @@ static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr) /* (ddb)readl returns (uint)-1 (all bits set) on failure, catch that */ if (val == ~0) { - printk(KERN_ERR "ddbreadl failure, adr=%08x\n", adr); + dev_err(&dev->pdev->dev, "ddbreadl failure, adr=%08x\n", adr); return 0; }