Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186332
b: refs/heads/master
c: 4dd4dd6
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König authored and Linus Torvalds committed Mar 6, 2010
1 parent faeaac1 commit 4b8dd19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2a83319182afe9ba7d958180b3bd3a32a9e3d1be
refs/heads/master: 4dd4dd655cedb7c5c0bf45bc1d012ebbe21e8319
10 changes: 5 additions & 5 deletions trunk/drivers/rtc/rtc-mc13783.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ static int mc13783_rtc_set_mmss(struct device *dev, unsigned long secs)
if (unlikely(ret))
goto out;

ret = mc13783_ackirq(priv->mc13783, MC13783_IRQ_RTCRST);
ret = mc13783_irq_ack(priv->mc13783, MC13783_IRQ_RTCRST);
if (unlikely(ret))
goto out;

ret = mc13783_unmask(priv->mc13783, MC13783_IRQ_RTCRST);
ret = mc13783_irq_unmask(priv->mc13783, MC13783_IRQ_RTCRST);
out:
priv->valid = !ret;

Expand All @@ -123,7 +123,7 @@ static irqreturn_t mc13783_rtc_update_handler(int irq, void *dev)

rtc_update_irq(priv->rtc, 1, RTC_IRQF | RTC_UF);

mc13783_ackirq(mc13783, irq);
mc13783_irq_ack(mc13783, irq);

return IRQ_HANDLED;
}
Expand All @@ -138,7 +138,7 @@ static int mc13783_rtc_update_irq_enable(struct device *dev,
if (!priv->valid)
goto out;

ret = (enabled ? mc13783_unmask : mc13783_mask)(priv->mc13783,
ret = (enabled ? mc13783_irq_unmask : mc13783_irq_mask)(priv->mc13783,
MC13783_IRQ_1HZ);
out:
mc13783_unlock(priv->mc13783);
Expand All @@ -160,7 +160,7 @@ static irqreturn_t mc13783_rtc_reset_handler(int irq, void *dev)
dev_dbg(&priv->rtc->dev, "RTCRST\n");
priv->valid = 0;

mc13783_mask(mc13783, irq);
mc13783_irq_mask(mc13783, irq);

return IRQ_HANDLED;
}
Expand Down

0 comments on commit 4b8dd19

Please sign in to comment.