summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-bd70528.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-bd70528.c')
-rw-r--r--drivers/rtc/rtc-bd70528.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-bd70528.c b/drivers/rtc/rtc-bd70528.c
index bbbb1f07c91f..4492b770422c 100644
--- a/drivers/rtc/rtc-bd70528.c
+++ b/drivers/rtc/rtc-bd70528.c
@@ -542,10 +542,8 @@ static int bd70528_probe(struct platform_device *pdev)
irq = platform_get_irq_byname(pdev, irq_name);
- if (irq < 0) {
- dev_err(&pdev->dev, "Failed to get irq\n");
+ if (irq < 0)
return irq;
- }
platform_set_drvdata(pdev, bd_rtc);