summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-sh.c
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2011-10-22 17:56:55 +0800
committerGrant Likely <grant.likely@secretlab.ca>2011-10-24 14:14:40 +0200
commit38ada214fad79ff5ebbed58932c5f0c9969d9c91 (patch)
tree455e7c0623154f782c2dc75fa439ec7e0b682dc9 /drivers/spi/spi-sh.c
parent1458d160de3f1862aeaac57447ba96e7857ac52b (diff)
downloadlwn-38ada214fad79ff5ebbed58932c5f0c9969d9c91.tar.gz
lwn-38ada214fad79ff5ebbed58932c5f0c9969d9c91.zip
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-sh.c')
-rw-r--r--drivers/spi/spi-sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh.c b/drivers/spi/spi-sh.c
index 9eedd71ad898..e0343d48da6c 100644
--- a/drivers/spi/spi-sh.c
+++ b/drivers/spi/spi-sh.c
@@ -484,7 +484,7 @@ static int __devinit spi_sh_probe(struct platform_device *pdev)
goto error2;
}
- ret = request_irq(irq, spi_sh_irq, IRQF_DISABLED, "spi_sh", ss);
+ ret = request_irq(irq, spi_sh_irq, 0, "spi_sh", ss);
if (ret < 0) {
dev_err(&pdev->dev, "request_irq error\n");
goto error3;