From 1f17ff8362204ed48fd18f285183fca30788e74a Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Tue, 1 Dec 2009 13:17:41 -0800 Subject: [PATCH] --- yaml --- r: 169061 b: refs/heads/master c: fa00e106eb6f082654d822a0946c0c86297ede2c h: refs/heads/master i: 169059: 0634c052fd838e7118ec8a4fbf74e71560205e89 v: v3 --- [refs] | 2 +- trunk/drivers/rtc/rtc-pcf50633.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f72fca828bb0..655f3bfe754a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4c4cb1b1605e50983afd7924980c9434b214599f +refs/heads/master: fa00e106eb6f082654d822a0946c0c86297ede2c diff --git a/trunk/drivers/rtc/rtc-pcf50633.c b/trunk/drivers/rtc/rtc-pcf50633.c index 33a10c47260e..4c5d5d0c4cfc 100644 --- a/trunk/drivers/rtc/rtc-pcf50633.c +++ b/trunk/drivers/rtc/rtc-pcf50633.c @@ -292,8 +292,9 @@ static int __devinit pcf50633_rtc_probe(struct platform_device *pdev) &pcf50633_rtc_ops, THIS_MODULE); if (IS_ERR(rtc->rtc_dev)) { + int ret = PTR_ERR(rtc->rtc_dev); kfree(rtc); - return PTR_ERR(rtc->rtc_dev); + return ret; } pcf50633_register_irq(rtc->pcf, PCF50633_IRQ_ALARM,