Replace the last printk() by a dev_dbg(). Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> --- drivers/mtd/nand/raw/cafe_nand.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.25.3 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/