diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2014-03-20 20:10:28 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-20 20:10:28 -0400 |
commit | e1563769f7b4494c5f789c689495c1e90a0d4bfc (patch) | |
tree | 40c73e0ab1f39b833173889bb35da4e2c1053d37 /drivers/pnp/resource.c | |
parent | dcb99fd9b08cfe1afe426af4d8d3cbc429190f15 (diff) |
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>
Diffstat (limited to 'drivers/pnp/resource.c')
-rw-r--r-- | drivers/pnp/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/resource.c b/drivers/pnp/resource.c index bacddd102ae9..01712cbfd92e 100644 --- a/drivers/pnp/resource.c +++ b/drivers/pnp/resource.c | |||
@@ -385,7 +385,7 @@ int pnp_check_irq(struct pnp_dev *dev, struct resource *res) | |||
385 | * device is active because it itself may be in use */ | 385 | * device is active because it itself may be in use */ |
386 | if (!dev->active) { | 386 | if (!dev->active) { |
387 | if (request_irq(*irq, pnp_test_handler, | 387 | if (request_irq(*irq, pnp_test_handler, |
388 | IRQF_DISABLED | IRQF_PROBE_SHARED, "pnp", NULL)) | 388 | IRQF_PROBE_SHARED, "pnp", NULL)) |
389 | return 0; | 389 | return 0; |
390 | free_irq(*irq, NULL); | 390 | free_irq(*irq, NULL); |
391 | } | 391 | } |