]> err.no Git - linux-2.6/commitdiff
[MTD] [NAND] Blackfin NFC Driver: use standard dev_err() rather than printk()
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 30 Jul 2008 19:35:03 +0000 (12:35 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 1 Aug 2008 14:43:53 +0000 (15:43 +0100)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/bf5xx_nand.c

index e259a7b75b2d93d50e87defc3a6a41e0e1639c2e..6cf7fb86c256ddf30a37c3f85e48c109eeb8b6f0 100644 (file)
@@ -684,8 +684,7 @@ static int __devinit bf5xx_nand_probe(struct platform_device *pdev)
        dev_dbg(&pdev->dev, "(%p)\n", pdev);
 
        if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) {
-               printk(KERN_ERR DRV_NAME
-               ": Requesting Peripherals failed\n");
+               dev_err(&pdev->dev, "requesting Peripherals failed\n");
                return -EFAULT;
        }