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

backlight: lm3533_bl: 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: Johan Hovold <jhovold@gmail.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
44d516f9 1bd04820

+1 -4
+1 -4
drivers/video/backlight/lm3533_bl.c
··· 296 296 } 297 297 298 298 bl = devm_kzalloc(&pdev->dev, sizeof(*bl), GFP_KERNEL); 299 - if (!bl) { 300 - dev_err(&pdev->dev, 301 - "failed to allocate memory for backlight\n"); 299 + if (!bl) 302 300 return -ENOMEM; 303 - } 304 301 305 302 bl->lm3533 = lm3533; 306 303 bl->id = pdev->id;