From patchwork Thu Sep 20 08:51:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 1483381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 54BCCDF2D2 for ; Thu, 20 Sep 2012 08:55:55 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TEcWH-0005Hf-J8; Thu, 20 Sep 2012 08:54:02 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TEcUs-0004fv-Ja for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2012 08:52:35 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MAN00J2L4MIN500@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2012 17:52:32 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-72-505ad950a562 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 50.F1.03860.059DA505; Thu, 20 Sep 2012 17:52:32 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MAN001S64MRTC90@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2012 17:52:32 +0900 (KST) From: Tomasz Figa To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/6] pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data Date: Thu, 20 Sep 2012 10:51:44 +0200 Message-id: <1348131104-24828-7-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1348131104-24828-1-git-send-email-t.figa@samsung.com> References: <1348131104-24828-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMJMWRmVeSWpSXmKPExsVy+t9jQd2Am1EBBsc/KVhsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6MV2vmMxacZq+4cbqFpYFxD1sXIyeHhICJRMP7GVC2mMSFe+uB bC4OIYHpjBKLfl+DcjYzScz6t5IdpIpNQE3ic8MjsA4RAQ2JKV2P2UGKmAX2MUpMvbSbBSQh LOAjcW3da0YQm0VAVeLb5BWsIDavgJPEv41zmSDWyUs8vd8HNohTwFni1INOZhBbCKhm7uXV bBMYeRcwMqxiFE0tSC4oTkrPNdIrTswtLs1L10vOz93ECPb6M+kdjKsaLA4xCnAwKvHw3hKO ChBiTSwrrsw9xCjBwawkwrtxIlCINyWxsiq1KD++qDQntfgQozQHi5I4r/CnwAAhgfTEktTs 1NSC1CKYLBMHp1QDo0PW1+4CnZX6W8xObQxaeTDK8/mGyR8PsKyXWcOq9cLbXUKLfeEN1Qzh jzufCTiJXnjT02p062bt98MFjY/LZnImd0mfc3V2O8T/asLsSb0JL7cZH8mdxnSiPMf6ZiPP jDfTgm9/3BVgz9XHkMduVXLY3/LH7A6PmDvOJ2frTrmrsni5TEnseiWW4oxEQy3mouJEADGg 1b72AQAA X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.4 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.5 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, linus.walleij@linaro.org, kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org, t.figa@samsung.com, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Although the function is used only a single time, it is not performance critical and it is pretty heavy, so let the compiler decide whether to inline it instead. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park --- drivers/pinctrl/pinctrl-samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-samsung.c b/drivers/pinctrl/pinctrl-samsung.c index 8a24223..dd108a9 100644 --- a/drivers/pinctrl/pinctrl-samsung.c +++ b/drivers/pinctrl/pinctrl-samsung.c @@ -776,7 +776,7 @@ static int __init samsung_gpiolib_unregister(struct platform_device *pdev, static const struct of_device_id samsung_pinctrl_dt_match[]; /* retrieve the soc specific data */ -static inline struct samsung_pin_ctrl *samsung_pinctrl_get_soc_data( +static struct samsung_pin_ctrl *samsung_pinctrl_get_soc_data( struct platform_device *pdev) { int id;