diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-07-30 15:35:03 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-01 10:43:53 -0400 |
commit | 0ee002b041cb45ab3cc5384b86271d41ccf90fe1 (patch) | |
tree | 6e50912cd514a14473189f81b8058db741f5c40e /drivers | |
parent | a0dd20184becf5c90996d9ee0bb69426fe63581a (diff) |
[MTD] [NAND] Blackfin NFC Driver: use standard dev_err() rather than printk()
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/bf5xx_nand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index e259a7b75b2d..6cf7fb86c256 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -684,8 +684,7 @@ static int __devinit bf5xx_nand_probe(struct platform_device *pdev) | |||
684 | dev_dbg(&pdev->dev, "(%p)\n", pdev); | 684 | dev_dbg(&pdev->dev, "(%p)\n", pdev); |
685 | 685 | ||
686 | if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) { | 686 | if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) { |
687 | printk(KERN_ERR DRV_NAME | 687 | dev_err(&pdev->dev, "requesting Peripherals failed\n"); |
688 | ": Requesting Peripherals failed\n"); | ||
689 | return -EFAULT; | 688 | return -EFAULT; |
690 | } | 689 | } |
691 | 690 | ||