projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c80a49
)
backlight: pwm_bl: Remove error message upon devm_kzalloc() failure
author
Fabio Estevam
<fabio.estevam@freescale.com>
Sun, 1 Dec 2013 15:04:03 +0000
(13:04 -0200)
committer
Thierry Reding
<thierry.reding@gmail.com>
Tue, 17 Dec 2013 09:18:25 +0000
(10:18 +0100)
No need to have a specific OOM message, since there is generic MM out of memory
message in place.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/pwm_bl.c
b/drivers/video/backlight/pwm_bl.c
index fb80d68f4d3366e5672498da5bd05f3140e7a753..b75201ff46f6d1bc133a5cae571b90082d11347d 100644
(file)
--- a/
drivers/video/backlight/pwm_bl.c
+++ b/
drivers/video/backlight/pwm_bl.c
@@
-241,7
+241,6
@@
static int pwm_backlight_probe(struct platform_device *pdev)
pb = devm_kzalloc(&pdev->dev, sizeof(*pb), GFP_KERNEL);
if (!pb) {
- dev_err(&pdev->dev, "no memory for state\n");
ret = -ENOMEM;
goto err_alloc;
}