aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-03 17:49:39 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 19:21:17 -0400
commita3080fa7ec028dca0ac24399e19292bcf4feaf6c (patch)
tree6db214ac636fee2f1395c635043d26b00ecb6b83 /drivers/rtc
parent61dba62506491d83ee9bfd86aee7f7b6e9622d49 (diff)
rtc: rtc-davinci: 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-davinci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c
index 24677ef8c39a..1f3495e4e634 100644
--- a/drivers/rtc/rtc-davinci.c
+++ b/drivers/rtc/rtc-davinci.c
@@ -486,10 +486,8 @@ static int __init davinci_rtc_probe(struct platform_device *pdev)
486 int ret = 0; 486 int ret = 0;
487 487
488 davinci_rtc = devm_kzalloc(&pdev->dev, sizeof(struct davinci_rtc), GFP_KERNEL); 488 davinci_rtc = devm_kzalloc(&pdev->dev, sizeof(struct davinci_rtc), GFP_KERNEL);
489 if (!davinci_rtc) { 489 if (!davinci_rtc)
490 dev_dbg(dev, "could not allocate memory for private data\n");
491 return -ENOMEM; 490 return -ENOMEM;
492 }
493 491
494 davinci_rtc->irq = platform_get_irq(pdev, 0); 492 davinci_rtc->irq = platform_get_irq(pdev, 0);
495 if (davinci_rtc->irq < 0) { 493 if (davinci_rtc->irq < 0) {