aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max8925.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max8925.c')
-rw-r--r--drivers/rtc/rtc-max8925.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-max8925.c b/drivers/rtc/rtc-max8925.c
index 2d71943bc436..ff6b9a2cb8e3 100644
--- a/drivers/rtc/rtc-max8925.c
+++ b/drivers/rtc/rtc-max8925.c
@@ -204,6 +204,7 @@ static int max8925_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
204 alrm->pending = 1; 204 alrm->pending = 1;
205 else 205 else
206 alrm->pending = 0; 206 alrm->pending = 0;
207 return 0;
207out: 208out:
208 return ret; 209 return ret;
209} 210}