projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1094f9
)
backlight: platform_lcd: remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 3 Apr 2014 21:49:05 +0000
(14:49 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:11 +0000
(16:21 -0700)
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>
drivers/video/backlight/platform_lcd.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/platform_lcd.c
b/drivers/video/backlight/platform_lcd.c
index d01884d4f1bff982033e2b4e68219c37290e7cce..c3d2e209fc8f5b2ed148c30deeb5bffe970756a2 100644
(file)
--- 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)
plcd = devm_kzalloc(&pdev->dev, sizeof(struct platform_lcd),
GFP_KERNEL);
- if (!plcd) {
- dev_err(dev, "no memory for state\n");
+ if (!plcd)
return -ENOMEM;
- }
plcd->us = dev;
plcd->pdata = pdata;