Commit e8a71aaa authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij

gpio: adp5520: 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>
Reviewed-by: default avatarJavier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9d5d96ef
...@@ -106,10 +106,8 @@ static int adp5520_gpio_probe(struct platform_device *pdev) ...@@ -106,10 +106,8 @@ static int adp5520_gpio_probe(struct platform_device *pdev)
} }
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL); dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
if (dev == NULL) { if (dev == NULL)
dev_err(&pdev->dev, "failed to alloc memory\n");
return -ENOMEM; return -ENOMEM;
}
dev->master = pdev->dev.parent; dev->master = pdev->dev.parent;
......
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