projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cbec74
)
pwm: pxa: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 23 Apr 2014 09:40:08 +0000
(18:40 +0900)
committer
Thierry Reding
<thierry.reding@gmail.com>
Mon, 28 Apr 2014 11:37:48 +0000
(13:37 +0200)
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: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-pxa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-pxa.c
b/drivers/pwm/pwm-pxa.c
index cd356d8702441169773d030494a4c41c42dc7702..0b312ec420b6920b34cf3cb236a0f20c16c3f502 100644
(file)
--- a/
drivers/pwm/pwm-pxa.c
+++ b/
drivers/pwm/pwm-pxa.c
@@
-179,10
+179,8
@@
static int pwm_probe(struct platform_device *pdev)
return -EINVAL;
pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
- if (pwm == NULL) {
- dev_err(&pdev->dev, "failed to allocate memory\n");
+ if (pwm == NULL)
return -ENOMEM;
- }
pwm->clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(pwm->clk))