mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
mtd: socrates_nand: Use dev_err instead of printk
dev_err is preferred to printk. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
cf3a9b56a1
commit
5422933d58
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ static int socrates_nand_probe(struct platform_device *ofdev)
|
|||
|
||||
host->io_base = of_iomap(ofdev->dev.of_node, 0);
|
||||
if (host->io_base == NULL) {
|
||||
printk(KERN_ERR "socrates_nand: ioremap failed\n");
|
||||
dev_err(&ofdev->dev, "ioremap failed\n");
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue