diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-10-22 05:56:55 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-10-24 08:14:40 -0400 |
commit | 38ada214fad79ff5ebbed58932c5f0c9969d9c91 (patch) | |
tree | 455e7c0623154f782c2dc75fa439ec7e0b682dc9 /drivers/spi/spi-ppc4xx.c | |
parent | 1458d160de3f1862aeaac57447ba96e7857ac52b (diff) |
spi: irq: 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: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-ppc4xx.c')
-rw-r--r-- | drivers/spi/spi-ppc4xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index b267fd901e5..8ec43e07aa1 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c | |||
@@ -514,7 +514,7 @@ static int __init spi_ppc4xx_of_probe(struct platform_device *op) | |||
514 | /* Request IRQ */ | 514 | /* Request IRQ */ |
515 | hw->irqnum = irq_of_parse_and_map(np, 0); | 515 | hw->irqnum = irq_of_parse_and_map(np, 0); |
516 | ret = request_irq(hw->irqnum, spi_ppc4xx_int, | 516 | ret = request_irq(hw->irqnum, spi_ppc4xx_int, |
517 | IRQF_DISABLED, "spi_ppc4xx_of", (void *)hw); | 517 | 0, "spi_ppc4xx_of", (void *)hw); |
518 | if (ret) { | 518 | if (ret) { |
519 | dev_err(dev, "unable to allocate interrupt\n"); | 519 | dev_err(dev, "unable to allocate interrupt\n"); |
520 | goto free_gpios; | 520 | goto free_gpios; |