aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-renesas-tpu.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-23 05:40:29 -0400
committerThierry Reding <thierry.reding@gmail.com>2014-04-28 07:37:48 -0400
commit6c5059ccce2b66c9ca73f9c826b8e26d883fcf32 (patch)
tree8888b8506cc6c238a74e9c3a5a0885172dbdf302 /drivers/pwm/pwm-renesas-tpu.c
parentd93fc78f47f93a25a9f99fea613616901331d213 (diff)
pwm: renesas-tpu: Remove unnecessary OOM messages
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>
Diffstat (limited to 'drivers/pwm/pwm-renesas-tpu.c')
-rw-r--r--drivers/pwm/pwm-renesas-tpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pwm/pwm-renesas-tpu.c b/drivers/pwm/pwm-renesas-tpu.c
index aff6ba9b49e7..cc13ff4cfab0 100644
--- 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)
405 int ret; 405 int ret;
406 406
407 tpu = devm_kzalloc(&pdev->dev, sizeof(*tpu), GFP_KERNEL); 407 tpu = devm_kzalloc(&pdev->dev, sizeof(*tpu), GFP_KERNEL);
408 if (tpu == NULL) { 408 if (tpu == NULL)
409 dev_err(&pdev->dev, "failed to allocate driver data\n");
410 return -ENOMEM; 409 return -ENOMEM;
411 }
412 410
413 spin_lock_init(&tpu->lock); 411 spin_lock_init(&tpu->lock);
414 tpu->pdev = pdev; 412 tpu->pdev = pdev;