Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754082AbbFEDGM (ORCPT ); Thu, 4 Jun 2015 23:06:12 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:35990 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078AbbFEDGH (ORCPT ); Thu, 4 Jun 2015 23:06:07 -0400 MIME-Version: 1.0 In-Reply-To: <1433391238-19471-7-git-send-email-jiang.liu@linux.intel.com> References: <1433391238-19471-1-git-send-email-jiang.liu@linux.intel.com> <1433391238-19471-7-git-send-email-jiang.liu@linux.intel.com> Date: Fri, 5 Jun 2015 12:06:06 +0900 Message-ID: Subject: Re: [RFT v2 06/48] pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc From: Tomasz Figa To: Jiang Liu Cc: Thomas Gleixner , Bjorn Helgaas , Benjamin Herrenschmidt , Ingo Molnar , "H. Peter Anvin" , Randy Dunlap , Yinghai Lu , Borislav Petkov , Mika Westerberg , Heikki Krogerus , Linus Walleij , Matthias Brugger , Alessandro Rubini , Jean-Christophe Plagniol-Villard , Heiko Stuebner , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , Thomas Abraham , Kukjin Kim , Krzysztof Kozlowski , Barry Song , Maxime Ripard , Hongzhou Yang , Maoguang Meng , Yingjoe Chen , Axel Lin , Bjorn Andersson , Stanimir Varbanov , Stephen Boyd , Bin Shi , Fan Wu , Hans de Goede , Chen-Yu Tsai , Konrad Rzeszutek Wilk , Tony Luck , x86@kernel.org, linux-kernel , linux-pci@vger.kernel.org, ACPI Devel Maling List , Barry Song , "linux-gpio@vger.kernel.org" , linux-arm-kernel , linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@stlinux.com, "linux-samsung-soc@vger.kernel.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: 1533 Lines: 35 Hi, 2015-06-04 13:13 GMT+09:00 Jiang Liu : > 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/pinctrl/intel/pinctrl-cherryview.c | 2 +- > drivers/pinctrl/intel/pinctrl-intel.c | 2 +- > drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 4 ++-- > drivers/pinctrl/nomadik/pinctrl-nomadik.c | 12 +++++------- > drivers/pinctrl/pinctrl-amd.c | 2 +- > drivers/pinctrl/pinctrl-at91.c | 2 +- > drivers/pinctrl/pinctrl-coh901.c | 4 ++-- > drivers/pinctrl/pinctrl-rockchip.c | 4 ++-- > drivers/pinctrl/pinctrl-single.c | 2 +- > drivers/pinctrl/pinctrl-st.c | 6 +++--- > drivers/pinctrl/qcom/pinctrl-msm.c | 2 +- > drivers/pinctrl/samsung/pinctrl-exynos.c | 8 ++++---- > drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 18 +++++++++--------- > drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 22 ++++++++++------------ For Samsung stuff: Acked-by: Tomasz Figa Best regards, Tomasz -- 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/