aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@free-electrons.com>2013-10-05 00:39:24 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-07 15:53:52 -0400
commit2c20ae6862ba137bf79b918de6b739a60260e37c (patch)
tree4326cba0fa74122ee1279ca0948552eea148ff13
parentbfdd56b27594160f93d09a79d822e17a904c6247 (diff)
irda: remove deprecated IRQF_DISABLED
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/irda/bfin_sir.c4
-rw-r--r--drivers/net/irda/donauboe.c4
-rw-r--r--drivers/net/irda/sh_irda.c2
-rw-r--r--drivers/net/irda/sh_sir.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/irda/bfin_sir.c b/drivers/net/irda/bfin_sir.c
index c74f384c87d5..303c4bd26e17 100644
--- a/drivers/net/irda/bfin_sir.c
+++ b/drivers/net/irda/bfin_sir.c
@@ -411,12 +411,12 @@ static int bfin_sir_startup(struct bfin_sir_port *port, struct net_device *dev)
411 411
412#else 412#else
413 413
414 if (request_irq(port->irq, bfin_sir_rx_int, IRQF_DISABLED, "BFIN_SIR_RX", dev)) { 414 if (request_irq(port->irq, bfin_sir_rx_int, 0, "BFIN_SIR_RX", dev)) {
415 dev_warn(&dev->dev, "Unable to attach SIR RX interrupt\n"); 415 dev_warn(&dev->dev, "Unable to attach SIR RX interrupt\n");
416 return -EBUSY; 416 return -EBUSY;
417 } 417 }
418 418
419 if (request_irq(port->irq+1, bfin_sir_tx_int, IRQF_DISABLED, "BFIN_SIR_TX", dev)) { 419 if (request_irq(port->irq+1, bfin_sir_tx_int, 0, "BFIN_SIR_TX", dev)) {
420 dev_warn(&dev->dev, "Unable to attach SIR TX interrupt\n"); 420 dev_warn(&dev->dev, "Unable to attach SIR TX interrupt\n");
421 free_irq(port->irq, dev); 421 free_irq(port->irq, dev);
422 return -EBUSY; 422 return -EBUSY;
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c
index 31bcb98ef356..768dfe9a9315 100644
--- a/drivers/net/irda/donauboe.c
+++ b/drivers/net/irda/donauboe.c
@@ -1352,7 +1352,7 @@ toshoboe_net_open (struct net_device *dev)
1352 return 0; 1352 return 0;
1353 1353
1354 rc = request_irq (self->io.irq, toshoboe_interrupt, 1354 rc = request_irq (self->io.irq, toshoboe_interrupt,
1355 IRQF_SHARED | IRQF_DISABLED, dev->name, self); 1355 IRQF_SHARED, dev->name, self);
1356 if (rc) 1356 if (rc)
1357 return rc; 1357 return rc;
1358 1358
@@ -1559,7 +1559,7 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid)
1559 self->io.fir_base = self->base; 1559 self->io.fir_base = self->base;
1560 self->io.fir_ext = OBOE_IO_EXTENT; 1560 self->io.fir_ext = OBOE_IO_EXTENT;
1561 self->io.irq = pci_dev->irq; 1561 self->io.irq = pci_dev->irq;
1562 self->io.irqflags = IRQF_SHARED | IRQF_DISABLED; 1562 self->io.irqflags = IRQF_SHARED;
1563 1563
1564 self->speed = self->io.speed = 9600; 1564 self->speed = self->io.speed = 9600;
1565 self->async = 0; 1565 self->async = 0;
diff --git a/drivers/net/irda/sh_irda.c b/drivers/net/irda/sh_irda.c
index 4455425f1c77..ff45cd0d60e8 100644
--- a/drivers/net/irda/sh_irda.c
+++ b/drivers/net/irda/sh_irda.c
@@ -804,7 +804,7 @@ static int sh_irda_probe(struct platform_device *pdev)
804 goto err_mem_4; 804 goto err_mem_4;
805 805
806 platform_set_drvdata(pdev, ndev); 806 platform_set_drvdata(pdev, ndev);
807 err = request_irq(irq, sh_irda_irq, IRQF_DISABLED, "sh_irda", self); 807 err = request_irq(irq, sh_irda_irq, 0, "sh_irda", self);
808 if (err) { 808 if (err) {
809 dev_warn(&pdev->dev, "Unable to attach sh_irda interrupt\n"); 809 dev_warn(&pdev->dev, "Unable to attach sh_irda interrupt\n");
810 goto err_mem_4; 810 goto err_mem_4;
diff --git a/drivers/net/irda/sh_sir.c b/drivers/net/irda/sh_sir.c
index 89682b49900f..8d9ae5a086d5 100644
--- a/drivers/net/irda/sh_sir.c
+++ b/drivers/net/irda/sh_sir.c
@@ -761,7 +761,7 @@ static int sh_sir_probe(struct platform_device *pdev)
761 goto err_mem_4; 761 goto err_mem_4;
762 762
763 platform_set_drvdata(pdev, ndev); 763 platform_set_drvdata(pdev, ndev);
764 err = request_irq(irq, sh_sir_irq, IRQF_DISABLED, "sh_sir", self); 764 err = request_irq(irq, sh_sir_irq, 0, "sh_sir", self);
765 if (err) { 765 if (err) {
766 dev_warn(&pdev->dev, "Unable to attach sh_sir interrupt\n"); 766 dev_warn(&pdev->dev, "Unable to attach sh_sir interrupt\n");
767 goto err_mem_4; 767 goto err_mem_4;