diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-03 17:49:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:11 -0400 |
commit | c6915be435f93d725cd158d1a70251d3ff70737e (patch) | |
tree | fe85192dcb7f8449ca17c55791b004024c916256 /drivers/video/backlight | |
parent | e1094f9f74cc728c06160a2600e77a25bc5fac68 (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/platform_lcd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c index d01884d4f1bf..c3d2e209fc8f 100644 --- a/drivers/video/backlight/platform_lcd.c +++ b/drivers/video/backlight/platform_lcd.c | |||
@@ -94,10 +94,8 @@ static int platform_lcd_probe(struct platform_device *pdev) | |||
94 | 94 | ||
95 | plcd = devm_kzalloc(&pdev->dev, sizeof(struct platform_lcd), | 95 | plcd = devm_kzalloc(&pdev->dev, sizeof(struct platform_lcd), |
96 | GFP_KERNEL); | 96 | GFP_KERNEL); |
97 | if (!plcd) { | 97 | if (!plcd) |
98 | dev_err(dev, "no memory for state\n"); | ||
99 | return -ENOMEM; | 98 | return -ENOMEM; |
100 | } | ||
101 | 99 | ||
102 | plcd->us = dev; | 100 | plcd->us = dev; |
103 | plcd->pdata = pdata; | 101 | plcd->pdata = pdata; |