projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9321fe9
)
pwm: tegra: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 23 Apr 2014 09:41:10 +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-tegra.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-tegra.c
b/drivers/pwm/pwm-tegra.c
index 74298c561c4e57f303f675a13987f6b70ecb5dc4..61d86b9498caa8bb381dbe274e1c0c6e65ee755b 100644
(file)
--- a/
drivers/pwm/pwm-tegra.c
+++ b/
drivers/pwm/pwm-tegra.c
@@
-173,10
+173,8
@@
static int tegra_pwm_probe(struct platform_device *pdev)
int ret;
pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL);
- if (!pwm) {
- dev_err(&pdev->dev, "failed to allocate memory\n");
+ if (!pwm)
return -ENOMEM;
- }
pwm->dev = &pdev->dev;