]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NOR] gen_probe: No debug message when debugging is disabled
authorJean Delvare <khali@linux-fr.org>
Thu, 10 Jul 2008 11:37:08 +0000 (13:37 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 17:23:11 +0000 (18:23 +0100)
commit3a3688b6af103e2c86a7cfc2050988655e184ecc
treefc1194244fe5e76d1c9e141f618cf01116d8747a
parentf63af11ddb508ce7b2a270515244d145248cad7f
[MTD] [NOR] gen_probe: No debug message when debugging is disabled

Use pr_debug(...) instead of printk(KERN_DEBUG ...) so that the message
is only printed when debugging is enabled.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: John stoffel <john@stoffel.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/gen_probe.c