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

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: Jingoo Han <jg1.han@samsung.com>
Acked-by: Stefano Babic <sbabic@denx.de>
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
619e1b49 aff70f9a

+1 -3
+1 -3
drivers/video/backlight/ili922x.c
··· 482 482 u16 reg = 0; 483 483 484 484 ili = devm_kzalloc(&spi->dev, sizeof(*ili), GFP_KERNEL); 485 - if (!ili) { 486 - dev_err(&spi->dev, "cannot alloc priv data\n"); 485 + if (!ili) 487 486 return -ENOMEM; 488 - } 489 487 490 488 ili->spi = spi; 491 489 spi_set_drvdata(spi, ili);