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

Commit aff70f9a authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds
Browse files

backlight: hx8357: 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>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3b20b894
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -587,10 +587,8 @@ static int hx8357_probe(struct spi_device *spi)
	int i, ret;

	lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL);
	if (!lcd) {
		dev_err(&spi->dev, "Couldn't allocate lcd internal structure!\n");
	if (!lcd)
		return -ENOMEM;
	}

	ret = spi_setup(spi);
	if (ret < 0) {