mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
[media] s3c-camif: Use dev_info instead of printk
dev_info is preferred to printk. Silences the related checkpatch warning. WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
4eb1d01d3f
commit
99b63ac8b1
@ -601,6 +601,6 @@ void camif_hw_dump_regs(struct camif_dev *camif, const char *label)
|
||||
pr_info("--- %s ---\n", label);
|
||||
for (i = 0; i < ARRAY_SIZE(registers); i++) {
|
||||
u32 cfg = readl(camif->io_base + registers[i].offset);
|
||||
printk(KERN_INFO "%s:\t0x%08x\n", registers[i].name, cfg);
|
||||
dev_info(camif->dev, "%s:\t0x%08x\n", registers[i].name, cfg);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user