]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[MTD] [NAND] S3C2410: Change printk() into dev_dbg()
authorBen Dooks <ben-linux@fluff.org>
Tue, 20 May 2008 16:32:14 +0000 (17:32 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 4 Jun 2008 17:00:58 +0000 (18:00 +0100)
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>
drivers/mtd/nand/s3c2410.c

index 91f42e4855201a06c2743f075f52dba15f58b276..c9726bd2c64abd22f94736acfc6e3b9c2b2440ed 100644 (file)
@@ -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