Commit 1981d084 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij

gpio: lynxpoint: 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 4920c4aa
...@@ -375,10 +375,8 @@ static int lp_gpio_probe(struct platform_device *pdev) ...@@ -375,10 +375,8 @@ static int lp_gpio_probe(struct platform_device *pdev)
int ret = -ENODEV; int ret = -ENODEV;
lg = devm_kzalloc(dev, sizeof(struct lp_gpio), GFP_KERNEL); lg = devm_kzalloc(dev, sizeof(struct lp_gpio), GFP_KERNEL);
if (!lg) { if (!lg)
dev_err(dev, "can't allocate lp_gpio chip data\n");
return -ENOMEM; return -ENOMEM;
}
lg->pdev = pdev; lg->pdev = pdev;
platform_set_drvdata(pdev, lg); platform_set_drvdata(pdev, lg);
......
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