提交 a9196b0b 编写于 作者: G Guan Xuetao

rtc-puv3: irq: remove IRQF_DISABLED

This flag is deprecated, so is removed now.
Signed-off-by: NYong Zhang <yong.zhang@gmail.com>
Signed-off-by: NGuan Xuetao <gxt@mprc.pku.edu.cn>
上级 86abc23e
......@@ -164,7 +164,7 @@ static int puv3_rtc_open(struct device *dev)
int ret;
ret = request_irq(puv3_rtc_alarmno, puv3_rtc_alarmirq,
IRQF_DISABLED, "pkunity-rtc alarm", rtc_dev);
0, "pkunity-rtc alarm", rtc_dev);
if (ret) {
dev_err(dev, "IRQ%d error %d\n", puv3_rtc_alarmno, ret);
......@@ -172,7 +172,7 @@ static int puv3_rtc_open(struct device *dev)
}
ret = request_irq(puv3_rtc_tickno, puv3_rtc_tickirq,
IRQF_DISABLED, "pkunity-rtc tick", rtc_dev);
0, "pkunity-rtc tick", rtc_dev);
if (ret) {
dev_err(dev, "IRQ%d error %d\n", puv3_rtc_tickno, ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册