Commit 2f6e5f94 authored by Yong Zhang's avatar Yong Zhang Committed by Linus Torvalds

drivers/rtc: remove IRQF_DISABLED

Since commit e58aa3d2 ("genirq: run irq handlers with interrupts
disabled") we run all interrupt handlers with interrupts disabled and we
even check and yell when an interrupt handler returns with interrupts
enabled - see commit b738a50a ("genirq: warn when handler enables
interrupts").

So now this flag is a NOOP and can be removed.
Signed-off-by: default avatarYong Zhang <yong.zhang0@gmail.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2778ebcc
...@@ -335,7 +335,7 @@ static int __init at91_rtc_probe(struct platform_device *pdev) ...@@ -335,7 +335,7 @@ static int __init at91_rtc_probe(struct platform_device *pdev)
/* register irq handler after we know what name we'll use */ /* register irq handler after we know what name we'll use */
ret = request_irq(AT91_ID_SYS, at91_rtc_interrupt, ret = request_irq(AT91_ID_SYS, at91_rtc_interrupt,
IRQF_DISABLED | IRQF_SHARED, IRQF_SHARED,
dev_name(&rtc->rtcdev->dev), rtc); dev_name(&rtc->rtcdev->dev), rtc);
if (ret) { if (ret) {
dev_dbg(&pdev->dev, "can't share IRQ %d?\n", AT91_ID_SYS); dev_dbg(&pdev->dev, "can't share IRQ %d?\n", AT91_ID_SYS);
......
...@@ -714,7 +714,7 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) ...@@ -714,7 +714,7 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq)
rtc_cmos_int_handler = cmos_interrupt; rtc_cmos_int_handler = cmos_interrupt;
retval = request_irq(rtc_irq, rtc_cmos_int_handler, retval = request_irq(rtc_irq, rtc_cmos_int_handler,
IRQF_DISABLED, dev_name(&cmos_rtc.rtc->dev), 0, dev_name(&cmos_rtc.rtc->dev),
cmos_rtc.rtc); cmos_rtc.rtc);
if (retval < 0) { if (retval < 0) {
dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq); dev_dbg(dev, "IRQ %d is already in use\n", rtc_irq);
......
...@@ -199,7 +199,7 @@ static int __init coh901331_probe(struct platform_device *pdev) ...@@ -199,7 +199,7 @@ static int __init coh901331_probe(struct platform_device *pdev)
} }
rtap->irq = platform_get_irq(pdev, 0); rtap->irq = platform_get_irq(pdev, 0);
if (request_irq(rtap->irq, coh901331_interrupt, IRQF_DISABLED, if (request_irq(rtap->irq, coh901331_interrupt, 0,
"RTC COH 901 331 Alarm", rtap)) { "RTC COH 901 331 Alarm", rtap)) {
ret = -EIO; ret = -EIO;
goto out_no_irq; goto out_no_irq;
......
...@@ -542,7 +542,7 @@ static int __init davinci_rtc_probe(struct platform_device *pdev) ...@@ -542,7 +542,7 @@ static int __init davinci_rtc_probe(struct platform_device *pdev)
rtcss_write(davinci_rtc, 0, PRTCSS_RTC_CCTRL); rtcss_write(davinci_rtc, 0, PRTCSS_RTC_CCTRL);
ret = request_irq(davinci_rtc->irq, davinci_rtc_interrupt, ret = request_irq(davinci_rtc->irq, davinci_rtc_interrupt,
IRQF_DISABLED, "davinci_rtc", davinci_rtc); 0, "davinci_rtc", davinci_rtc);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "unable to register davinci RTC interrupt\n"); dev_err(dev, "unable to register davinci RTC interrupt\n");
goto fail4; goto fail4;
......
...@@ -532,7 +532,7 @@ ds1511_rtc_probe(struct platform_device *pdev) ...@@ -532,7 +532,7 @@ ds1511_rtc_probe(struct platform_device *pdev)
if (pdata->irq > 0) { if (pdata->irq > 0) {
rtc_read(RTC_CMD1); rtc_read(RTC_CMD1);
if (devm_request_irq(&pdev->dev, pdata->irq, ds1511_interrupt, if (devm_request_irq(&pdev->dev, pdata->irq, ds1511_interrupt,
IRQF_DISABLED | IRQF_SHARED, pdev->name, pdev) < 0) { IRQF_SHARED, pdev->name, pdev) < 0) {
dev_warn(&pdev->dev, "interrupt not available.\n"); dev_warn(&pdev->dev, "interrupt not available.\n");
pdata->irq = 0; pdata->irq = 0;
......
...@@ -320,7 +320,7 @@ static int __devinit ds1553_rtc_probe(struct platform_device *pdev) ...@@ -320,7 +320,7 @@ static int __devinit ds1553_rtc_probe(struct platform_device *pdev)
writeb(0, ioaddr + RTC_INTERRUPTS); writeb(0, ioaddr + RTC_INTERRUPTS);
if (devm_request_irq(&pdev->dev, pdata->irq, if (devm_request_irq(&pdev->dev, pdata->irq,
ds1553_rtc_interrupt, ds1553_rtc_interrupt,
IRQF_DISABLED, pdev->name, pdev) < 0) { 0, pdev->name, pdev) < 0) {
dev_warn(&pdev->dev, "interrupt not available.\n"); dev_warn(&pdev->dev, "interrupt not available.\n");
pdata->irq = 0; pdata->irq = 0;
} }
......
...@@ -287,7 +287,7 @@ static int __devinit lpc32xx_rtc_probe(struct platform_device *pdev) ...@@ -287,7 +287,7 @@ static int __devinit lpc32xx_rtc_probe(struct platform_device *pdev)
if (rtc->irq >= 0) { if (rtc->irq >= 0) {
if (devm_request_irq(&pdev->dev, rtc->irq, if (devm_request_irq(&pdev->dev, rtc->irq,
lpc32xx_rtc_alarm_interrupt, lpc32xx_rtc_alarm_interrupt,
IRQF_DISABLED, pdev->name, rtc) < 0) { 0, pdev->name, rtc) < 0) {
dev_warn(&pdev->dev, "Can't request interrupt.\n"); dev_warn(&pdev->dev, "Can't request interrupt.\n");
rtc->irq = -1; rtc->irq = -1;
} else { } else {
......
...@@ -327,7 +327,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op) ...@@ -327,7 +327,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)
dev_set_drvdata(&op->dev, rtc); dev_set_drvdata(&op->dev, rtc);
rtc->irq = irq_of_parse_and_map(op->dev.of_node, 1); rtc->irq = irq_of_parse_and_map(op->dev.of_node, 1);
err = request_irq(rtc->irq, mpc5121_rtc_handler, IRQF_DISABLED, err = request_irq(rtc->irq, mpc5121_rtc_handler, 0,
"mpc5121-rtc", &op->dev); "mpc5121-rtc", &op->dev);
if (err) { if (err) {
dev_err(&op->dev, "%s: could not request irq: %i\n", dev_err(&op->dev, "%s: could not request irq: %i\n",
...@@ -337,7 +337,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op) ...@@ -337,7 +337,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)
rtc->irq_periodic = irq_of_parse_and_map(op->dev.of_node, 0); rtc->irq_periodic = irq_of_parse_and_map(op->dev.of_node, 0);
err = request_irq(rtc->irq_periodic, mpc5121_rtc_handler_upd, err = request_irq(rtc->irq_periodic, mpc5121_rtc_handler_upd,
IRQF_DISABLED, "mpc5121-rtc_upd", &op->dev); 0, "mpc5121-rtc_upd", &op->dev);
if (err) { if (err) {
dev_err(&op->dev, "%s: could not request irq: %i\n", dev_err(&op->dev, "%s: could not request irq: %i\n",
__func__, rtc->irq_periodic); __func__, rtc->irq_periodic);
......
...@@ -366,7 +366,7 @@ vrtc_mrst_do_probe(struct device *dev, struct resource *iomem, int rtc_irq) ...@@ -366,7 +366,7 @@ vrtc_mrst_do_probe(struct device *dev, struct resource *iomem, int rtc_irq)
if (rtc_irq) { if (rtc_irq) {
retval = request_irq(rtc_irq, mrst_rtc_irq, retval = request_irq(rtc_irq, mrst_rtc_irq,
IRQF_DISABLED, dev_name(&mrst_rtc.rtc->dev), 0, dev_name(&mrst_rtc.rtc->dev),
mrst_rtc.rtc); mrst_rtc.rtc);
if (retval < 0) { if (retval < 0) {
dev_dbg(dev, "IRQ %d is already in use, err %d\n", dev_dbg(dev, "IRQ %d is already in use, err %d\n",
......
...@@ -273,7 +273,7 @@ static int __devinit mv_rtc_probe(struct platform_device *pdev) ...@@ -273,7 +273,7 @@ static int __devinit mv_rtc_probe(struct platform_device *pdev)
if (pdata->irq >= 0) { if (pdata->irq >= 0) {
writel(0, pdata->ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS); writel(0, pdata->ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS);
if (devm_request_irq(&pdev->dev, pdata->irq, mv_rtc_interrupt, if (devm_request_irq(&pdev->dev, pdata->irq, mv_rtc_interrupt,
IRQF_DISABLED | IRQF_SHARED, IRQF_SHARED,
pdev->name, pdata) < 0) { pdev->name, pdata) < 0) {
dev_warn(&pdev->dev, "interrupt not available.\n"); dev_warn(&pdev->dev, "interrupt not available.\n");
pdata->irq = -1; pdata->irq = -1;
......
...@@ -269,7 +269,7 @@ static int __devinit nuc900_rtc_probe(struct platform_device *pdev) ...@@ -269,7 +269,7 @@ static int __devinit nuc900_rtc_probe(struct platform_device *pdev)
nuc900_rtc->irq_num = platform_get_irq(pdev, 0); nuc900_rtc->irq_num = platform_get_irq(pdev, 0);
if (request_irq(nuc900_rtc->irq_num, nuc900_rtc_interrupt, if (request_irq(nuc900_rtc->irq_num, nuc900_rtc_interrupt,
IRQF_DISABLED, "nuc900rtc", nuc900_rtc)) { 0, "nuc900rtc", nuc900_rtc)) {
dev_err(&pdev->dev, "NUC900 RTC request irq failed\n"); dev_err(&pdev->dev, "NUC900 RTC request irq failed\n");
err = -EBUSY; err = -EBUSY;
goto fail4; goto fail4;
......
...@@ -348,14 +348,14 @@ static int __init omap_rtc_probe(struct platform_device *pdev) ...@@ -348,14 +348,14 @@ static int __init omap_rtc_probe(struct platform_device *pdev)
rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG); rtc_write(OMAP_RTC_STATUS_ALARM, OMAP_RTC_STATUS_REG);
/* handle periodic and alarm irqs */ /* handle periodic and alarm irqs */
if (request_irq(omap_rtc_timer, rtc_irq, IRQF_DISABLED, if (request_irq(omap_rtc_timer, rtc_irq, 0,
dev_name(&rtc->dev), rtc)) { dev_name(&rtc->dev), rtc)) {
pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n", pr_debug("%s: RTC timer interrupt IRQ%d already claimed\n",
pdev->name, omap_rtc_timer); pdev->name, omap_rtc_timer);
goto fail1; goto fail1;
} }
if ((omap_rtc_timer != omap_rtc_alarm) && if ((omap_rtc_timer != omap_rtc_alarm) &&
(request_irq(omap_rtc_alarm, rtc_irq, IRQF_DISABLED, (request_irq(omap_rtc_alarm, rtc_irq, 0,
dev_name(&rtc->dev), rtc))) { dev_name(&rtc->dev), rtc))) {
pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n", pr_debug("%s: RTC alarm interrupt IRQ%d already claimed\n",
pdev->name, omap_rtc_alarm); pdev->name, omap_rtc_alarm);
......
...@@ -123,7 +123,7 @@ static int pl030_probe(struct amba_device *dev, const struct amba_id *id) ...@@ -123,7 +123,7 @@ static int pl030_probe(struct amba_device *dev, const struct amba_id *id)
amba_set_drvdata(dev, rtc); amba_set_drvdata(dev, rtc);
ret = request_irq(dev->irq[0], pl030_interrupt, IRQF_DISABLED, ret = request_irq(dev->irq[0], pl030_interrupt, 0,
"rtc-pl030", rtc); "rtc-pl030", rtc);
if (ret) if (ret)
goto err_irq; goto err_irq;
......
...@@ -352,7 +352,7 @@ static int pl031_probe(struct amba_device *adev, const struct amba_id *id) ...@@ -352,7 +352,7 @@ static int pl031_probe(struct amba_device *adev, const struct amba_id *id)
} }
if (request_irq(adev->irq[0], pl031_interrupt, if (request_irq(adev->irq[0], pl031_interrupt,
IRQF_DISABLED, "rtc-pl031", ldata)) { 0, "rtc-pl031", ldata)) {
ret = -EIO; ret = -EIO;
goto out_no_irq; goto out_no_irq;
} }
......
...@@ -174,14 +174,14 @@ static int pxa_rtc_open(struct device *dev) ...@@ -174,14 +174,14 @@ static int pxa_rtc_open(struct device *dev)
struct pxa_rtc *pxa_rtc = dev_get_drvdata(dev); struct pxa_rtc *pxa_rtc = dev_get_drvdata(dev);
int ret; int ret;
ret = request_irq(pxa_rtc->irq_1Hz, pxa_rtc_irq, IRQF_DISABLED, ret = request_irq(pxa_rtc->irq_1Hz, pxa_rtc_irq, 0,
"rtc 1Hz", dev); "rtc 1Hz", dev);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "can't get irq %i, err %d\n", pxa_rtc->irq_1Hz, dev_err(dev, "can't get irq %i, err %d\n", pxa_rtc->irq_1Hz,
ret); ret);
goto err_irq_1Hz; goto err_irq_1Hz;
} }
ret = request_irq(pxa_rtc->irq_Alrm, pxa_rtc_irq, IRQF_DISABLED, ret = request_irq(pxa_rtc->irq_Alrm, pxa_rtc_irq, 0,
"rtc Alrm", dev); "rtc Alrm", dev);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "can't get irq %i, err %d\n", pxa_rtc->irq_Alrm, dev_err(dev, "can't get irq %i, err %d\n", pxa_rtc->irq_Alrm,
......
...@@ -543,14 +543,14 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev) ...@@ -543,14 +543,14 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)
s3c_rtc_setfreq(&pdev->dev, 1); s3c_rtc_setfreq(&pdev->dev, 1);
ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq, ret = request_irq(s3c_rtc_alarmno, s3c_rtc_alarmirq,
IRQF_DISABLED, "s3c2410-rtc alarm", rtc); 0, "s3c2410-rtc alarm", rtc);
if (ret) { if (ret) {
dev_err(&pdev->dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret); dev_err(&pdev->dev, "IRQ%d error %d\n", s3c_rtc_alarmno, ret);
goto err_alarm_irq; goto err_alarm_irq;
} }
ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq, ret = request_irq(s3c_rtc_tickno, s3c_rtc_tickirq,
IRQF_DISABLED, "s3c2410-rtc tick", rtc); 0, "s3c2410-rtc tick", rtc);
if (ret) { if (ret) {
dev_err(&pdev->dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret); dev_err(&pdev->dev, "IRQ%d error %d\n", s3c_rtc_tickno, ret);
free_irq(s3c_rtc_alarmno, rtc); free_irq(s3c_rtc_alarmno, rtc);
......
...@@ -160,13 +160,12 @@ static int sa1100_rtc_open(struct device *dev) ...@@ -160,13 +160,12 @@ static int sa1100_rtc_open(struct device *dev)
struct platform_device *plat_dev = to_platform_device(dev); struct platform_device *plat_dev = to_platform_device(dev);
struct rtc_device *rtc = platform_get_drvdata(plat_dev); struct rtc_device *rtc = platform_get_drvdata(plat_dev);
ret = request_irq(IRQ_RTC1Hz, sa1100_rtc_interrupt, IRQF_DISABLED, ret = request_irq(IRQ_RTC1Hz, sa1100_rtc_interrupt, 0, "rtc 1Hz", dev);
"rtc 1Hz", dev);
if (ret) { if (ret) {
dev_err(dev, "IRQ %d already in use.\n", IRQ_RTC1Hz); dev_err(dev, "IRQ %d already in use.\n", IRQ_RTC1Hz);
goto fail_ui; goto fail_ui;
} }
ret = request_irq(IRQ_RTCAlrm, sa1100_rtc_interrupt, IRQF_DISABLED, ret = request_irq(IRQ_RTCAlrm, sa1100_rtc_interrupt, 0,
"rtc Alrm", dev); "rtc Alrm", dev);
if (ret) { if (ret) {
dev_err(dev, "IRQ %d already in use.\n", IRQ_RTCAlrm); dev_err(dev, "IRQ %d already in use.\n", IRQ_RTCAlrm);
......
...@@ -666,7 +666,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) ...@@ -666,7 +666,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
if (rtc->carry_irq <= 0) { if (rtc->carry_irq <= 0) {
/* register shared periodic/carry/alarm irq */ /* register shared periodic/carry/alarm irq */
ret = request_irq(rtc->periodic_irq, sh_rtc_shared, ret = request_irq(rtc->periodic_irq, sh_rtc_shared,
IRQF_DISABLED, "sh-rtc", rtc); 0, "sh-rtc", rtc);
if (unlikely(ret)) { if (unlikely(ret)) {
dev_err(&pdev->dev, dev_err(&pdev->dev,
"request IRQ failed with %d, IRQ %d\n", ret, "request IRQ failed with %d, IRQ %d\n", ret,
...@@ -676,7 +676,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) ...@@ -676,7 +676,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
} else { } else {
/* register periodic/carry/alarm irqs */ /* register periodic/carry/alarm irqs */
ret = request_irq(rtc->periodic_irq, sh_rtc_periodic, ret = request_irq(rtc->periodic_irq, sh_rtc_periodic,
IRQF_DISABLED, "sh-rtc period", rtc); 0, "sh-rtc period", rtc);
if (unlikely(ret)) { if (unlikely(ret)) {
dev_err(&pdev->dev, dev_err(&pdev->dev,
"request period IRQ failed with %d, IRQ %d\n", "request period IRQ failed with %d, IRQ %d\n",
...@@ -685,7 +685,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) ...@@ -685,7 +685,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
} }
ret = request_irq(rtc->carry_irq, sh_rtc_interrupt, ret = request_irq(rtc->carry_irq, sh_rtc_interrupt,
IRQF_DISABLED, "sh-rtc carry", rtc); 0, "sh-rtc carry", rtc);
if (unlikely(ret)) { if (unlikely(ret)) {
dev_err(&pdev->dev, dev_err(&pdev->dev,
"request carry IRQ failed with %d, IRQ %d\n", "request carry IRQ failed with %d, IRQ %d\n",
...@@ -695,7 +695,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) ...@@ -695,7 +695,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
} }
ret = request_irq(rtc->alarm_irq, sh_rtc_alarm, ret = request_irq(rtc->alarm_irq, sh_rtc_alarm,
IRQF_DISABLED, "sh-rtc alarm", rtc); 0, "sh-rtc alarm", rtc);
if (unlikely(ret)) { if (unlikely(ret)) {
dev_err(&pdev->dev, dev_err(&pdev->dev,
"request alarm IRQ failed with %d, IRQ %d\n", "request alarm IRQ failed with %d, IRQ %d\n",
......
...@@ -329,7 +329,7 @@ static int __devinit stk17ta8_rtc_probe(struct platform_device *pdev) ...@@ -329,7 +329,7 @@ static int __devinit stk17ta8_rtc_probe(struct platform_device *pdev)
writeb(0, ioaddr + RTC_INTERRUPTS); writeb(0, ioaddr + RTC_INTERRUPTS);
if (devm_request_irq(&pdev->dev, pdata->irq, if (devm_request_irq(&pdev->dev, pdata->irq,
stk17ta8_rtc_interrupt, stk17ta8_rtc_interrupt,
IRQF_DISABLED | IRQF_SHARED, IRQF_SHARED,
pdev->name, pdev) < 0) { pdev->name, pdev) < 0) {
dev_warn(&pdev->dev, "interrupt not available.\n"); dev_warn(&pdev->dev, "interrupt not available.\n");
pdata->irq = 0; pdata->irq = 0;
......
...@@ -266,7 +266,7 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev) ...@@ -266,7 +266,7 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev)
spin_lock_init(&pdata->lock); spin_lock_init(&pdata->lock);
tx4939_rtc_cmd(pdata->rtcreg, TX4939_RTCCTL_COMMAND_NOP); tx4939_rtc_cmd(pdata->rtcreg, TX4939_RTCCTL_COMMAND_NOP);
if (devm_request_irq(&pdev->dev, irq, tx4939_rtc_interrupt, if (devm_request_irq(&pdev->dev, irq, tx4939_rtc_interrupt,
IRQF_DISABLED, pdev->name, &pdev->dev) < 0) 0, pdev->name, &pdev->dev) < 0)
return -EBUSY; return -EBUSY;
rtc = rtc_device_register(pdev->name, &pdev->dev, rtc = rtc_device_register(pdev->name, &pdev->dev,
&tx4939_rtc_ops, THIS_MODULE); &tx4939_rtc_ops, THIS_MODULE);
......
...@@ -333,7 +333,7 @@ static int __devinit rtc_probe(struct platform_device *pdev) ...@@ -333,7 +333,7 @@ static int __devinit rtc_probe(struct platform_device *pdev)
goto err_device_unregister; goto err_device_unregister;
} }
retval = request_irq(aie_irq, elapsedtime_interrupt, IRQF_DISABLED, retval = request_irq(aie_irq, elapsedtime_interrupt, 0,
"elapsed_time", pdev); "elapsed_time", pdev);
if (retval < 0) if (retval < 0)
goto err_device_unregister; goto err_device_unregister;
...@@ -342,7 +342,7 @@ static int __devinit rtc_probe(struct platform_device *pdev) ...@@ -342,7 +342,7 @@ static int __devinit rtc_probe(struct platform_device *pdev)
if (pie_irq <= 0) if (pie_irq <= 0)
goto err_free_irq; goto err_free_irq;
retval = request_irq(pie_irq, rtclong1_interrupt, IRQF_DISABLED, retval = request_irq(pie_irq, rtclong1_interrupt, 0,
"rtclong1", pdev); "rtclong1", pdev);
if (retval < 0) if (retval < 0)
goto err_free_irq; goto err_free_irq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment