Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

backlight: ili9320: 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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jingoo Han and committed by
Linus Torvalds
a82bdcfb 619e1b49

+1 -3
+1 -3
drivers/video/backlight/ili9320.c
··· 219 219 /* allocate and initialse our state */ 220 220 221 221 ili = devm_kzalloc(&spi->dev, sizeof(struct ili9320), GFP_KERNEL); 222 - if (ili == NULL) { 223 - dev_err(dev, "no memory for device\n"); 222 + if (ili == NULL) 224 223 return -ENOMEM; 225 - } 226 224 227 225 ili->access.spi.id = ILI9320_SPI_IDCODE | ILI9320_SPI_ID(1); 228 226