mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
[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>
This commit is contained in:
parent
a0dd20184b
commit
0ee002b041
@ -684,8 +684,7 @@ static int __devinit bf5xx_nand_probe(struct platform_device *pdev)
|
|||||||
dev_dbg(&pdev->dev, "(%p)\n", pdev);
|
dev_dbg(&pdev->dev, "(%p)\n", pdev);
|
||||||
|
|
||||||
if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) {
|
if (peripheral_request_list(bfin_nfc_pin_req, DRV_NAME)) {
|
||||||
printk(KERN_ERR DRV_NAME
|
dev_err(&pdev->dev, "requesting Peripherals failed\n");
|
||||||
": Requesting Peripherals failed\n");
|
|
||||||
return -EFAULT;
|
return -EFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user