diff options
Diffstat (limited to 'drivers/rtc/rtc-bd70528.c')
-rw-r--r-- | drivers/rtc/rtc-bd70528.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-bd70528.c b/drivers/rtc/rtc-bd70528.c index f9bdd555e1a2..3e745c05bc22 100644 --- a/drivers/rtc/rtc-bd70528.c +++ b/drivers/rtc/rtc-bd70528.c | |||
@@ -416,11 +416,8 @@ static int bd70528_probe(struct platform_device *pdev) | |||
416 | bd_rtc->dev = &pdev->dev; | 416 | bd_rtc->dev = &pdev->dev; |
417 | 417 | ||
418 | irq = platform_get_irq_byname(pdev, "bd70528-rtc-alm"); | 418 | irq = platform_get_irq_byname(pdev, "bd70528-rtc-alm"); |
419 | 419 | if (irq < 0) | |
420 | if (irq < 0) { | ||
421 | dev_err(&pdev->dev, "Failed to get irq\n"); | ||
422 | return irq; | 420 | return irq; |
423 | } | ||
424 | 421 | ||
425 | platform_set_drvdata(pdev, bd_rtc); | 422 | platform_set_drvdata(pdev, bd_rtc); |
426 | 423 | ||