* NAND: S3C2410: Change printk() into dev_dbg()
@ 2008-05-20 16:32 Ben Dooks
0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2008-05-20 16:32 UTC (permalink / raw)
To: linux-mtd; +Cc: Ben Dooks
[-- Attachment #1: simtec/simtec-drivers-mtd-s3c2410-fixprintk.patch --]
[-- Type: text/plain, Size: 959 bytes --]
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>
Index: linux-2.6.26-rc3-quilt1/drivers/mtd/nand/s3c2410.c
===================================================================
--- linux-2.6.26-rc3-quilt1.orig/drivers/mtd/nand/s3c2410.c 2008-05-20 17:16:20.000000000 +0100
+++ linux-2.6.26-rc3-quilt1/drivers/mtd/nand/s3c2410.c 2008-05-20 17:23:20.000000000 +0100
@@ -691,7 +691,8 @@ static void s3c2410_nand_update_chip(str
{
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
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-20 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-20 16:32 NAND: S3C2410: Change printk() into dev_dbg() Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox