tree f72aa6e78887abccce1427e7c2dfd7458731a17f
parent 3b946e3f3dc0de473a88b4106f01731a5c016689
author Ben Dooks <[EMAIL PROTECTED]> Mon, 14 Mar 2005 20:33:22 +0000
committer Thomas Gleixner <[EMAIL PROTECTED]> Mon, 23 May 2005 12:52:23 +0200

[MTD] plat-ram: removed extraneous debugging code

removed define of DEBUG
removed extraneous debugging code

Signed-off-by: Ben Dooks <[EMAIL PROTECTED]>
Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>

 drivers/mtd/maps/plat-ram.c |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -6,7 +6,7 @@
  *
  * Generic platfrom device based RAM map
  *
- * $Id: plat-ram.c,v 1.1 2005/01/24 00:37:02 bjd Exp $
+ * $Id: plat-ram.c,v 1.2 2005/03/14 20:33:19 bjd Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -23,8 +23,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
-#define DEBUG
-
 #include <linux/module.h>
 #include <linux/types.h>
 #include <linux/init.h>
@@ -192,7 +190,7 @@ static int platram_probe(struct device *
        /* remap the memory area */
 
        info->map.virt = ioremap(res->start, info->map.size);
-       dev_dbg(dev, "virt %p, %d bytes\n", info->map.virt, info->map.size);
+       dev_dbg(dev, "virt %p, %lu bytes\n", info->map.virt, info->map.size);
 
        if (info->map.virt == NULL) {
                dev_err(dev, "failed to ioremap() region\n");
@@ -200,12 +198,6 @@ static int platram_probe(struct device *
                goto exit_free;
        }
 
-       {
-               unsigned int *p = (unsigned int *)info->map.virt;
-               printk("%08x %08x %08x %08x\n",
-                      readl(p), readl(p+1), readl(p+2), readl(p+3));
-       }
-
        simple_map_init(&info->map);
 
        dev_dbg(dev, "initialised map, probing for mtd\n");
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to