Browse Source

misc: arm-charlcd: 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>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Michael Opdenacker 11 years ago
parent
commit
b09534d3d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/misc/arm-charlcd.c

+ 1 - 1
drivers/misc/arm-charlcd.c

@@ -297,7 +297,7 @@ static int __init charlcd_probe(struct platform_device *pdev)
 	lcd->irq = platform_get_irq(pdev, 0);
 	lcd->irq = platform_get_irq(pdev, 0);
 	/* If no IRQ is supplied, we'll survive without it */
 	/* If no IRQ is supplied, we'll survive without it */
 	if (lcd->irq >= 0) {
 	if (lcd->irq >= 0) {
-		if (request_irq(lcd->irq, charlcd_interrupt, IRQF_DISABLED,
+		if (request_irq(lcd->irq, charlcd_interrupt, 0,
 				DRIVERNAME, lcd)) {
 				DRIVERNAME, lcd)) {
 			ret = -EIO;
 			ret = -EIO;
 			goto out_no_irq;
 			goto out_no_irq;