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>
This commit is contained in:
Jingoo Han 2014-04-03 14:49:03 -07:00 committed by Linus Torvalds
parent 1bd04820b9
commit 44d516f99b

View File

@ -296,11 +296,8 @@ static int lm3533_bl_probe(struct platform_device *pdev)
} }
bl = devm_kzalloc(&pdev->dev, sizeof(*bl), GFP_KERNEL); bl = devm_kzalloc(&pdev->dev, sizeof(*bl), GFP_KERNEL);
if (!bl) { if (!bl)
dev_err(&pdev->dev,
"failed to allocate memory for backlight\n");
return -ENOMEM; return -ENOMEM;
}
bl->lm3533 = lm3533; bl->lm3533 = lm3533;
bl->id = pdev->id; bl->id = pdev->id;