summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max8997.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max8997.c')
-rw-r--r--drivers/rtc/rtc-max8997.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c
index 08c661a332ec..20e50d9fdf88 100644
--- a/drivers/rtc/rtc-max8997.c
+++ b/drivers/rtc/rtc-max8997.c
@@ -215,7 +215,7 @@ static int max8997_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
215 215
216out: 216out:
217 mutex_unlock(&info->lock); 217 mutex_unlock(&info->lock);
218 return 0; 218 return ret;
219} 219}
220 220
221static int max8997_rtc_stop_alarm(struct max8997_rtc_info *info) 221static int max8997_rtc_stop_alarm(struct max8997_rtc_info *info)