lkml.org 
[lkml]   [2013]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] misc: phantom: remove deprecated IRQF_DISABLED
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


\
 
 \ /
  Last update: 2013-10-14 11:21    [W:0.044 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site