mtd: OneNAND: fix double printing of function name
authorMika Korhonen <ext-mika.2.korhonen@nokia.com>
Fri, 23 Oct 2009 05:50:44 +0000 (07:50 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:43:54 +0000 (09:43 +0000)
Signed-off-by: Mika Korhonen <ext-mika.2.korhonen@nokia.com>
Reviewed-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/onenand_base.c

index 266f471901e5fa32bd174e8939478d2545810181..3330ea06917cfef04d212932fb3d2ac077c863df 100644 (file)
@@ -3698,8 +3698,8 @@ int flexonenand_set_boundary(struct mtd_info *mtd, int die,
        this->command(mtd, ONENAND_CMD_ERASE, addr, 0);
        ret = this->wait(mtd, FL_ERASING);
        if (ret) {
-               printk(KERN_ERR "%s: flexonenand_set_boundary: "
-                               "Failed PI erase for Die %d\n", __func__, die);
+               printk(KERN_ERR "%s: Failed PI erase for Die %d\n",
+                      __func__, die);
                goto out;
        }