2013-10-13 07:23:46

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] w1: ds1wm: 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 <[email protected]>
---
drivers/w1/masters/ds1wm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c
index 96cab6a..41613f9 100644
--- a/drivers/w1/masters/ds1wm.c
+++ b/drivers/w1/masters/ds1wm.c
@@ -498,7 +498,7 @@ static int ds1wm_probe(struct platform_device *pdev)
irq_set_irq_type(ds1wm_data->irq, IRQ_TYPE_EDGE_FALLING);

ret = devm_request_irq(&pdev->dev, ds1wm_data->irq, ds1wm_isr,
- IRQF_DISABLED | IRQF_SHARED, "ds1wm", ds1wm_data);
+ IRQF_SHARED, "ds1wm", ds1wm_data);
if (ret)
return ret;

--
1.8.1.2


2013-10-16 16:18:35

by Evgeniy Polyakov

[permalink] [raw]
Subject: Re: [PATCH] w1: ds1wm: remove deprecated IRQF_DISABLED

Hi

13.10.2013, 11:23, "Michael Opdenacker" <[email protected]>:
> 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 <[email protected]>

Both patches look good, thank you
Greg, please pull them into your tree

Acked-by: Evgeniy Polyakov <[email protected]>

2013-10-16 16:25:27

by Evgeniy Polyakov

[permalink] [raw]
Subject: Re: [PATCH] w1: ds1wm: remove deprecated IRQF_DISABLED

Hi

13.10.2013, 11:23, "Michael Opdenacker" <[email protected]>:
> ?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 <[email protected]>

Both patches look good, thank you
Greg, please pull them into your tree

Acked-by: Evgeniy Polyakov <[email protected]>