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

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

gpio: adp5588: 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 e8a71aaa
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -379,10 +379,8 @@ static int adp5588_gpio_probe(struct i2c_client *client,
	}

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

	dev->client = client;