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

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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -106,10 +106,8 @@ static int adp5520_gpio_probe(struct platform_device *pdev)
	}

	dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL);
	if (dev == NULL) {
		dev_err(&pdev->dev, "failed to alloc memory\n");
	if (dev == NULL)
		return -ENOMEM;
	}

	dev->master = pdev->dev.parent;