Message ID | 1484657084-26227-7-git-send-email-m.szyprowski@samsung.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp470460qgi; Tue, 17 Jan 2017 04:46:17 -0800 (PST) X-Received: by 10.84.241.203 with SMTP id t11mr58689446plm.18.1484657177402; Tue, 17 Jan 2017 04:46:17 -0800 (PST) Return-Path: <linux-gpio-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k63si8497668pfj.144.2017.01.17.04.46.17; Tue, 17 Jan 2017 04:46:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751235AbdAQMqO (ORCPT <rfc822;jens.wiklander@linaro.org> + 4 others); Tue, 17 Jan 2017 07:46:14 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:63732 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140AbdAQMqE (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Tue, 17 Jan 2017 07:46:04 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJX007W0CR1GA60@mailout3.w1.samsung.com>; Tue, 17 Jan 2017 12:45:01 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170117124500eucas1p10fd52f7da1f2722379eaef7513bbe360~aj8RXXrFa2603126031eucas1p1r; Tue, 17 Jan 2017 12:45:00 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2.samsung.com (EUCPMTA) with SMTP id CD.B6.30614.CC11E785; Tue, 17 Jan 2017 12:45:00 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170117124459eucas1p1ead13705d84054c1d69b5d7a9795f0e9~aj8Qtr2nL2981029810eucas1p1V; Tue, 17 Jan 2017 12:44:59 +0000 (GMT) X-AuditID: cbfec7f1-f793f6d000007796-2b-587e11cce9c3 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id A5.E4.10233.6C11E785; Tue, 17 Jan 2017 12:44:54 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJX00GNRCQPHB20@eusync2.samsung.com>; Tue, 17 Jan 2017 12:44:59 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Krzysztof Kozlowski <krzk@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Tomasz Figa <tomasz.figa@gmail.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Subject: [PATCH v2 06/13] pinctrl: samsung: Fix samsung_pinctrl_create_functions return value Date: Tue, 17 Jan 2017 13:44:37 +0100 Message-id: <1484657084-26227-7-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1484657084-26227-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLIsWRmVeSWpSXmKPExsWy7djPc7pnBOsiDGb8ELTYOGM9q8X58xvY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V VilC1zckSEmhLDGnFMgzMkADDs4B7sFK+nYJbhmrZuxnLPjNWvG17SdzA2MXaxcjJ4eEgInE s7Z3ULaYxIV769lAbCGBJYwSO7eldjFyAdlNTBJNM/cwgyTYBAwlut52sYEkRASaGSUalvSC OcwCE5gkZn5qYOpi5OAQFoiXWL2YH6SBRUBV4svjX2AbeAU8JH7ve84GsU1O4uSxyWBxTgFP iR8/1zNBbPaQOH9/H+sERt4FjAyrGEVSS4tz03OLjfSKE3OLS/PS9ZLzczcxAkN+27GfW3Yw dr0LPsQowMGoxMPrdLsmQog1say4MvcQowQHs5II71yBuggh3pTEyqrUovz4otKc1OJDjKZA R01klhJNzgfGY15JvKGJobmloZGxhYW5kZGSOO/UD1fChQTSE0tSs1NTC1KLYPqYODilGhgP 1uj9FQ+bkvC8IWl9P0ta6Yuvxk2nBHnrIg1V26bOf/1SJ12/51HdGZmUaYstU+/seWcr9t9U p9+qq+j59xmTdgfzHVjTpPEn+E77G6k49ZuskeeD1skXLD7IoDj3zoO6HL57Uue4hGIvsxt7 uFxgdDt7c01K0o0oC16H9WcEJmZ0iz55tEWJpTgj0VCLuag4EQAyI4FwjwIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170117124459eucas1p1ead13705d84054c1d69b5d7a9795f0e9 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170117124459eucas1p1ead13705d84054c1d69b5d7a9795f0e9 X-RootMTR: 20170117124459eucas1p1ead13705d84054c1d69b5d7a9795f0e9 References: <1484657084-26227-1-git-send-email-m.szyprowski@samsung.com> <CGME20170117124459eucas1p1ead13705d84054c1d69b5d7a9795f0e9@eucas1p1.samsung.com> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: <linux-gpio.vger.kernel.org> X-Mailing-List: linux-gpio@vger.kernel.org |
Series |
Move pad retention control to Exynos pin controller driver
|
expand
|
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c index b11e67e85460..10b3fd826231 100644 --- a/drivers/pinctrl/samsung/pinctrl-samsung.c +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c @@ -751,7 +751,7 @@ static struct samsung_pmx_func *samsung_pinctrl_create_functions( functions = devm_kzalloc(dev, func_cnt * sizeof(*functions), GFP_KERNEL); if (!functions) - return ERR_PTR(-EINVAL); + return ERR_PTR(-ENOMEM); func = functions; /*
Return proper error code in case of memory allocation failure. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/pinctrl/samsung/pinctrl-samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html