Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752519AbbFDGUW (ORCPT ); Thu, 4 Jun 2015 02:20:22 -0400 Received: from mail-yk0-f182.google.com ([209.85.160.182]:36729 "EHLO mail-yk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955AbbFDGUN (ORCPT ); Thu, 4 Jun 2015 02:20:13 -0400 MIME-Version: 1.0 X-Originating-IP: [37.11.0.18] In-Reply-To: <1433391238-19471-6-git-send-email-jiang.liu@linux.intel.com> References: <1433391238-19471-1-git-send-email-jiang.liu@linux.intel.com> <1433391238-19471-6-git-send-email-jiang.liu@linux.intel.com> Date: Thu, 4 Jun 2015 08:20:12 +0200 Message-ID: Subject: Re: [RFT v2 05/48] gpio: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc From: Javier Martinez Canillas To: Jiang Liu Cc: Thomas Gleixner , Bjorn Helgaas , Benjamin Herrenschmidt , Ingo Molnar , "H. Peter Anvin" , Randy Dunlap , Yinghai Lu , Borislav Petkov , Ray Jui , Linus Walleij , Alexandre Courbot , Santosh Shilimkar , Kevin Hilman , Stephen Warren , Thierry Reding , Michal Simek , =?UTF-8?Q?S=C3=B6ren_Brinkmann?= , Konrad Rzeszutek Wilk , Tony Luck , x86@kernel.org, Linux Kernel , linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Linux GPIO List , "linux-omap@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 27 Hello Jiang, On Thu, Jun 4, 2015 at 6:13 AM, Jiang Liu wrote: > Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we > already have a pointer to corresponding irq_desc. > > Signed-off-by: Jiang Liu > Acked-by: Linus Walleij > --- > drivers/gpio/gpio-bcm-kona.c | 2 +- > drivers/gpio/gpio-dwapb.c | 2 +- > drivers/gpio/gpio-mvebu.c | 2 +- > drivers/gpio/gpio-mxc.c | 6 +++--- > drivers/gpio/gpio-mxs.c | 2 +- > drivers/gpio/gpio-omap.c | 2 +- For gpio-omap: Acked-by: Javier Martinez Canillas Best regards, Javier -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/