diff options
Diffstat (limited to 'drivers/rtc/rtc-pcf8563.c')
-rw-r--r-- | drivers/rtc/rtc-pcf8563.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 5a197d9dc7e7..c2ef0a22ee94 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -167,8 +167,8 @@ static irqreturn_t pcf8563_irq(int irq, void *dev_id) | |||
167 | char pending; | 167 | char pending; |
168 | 168 | ||
169 | err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); | 169 | err = pcf8563_get_alarm_mode(pcf8563->client, NULL, &pending); |
170 | if (err < 0) | 170 | if (err) |
171 | return err; | 171 | return IRQ_NONE; |
172 | 172 | ||
173 | if (pending) { | 173 | if (pending) { |
174 | rtc_update_irq(pcf8563->rtc, 1, RTC_IRQF | RTC_AF); | 174 | rtc_update_irq(pcf8563->rtc, 1, RTC_IRQF | RTC_AF); |