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:
d93fc78
)
pwm: renesas-tpu: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 23 Apr 2014 09:40:29 +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-renesas-tpu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-renesas-tpu.c
b/drivers/pwm/pwm-renesas-tpu.c
index aff6ba9b49e7b4b3bac9d566af39f01c6136b6bb..cc13ff4cfab06001c71eb3f31efc077356a8010c 100644
(file)
--- a/
drivers/pwm/pwm-renesas-tpu.c
+++ b/
drivers/pwm/pwm-renesas-tpu.c
@@
-405,10
+405,8
@@
static int tpu_probe(struct platform_device *pdev)
int ret;
tpu = devm_kzalloc(&pdev->dev, sizeof(*tpu), GFP_KERNEL);
- if (tpu == NULL) {
- dev_err(&pdev->dev, "failed to allocate driver data\n");
+ if (tpu == NULL)
return -ENOMEM;
- }
spin_lock_init(&tpu->lock);
tpu->pdev = pdev;