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

Commit 9f48e54b authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

spi: tle62x0: 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>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 1e8231b7
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -253,10 +253,8 @@ static int tle62x0_probe(struct spi_device *spi)
	}

	st = kzalloc(sizeof(struct tle62x0_state), GFP_KERNEL);
	if (st == NULL) {
		dev_err(&spi->dev, "no memory for device state\n");
	if (st == NULL)
		return -ENOMEM;
	}

	st->us = spi;
	st->nr_gpio = pdata->gpio_count;