aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-05-22 08:05:06 -0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-05-23 03:23:10 -0400
commit39dd56776e3583d08bdfaabae2171a1a70a679c9 (patch)
tree1d6e3ff28cc1571336a935edabaa3577e2c5ba95 /drivers/clocksource
parent0d24d1f2495ec4d6996c70c8edec202053cf7e69 (diff)
clocksource: em_sti: 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: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/em_sti.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c
index 9d170834fcf3..d0a7bd66b8b9 100644
--- a/drivers/clocksource/em_sti.c
+++ b/drivers/clocksource/em_sti.c
@@ -318,10 +318,8 @@ static int em_sti_probe(struct platform_device *pdev)
318 int irq; 318 int irq;
319 319
320 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL); 320 p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
321 if (p == NULL) { 321 if (p == NULL)
322 dev_err(&pdev->dev, "failed to allocate driver data\n");
323 return -ENOMEM; 322 return -ENOMEM;
324 }
325 323
326 p->pdev = pdev; 324 p->pdev = pdev;
327 platform_set_drvdata(pdev, p); 325 platform_set_drvdata(pdev, p);