media: ddbridge: dev_* logging fixup

Fixup

  commit d52786ddd2 ("media: ddbridge: make (ddb)readl in while-loops fail-safe")

after/wrt

  commit 11e358bf37 ("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>
This commit is contained in:
Daniel Scheller 2017-06-25 06:59:46 -03:00 committed by Mauro Carvalho Chehab
parent b3d930aaf7
commit 456698e93d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}