summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ddbridge
diff options
context:
space:
mode:
authorDaniel Scheller2017-06-25 11:59:46 +0200
committerMauro Carvalho Chehab2017-06-25 14:04:51 +0200
commit456698e93dd350d488fa877cda729f218dcbe030 (patch)
tree8045e32c36f065a77c20bffb0d9c79789e0a9f40 /drivers/media/pci/ddbridge
parentmedia: i2c: tvp5150: remove useless variable assignment in tvp5150_set_vbi() (diff)
downloadkernel-qcow2-linux-456698e93dd350d488fa877cda729f218dcbe030.tar.gz
kernel-qcow2-linux-456698e93dd350d488fa877cda729f218dcbe030.tar.xz
kernel-qcow2-linux-456698e93dd350d488fa877cda729f218dcbe030.zip
media: ddbridge: dev_* logging fixup
Fixup commit d52786ddd2d5 ("media: ddbridge: make (ddb)readl in while-loops fail-safe") after/wrt commit 11e358bf37e8 ("media: ddbridge: use dev_* macros in favor of printk") Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/ddbridge')
-rw-r--r--drivers/media/pci/ddbridge/ddbridge-core.c2
1 files changed, 1 insertions, 1 deletions
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;
}