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: Jingoo Han <jg1.han@samsung.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jingoo Han 2014-04-03 14:49:00 -07:00 committed by Linus Torvalds
parent 3b20b894d4
commit aff70f9ab1

View File

@ -587,10 +587,8 @@ static int hx8357_probe(struct spi_device *spi)
int i, ret; int i, ret;
lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL);
if (!lcd) { if (!lcd)
dev_err(&spi->dev, "Couldn't allocate lcd internal structure!\n");
return -ENOMEM; return -ENOMEM;
}
ret = spi_setup(spi); ret = spi_setup(spi);
if (ret < 0) { if (ret < 0) {