Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 451d3399 authored by Ben Dooks's avatar Ben Dooks Committed by David Woodhouse
Browse files

[MTD] [NAND] S3C2410: Change printk() into dev_dbg()



Fix a minor problem with what should have been
debug output by changing printk() to dev_dbg()
inside s3c2410_nand_update_chip().

Thanks to David Woodhouse for pointing this out.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 2e3c22f5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -689,7 +689,8 @@ static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info,
{
	struct nand_chip *chip = &nmtd->chip;

	printk("%s: chip %p: %d\n", __func__, chip, chip->page_shift);
	dev_dbg(info->device, "chip %p => page shift %d\n",
		chip, chip->page_shift);

	if (hardware_ecc) {
		/* change the behaviour depending on wether we are using