PNP: remove deprecated IRQF_DISABLED
This patch removes the use of the IRQF_DISABLED flag from drivers/pnp/resource.c 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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
dcb99fd9b0
commit
e1563769f7
|
@ -385,7 +385,7 @@ int pnp_check_irq(struct pnp_dev *dev, struct resource *res)
|
|||
* device is active because it itself may be in use */
|
||||
if (!dev->active) {
|
||||
if (request_irq(*irq, pnp_test_handler,
|
||||
IRQF_DISABLED | IRQF_PROBE_SHARED, "pnp", NULL))
|
||||
IRQF_PROBE_SHARED, "pnp", NULL))
|
||||
return 0;
|
||||
free_irq(*irq, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue