Skip to content

Commit

Permalink
[MTD] [NAND] S3C2410: Change printk() into dev_dbg()
Browse files Browse the repository at this point in the history
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: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Ben Dooks authored and David Woodhouse committed Jun 4, 2008
1 parent 2e3c22f commit 451d339
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 451d339

Please sign in to comment.