Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40b295fa authored by Jingoo Han's avatar Jingoo Han Committed by Linus Walleij
Browse files

gpio: moxart: 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 1981d084
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -113,10 +113,8 @@ static int moxart_gpio_probe(struct platform_device *pdev)
	int ret;

	mgc = devm_kzalloc(dev, sizeof(*mgc), GFP_KERNEL);
	if (!mgc) {
		dev_err(dev, "can't allocate GPIO chip container\n");
	if (!mgc)
		return -ENOMEM;
	}
	mgc->gpio = moxart_template_chip;

	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);