All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] misc: phantom: remove deprecated IRQF_DISABLED
@ 2013-10-13  6:16 Michael Opdenacker
  2013-10-14  8:49 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2013-10-13  6:16 UTC (permalink / raw)
  To: jirislaby, arnd, gregkh; +Cc: linux-kernel, Michael Opdenacker

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>
---
 drivers/misc/phantom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index 68b7c77..3075492 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -395,7 +395,7 @@ static int phantom_probe(struct pci_dev *pdev,
 	iowrite32(0, pht->caddr + PHN_IRQCTL);
 	ioread32(pht->caddr + PHN_IRQCTL); /* PCI posting */
 	retval = request_irq(pdev->irq, phantom_isr,
-			IRQF_SHARED | IRQF_DISABLED, "phantom", pht);
+			IRQF_SHARED, "phantom", pht);
 	if (retval) {
 		dev_err(&pdev->dev, "can't establish ISR\n");
 		goto err_unmo;
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] misc: phantom: remove deprecated IRQF_DISABLED
  2013-10-13  6:16 [PATCH] misc: phantom: remove deprecated IRQF_DISABLED Michael Opdenacker
@ 2013-10-14  8:49 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2013-10-14  8:49 UTC (permalink / raw)
  To: Michael Opdenacker, arnd, gregkh; +Cc: linux-kernel

On 10/13/2013 08:16 AM, Michael Opdenacker wrote:
> 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: Jiri Slaby <jslaby@suse.cz>

Thanks.

> ---
>  drivers/misc/phantom.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
> index 68b7c77..3075492 100644
> --- a/drivers/misc/phantom.c
> +++ b/drivers/misc/phantom.c
> @@ -395,7 +395,7 @@ static int phantom_probe(struct pci_dev *pdev,
>  	iowrite32(0, pht->caddr + PHN_IRQCTL);
>  	ioread32(pht->caddr + PHN_IRQCTL); /* PCI posting */
>  	retval = request_irq(pdev->irq, phantom_isr,
> -			IRQF_SHARED | IRQF_DISABLED, "phantom", pht);
> +			IRQF_SHARED, "phantom", pht);
>  	if (retval) {
>  		dev_err(&pdev->dev, "can't establish ISR\n");
>  		goto err_unmo;
> 


-- 
js
suse labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-14  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13  6:16 [PATCH] misc: phantom: remove deprecated IRQF_DISABLED Michael Opdenacker
2013-10-14  8:49 ` Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.