From patchwork Fri Aug 2 07:44:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 264217 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 513C12C0084 for ; Fri, 2 Aug 2013 17:44:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757834Ab3HBHo2 (ORCPT ); Fri, 2 Aug 2013 03:44:28 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:60445 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757361Ab3HBHo1 (ORCPT ); Fri, 2 Aug 2013 03:44:27 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r727iQFP013862; Fri, 2 Aug 2013 02:44:26 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r727iQ46024122; Fri, 2 Aug 2013 02:44:26 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 2 Aug 2013 02:44:25 -0500 Received: from localhost (h78-7.vpn.ti.com [172.24.78.7]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r727iO4D003230; Fri, 2 Aug 2013 02:44:25 -0500 From: Felipe Balbi To: Mugunthan V N CC: , , Linux OMAP Mailing List , Felipe Balbi Subject: [PATCH] net: ethernet: cpsw: drop IRQF_DISABLED Date: Fri, 2 Aug 2013 10:44:10 +0300 Message-ID: <1375429450-25454-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.8.3.4.840.g6a90778 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org IRQF_DISABLED is a no-op by now and should be removed. Signed-off-by: Felipe Balbi Acked-by: Mugunthan V N --- drivers/net/ethernet/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 05a1674..22a7a43 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -1867,7 +1867,7 @@ static int cpsw_probe(struct platform_device *pdev) while ((res = platform_get_resource(priv->pdev, IORESOURCE_IRQ, k))) { for (i = res->start; i <= res->end; i++) { - if (request_irq(i, cpsw_interrupt, IRQF_DISABLED, + if (request_irq(i, cpsw_interrupt, 0, dev_name(&pdev->dev), priv)) { dev_err(priv->dev, "error attaching irq\n"); goto clean_ale_ret;