Commit 619e1b49 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

backlight: ili922x: 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 avatarStefano Babic <sbabic@denx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent aff70f9a
...@@ -482,10 +482,8 @@ static int ili922x_probe(struct spi_device *spi) ...@@ -482,10 +482,8 @@ static int ili922x_probe(struct spi_device *spi)
u16 reg = 0; u16 reg = 0;
ili = devm_kzalloc(&spi->dev, sizeof(*ili), GFP_KERNEL); ili = devm_kzalloc(&spi->dev, sizeof(*ili), GFP_KERNEL);
if (!ili) { if (!ili)
dev_err(&spi->dev, "cannot alloc priv data\n");
return -ENOMEM; return -ENOMEM;
}
ili->spi = spi; ili->spi = spi;
spi_set_drvdata(spi, ili); spi_set_drvdata(spi, ili);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment