projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
474b690
)
pwm: pwm-tiecap: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 23 Apr 2014 09:41:27 +0000
(18:41 +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-tiecap.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-tiecap.c
b/drivers/pwm/pwm-tiecap.c
index 032092c7a6ae3d23705ca79d6d1e175b2a524768..74efbe7f20c3ab084939421dcafa40b108baee95 100644
(file)
--- a/
drivers/pwm/pwm-tiecap.c
+++ b/
drivers/pwm/pwm-tiecap.c
@@
-209,10
+209,8
@@
static int ecap_pwm_probe(struct platform_device *pdev)
u16 status;
pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL);
- if (!pc) {
- dev_err(&pdev->dev, "failed to allocate memory\n");
+ if (!pc)
return -ENOMEM;
- }
clk = devm_clk_get(&pdev->dev, "fck");
if (IS_ERR(clk)) {