mtd: OneNAND: fix double printing of function name

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>
This commit is contained in:
Mika Korhonen 2009-10-23 07:50:44 +02:00 committed by David Woodhouse
parent 72073027ee
commit f369c7ec94

View 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;
}