diff options
-rw-r--r-- | drivers/mtd/nand/docg4.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c index baae75b37d7..9b3a6490466 100644 --- a/drivers/mtd/nand/docg4.c +++ b/drivers/mtd/nand/docg4.c @@ -1270,9 +1270,7 @@ static int __init probe_docg4(struct platform_device *pdev) virtadr = ioremap(r->start, resource_size(r)); if (!virtadr) { - dev_err(dev, "Diskonchip ioremap failed: " - "0x%x bytes at 0x%x\n", - resource_size(r), r->start); + dev_err(dev, "Diskonchip ioremap failed: %pR\n", r); return -EIO; } |