Blackfin NFC Driver: use standard dev_err() rather than printk()
Subsystems (2)
PATCH 10/13 Blackfin NFC Driver: use standard dev_err() rather than printk()
From: Mike Frysinger <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mtd/nand/bf5xx_nand.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/mtd/nand/bf5xx_nand.c renamed from drivers/mtd/nand/bf5xx_nand.c~blackfin-nfc-driver-use-standard-dev_err-rather-than-printk +1 -2
@@ -684,8 +684,7 @@ static int __devinit bf5xx_nand_probe(stdev_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 ; }
_