mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
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>
This commit is contained in:
parent
9de14f1c45
commit
b09534d3d8
@ -297,7 +297,7 @@ static int __init charlcd_probe(struct platform_device *pdev)
|
||||
lcd->irq = platform_get_irq(pdev, 0);
|
||||
/* If no IRQ is supplied, we'll survive without it */
|
||||
if (lcd->irq >= 0) {
|
||||
if (request_irq(lcd->irq, charlcd_interrupt, IRQF_DISABLED,
|
||||
if (request_irq(lcd->irq, charlcd_interrupt, 0,
|
||||
DRIVERNAME, lcd)) {
|
||||
ret = -EIO;
|
||||
goto out_no_irq;
|
||||
|
Loading…
x
Reference in New Issue
Block a user