diff options
Diffstat (limited to 'drivers/rtc/rtc-max8997.c')
-rw-r--r-- | drivers/rtc/rtc-max8997.c | 2 |
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 | ||
216 | out: | 216 | out: |
217 | mutex_unlock(&info->lock); | 217 | mutex_unlock(&info->lock); |
218 | return 0; | 218 | return ret; |
219 | } | 219 | } |
220 | 220 | ||
221 | static int max8997_rtc_stop_alarm(struct max8997_rtc_info *info) | 221 | static int max8997_rtc_stop_alarm(struct max8997_rtc_info *info) |