Commit 9e3677a8 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

mtd: atmel_nand: Remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarJosh Wu <josh.wu@atmel.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 8f91fb68
...@@ -1961,10 +1961,8 @@ static int atmel_nand_probe(struct platform_device *pdev) ...@@ -1961,10 +1961,8 @@ static int atmel_nand_probe(struct platform_device *pdev)
/* Allocate memory for the device structure (and zero it) */ /* Allocate memory for the device structure (and zero it) */
host = devm_kzalloc(&pdev->dev, sizeof(*host), GFP_KERNEL); host = devm_kzalloc(&pdev->dev, sizeof(*host), GFP_KERNEL);
if (!host) { if (!host)
printk(KERN_ERR "atmel_nand: failed to allocate device structure.\n");
return -ENOMEM; return -ENOMEM;
}
res = platform_driver_register(&atmel_nand_nfc_driver); res = platform_driver_register(&atmel_nand_nfc_driver);
if (res) if (res)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment