Commit c6915be4 authored by Jingoo Han's avatar Jingoo Han Committed by Linus Torvalds

backlight: platform_lcd: 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>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e1094f9f
...@@ -94,10 +94,8 @@ static int platform_lcd_probe(struct platform_device *pdev) ...@@ -94,10 +94,8 @@ static int platform_lcd_probe(struct platform_device *pdev)
plcd = devm_kzalloc(&pdev->dev, sizeof(struct platform_lcd), plcd = devm_kzalloc(&pdev->dev, sizeof(struct platform_lcd),
GFP_KERNEL); GFP_KERNEL);
if (!plcd) { if (!plcd)
dev_err(dev, "no memory for state\n");
return -ENOMEM; return -ENOMEM;
}
plcd->us = dev; plcd->us = dev;
plcd->pdata = pdata; plcd->pdata = pdata;
......
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