Commit a01eb204 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

mtd: plat_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>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent ffdac7cd
...@@ -55,10 +55,8 @@ static int plat_nand_probe(struct platform_device *pdev) ...@@ -55,10 +55,8 @@ static int plat_nand_probe(struct platform_device *pdev)
/* Allocate memory for the device structure (and zero it) */ /* Allocate memory for the device structure (and zero it) */
data = devm_kzalloc(&pdev->dev, sizeof(struct plat_nand_data), data = devm_kzalloc(&pdev->dev, sizeof(struct plat_nand_data),
GFP_KERNEL); GFP_KERNEL);
if (!data) { if (!data)
dev_err(&pdev->dev, "failed to allocate device structure.\n");
return -ENOMEM; return -ENOMEM;
}
data->io_base = devm_ioremap_resource(&pdev->dev, res); data->io_base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(data->io_base)) if (IS_ERR(data->io_base))
......
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