forked from Minki/linux
[media] misc drivers: 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: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
9a373d17cc
commit
3e018fe440
@ -488,8 +488,7 @@ static int bt878_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
|
|||||||
btwrite(0, BT848_INT_MASK);
|
btwrite(0, BT848_INT_MASK);
|
||||||
|
|
||||||
result = request_irq(bt->irq, bt878_irq,
|
result = request_irq(bt->irq, bt878_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, "bt878",
|
IRQF_SHARED, "bt878", (void *) bt);
|
||||||
(void *) bt);
|
|
||||||
if (result == -EINVAL) {
|
if (result == -EINVAL) {
|
||||||
printk(KERN_ERR "bt878(%d): Bad irq number or handler\n",
|
printk(KERN_ERR "bt878(%d): Bad irq number or handler\n",
|
||||||
bt878_num);
|
bt878_num);
|
||||||
|
@ -4086,7 +4086,7 @@ static int bttv_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
|
|||||||
/* disable irqs, register irq handler */
|
/* disable irqs, register irq handler */
|
||||||
btwrite(0, BT848_INT_MASK);
|
btwrite(0, BT848_INT_MASK);
|
||||||
result = request_irq(btv->c.pci->irq, bttv_irq,
|
result = request_irq(btv->c.pci->irq, bttv_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, btv->c.v4l2_dev.name, (void *)btv);
|
IRQF_SHARED, btv->c.v4l2_dev.name, (void *)btv);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
pr_err("%d: can't get IRQ %d\n",
|
pr_err("%d: can't get IRQ %d\n",
|
||||||
bttv_num, btv->c.pci->irq);
|
bttv_num, btv->c.pci->irq);
|
||||||
|
@ -2129,7 +2129,7 @@ static int cx23885_initdev(struct pci_dev *pci_dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = request_irq(pci_dev->irq, cx23885_irq,
|
err = request_irq(pci_dev->irq, cx23885_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
|
IRQF_SHARED, dev->name, dev);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
printk(KERN_ERR "%s: can't get IRQ %d\n",
|
printk(KERN_ERR "%s: can't get IRQ %d\n",
|
||||||
dev->name, pci_dev->irq);
|
dev->name, pci_dev->irq);
|
||||||
|
@ -834,7 +834,7 @@ static int snd_cx88_create(struct snd_card *card, struct pci_dev *pci,
|
|||||||
|
|
||||||
/* get irq */
|
/* get irq */
|
||||||
err = request_irq(chip->pci->irq, cx8801_irq,
|
err = request_irq(chip->pci->irq, cx8801_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, chip->core->name, chip);
|
IRQF_SHARED, chip->core->name, chip);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
dprintk(0, "%s: can't get IRQ %d\n",
|
dprintk(0, "%s: can't get IRQ %d\n",
|
||||||
chip->core->name, chip->pci->irq);
|
chip->core->name, chip->pci->irq);
|
||||||
|
@ -499,7 +499,7 @@ static int cx8802_init_common(struct cx8802_dev *dev)
|
|||||||
|
|
||||||
/* get irq */
|
/* get irq */
|
||||||
err = request_irq(dev->pci->irq, cx8802_irq,
|
err = request_irq(dev->pci->irq, cx8802_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, dev->core->name, dev);
|
IRQF_SHARED, dev->core->name, dev);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
printk(KERN_ERR "%s: can't get IRQ %d\n",
|
printk(KERN_ERR "%s: can't get IRQ %d\n",
|
||||||
dev->core->name, dev->pci->irq);
|
dev->core->name, dev->pci->irq);
|
||||||
|
@ -1738,7 +1738,7 @@ static int cx8800_initdev(struct pci_dev *pci_dev,
|
|||||||
|
|
||||||
/* get irq */
|
/* get irq */
|
||||||
err = request_irq(pci_dev->irq, cx8800_irq,
|
err = request_irq(pci_dev->irq, cx8800_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, core->name, dev);
|
IRQF_SHARED, core->name, dev);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
printk(KERN_ERR "%s/0: can't get IRQ %d\n",
|
printk(KERN_ERR "%s/0: can't get IRQ %d\n",
|
||||||
core->name,pci_dev->irq);
|
core->name,pci_dev->irq);
|
||||||
|
@ -1698,7 +1698,7 @@ static int meye_probe(struct pci_dev *pcidev, const struct pci_device_id *ent)
|
|||||||
|
|
||||||
meye.mchip_irq = pcidev->irq;
|
meye.mchip_irq = pcidev->irq;
|
||||||
if (request_irq(meye.mchip_irq, meye_irq,
|
if (request_irq(meye.mchip_irq, meye_irq,
|
||||||
IRQF_DISABLED | IRQF_SHARED, "meye", meye_irq)) {
|
IRQF_SHARED, "meye", meye_irq)) {
|
||||||
v4l2_err(v4l2_dev, "request_irq failed\n");
|
v4l2_err(v4l2_dev, "request_irq failed\n");
|
||||||
goto outreqirq;
|
goto outreqirq;
|
||||||
}
|
}
|
||||||
|
@ -1096,7 +1096,7 @@ static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum)
|
|||||||
|
|
||||||
|
|
||||||
err = request_irq(dev->pci->irq, saa7134_alsa_irq,
|
err = request_irq(dev->pci->irq, saa7134_alsa_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, dev->name,
|
IRQF_SHARED, dev->name,
|
||||||
(void*) &dev->dmasound);
|
(void*) &dev->dmasound);
|
||||||
|
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
|
@ -992,7 +992,7 @@ static int saa7134_initdev(struct pci_dev *pci_dev,
|
|||||||
|
|
||||||
/* get irq */
|
/* get irq */
|
||||||
err = request_irq(pci_dev->irq, saa7134_irq,
|
err = request_irq(pci_dev->irq, saa7134_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
|
IRQF_SHARED, dev->name, dev);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
printk(KERN_ERR "%s: can't get IRQ %d\n",
|
printk(KERN_ERR "%s: can't get IRQ %d\n",
|
||||||
dev->name,pci_dev->irq);
|
dev->name,pci_dev->irq);
|
||||||
|
@ -1232,7 +1232,7 @@ static int saa7164_initdev(struct pci_dev *pci_dev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = request_irq(pci_dev->irq, saa7164_irq,
|
err = request_irq(pci_dev->irq, saa7164_irq,
|
||||||
IRQF_SHARED | IRQF_DISABLED, dev->name, dev);
|
IRQF_SHARED, dev->name, dev);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
printk(KERN_ERR "%s: can't get IRQ %d\n", dev->name,
|
printk(KERN_ERR "%s: can't get IRQ %d\n", dev->name,
|
||||||
pci_dev->irq);
|
pci_dev->irq);
|
||||||
|
Loading…
Reference in New Issue
Block a user