Message ID | 20200505101353.1776394-20-boris.brezillon@collabora.com |
---|---|
State | Changes Requested |
Delegated to: | Miquel Raynal |
Headers | show |
Series | mtd: rawnand: cafe: Convert to exec_op() (and more) | expand |
Hi Boris, Boris Brezillon <boris.brezillon@collabora.com> wrote on Tue, 5 May 2020 12:13:53 +0200: > Replace the last printk() by a dev_dbg(). > > Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> > --- Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
diff --git a/drivers/mtd/nand/raw/cafe_nand.c b/drivers/mtd/nand/raw/cafe_nand.c index 2f20032b4df7..9df02ad951d8 100644 --- a/drivers/mtd/nand/raw/cafe_nand.c +++ b/drivers/mtd/nand/raw/cafe_nand.c @@ -315,8 +315,9 @@ static int cafe_nand_read_page(struct nand_chip *chip, u8 *buf, "Failed to correct ECC at %08x\n", readl(cafe->mmio + CAFE_NAND_ADDR2) * 2048); for (i = 0; i < 0x5c; i += 4) - printk("Register %x: %08x\n", i, - readl(cafe->mmio + i)); + dev_dbg(&cafe->pdev->dev, + "Register %x: %08x\n", i, + readl(cafe->mmio + i)); mtd->ecc_stats.failed++; } else { dev_dbg(&cafe->pdev->dev, "Corrected %d symbol errors\n", n);
Replace the last printk() by a dev_dbg(). Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> --- drivers/mtd/nand/raw/cafe_nand.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)