summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-stm32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-stm32.c')
-rw-r--r--drivers/rtc/rtc-stm32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-stm32.c b/drivers/rtc/rtc-stm32.c
index 773a1990b93f..2999e33a7e37 100644
--- a/drivers/rtc/rtc-stm32.c
+++ b/drivers/rtc/rtc-stm32.c
@@ -776,7 +776,6 @@ static int stm32_rtc_probe(struct platform_device *pdev)
776 776
777 rtc->irq_alarm = platform_get_irq(pdev, 0); 777 rtc->irq_alarm = platform_get_irq(pdev, 0);
778 if (rtc->irq_alarm <= 0) { 778 if (rtc->irq_alarm <= 0) {
779 dev_err(&pdev->dev, "no alarm irq\n");
780 ret = rtc->irq_alarm; 779 ret = rtc->irq_alarm;
781 goto err; 780 goto err;
782 } 781 }