Message ID | 1485422967-30643-3-git-send-email-m.szyprowski@samsung.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C3C35604A0 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Thu, 26 Jan 2017 09:30:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B657E26E77 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Thu, 26 Jan 2017 09:30:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB20228112; Thu, 26 Jan 2017 09:30:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E322926E77 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Thu, 26 Jan 2017 09:30:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753209AbdAZJaL (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Thu, 26 Jan 2017 04:30:11 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:34105 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196AbdAZJaE (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Thu, 26 Jan 2017 04:30:04 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKD00647RQ14M70@mailout2.w1.samsung.com>; Thu, 26 Jan 2017 09:30:01 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170126093000eucas1p29fac8b79e1f27c7b0bdaf28d13b831f2~dSFlETzCu3033830338eucas1p2D; Thu, 26 Jan 2017 09:30:00 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id E1.7D.28517.791C9885; Thu, 26 Jan 2017 09:30:00 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170126092959eucas1p28ac04e5c3b9c4ae882047c93a57d3a4e~dSFkb3QJA3033830338eucas1p2C; Thu, 26 Jan 2017 09:29:59 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-14-5889c1978b84 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E9.FC.06687.7D1C9885; Thu, 26 Jan 2017 09:31:03 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKD007J9RPVXW40@eusync3.samsung.com>; Thu, 26 Jan 2017 09:29: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 v3 REBASED 06/13] pinctrl: samsung: Fix samsung_pinctrl_create_functions return value Date: Thu, 26 Jan 2017 10:29:20 +0100 Message-id: <1485422967-30643-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485422967-30643-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWRbUhTYRTHe+7dvbsuF5c58mAqMpSi8A324ZJhRVELCvwSzb7UyMuUtqm7 vkM0fCk3mOayXPUhxVSYydYmy0rnNs2lsZYgGvnyZVJg2tukCGbkdte333nO//z/5/BQuGRZ kEZV6GpYvU6lkZEigXvmTyjX6jMqC+4PEswzq51gQiGHkOmODmGMM7xIMK7HUcREzNOIsYY8 GDMyvSpkpjZvE4ztZRSdEClePFwVKpw2I6lYWRwnFa4nNxUdozakiDgzS8jLomNlrKaijtXn F18Vld9781xYtUY2jPTZcQMKEyZEUUDLYXu8wISSdnE/vF+zkzGW0AMIPOF6ExLtcgTBd8cv jBfJYX36N8k3BhEMfFvB+MKAgXnCER8n6UIwbZniKindguDB6oQwVuB0BwYR1wSKZafQarCs V8cGBHQOGJ4GUYzFtALalixCPi4TZmfuEjFOos/BZLM77gN0pxCWvdbEDRng9OK8/jS09JsS q6bARmA04ZMOxnZf4r0TQXPbEZ6tCN5tiXkugqnAfDwLp/eBxd2D8/ZiaL8l4SUK6PB0IZ5P wuwjE8EfH0bQ+tGN30HpvWiPDUnZWk6rZjl5HqfScrU6dd61Sq0T7X7527+B7THUP3PUj2gK yZLF3rF2pYRQ1XGNWj8CCpdJxX6PUSkRl6kam1h95RV9rYbl/OgAJZClisd7Fy5JaLWqhr3O slWs/n8Xo5LSDOh83lKaMphzaF+PJmv0ePnSVoPRWFT5SmPWUsPBrhupxpCNbkqRqom+zPwf X/aOWYrstM1x8Gur6tSH/Gxb3fzkBuyU5g4F6z/JdzLW+nzO4hqv+fXnUh8RzS7Z7J4LJLss Pxv0BduFwztnL4bnBquphTM6TMRWCRezXBdkAq5cVXgY13Oqf4cBotnuAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsVy+t/xq7rXD3ZGGJxap2qxccZ6Vovz5zew W0z5s5zJYtPja6wWm+f/YbT43HuE0WLG+X1MFmuP3GW3OPymndVi1a4/jA5cHjtn3WX32LSq k83jzrU9bB6bl9R79G1ZxejxeZNcAFuUm01GamJKapFCal5yfkpmXrqtUmiIm66FkkJeYm6q rVKErm9IkJJCWWJOKZBnZIAGHJwD3IOV9O0S3DKmntjOXnCPrWLtwvXMDYyPWbsYOTkkBEwk nhz5zgZhi0lcuLceyObiEBJYwiix8/syVginiUli4fVHzCBVbAKGEl1vu8CqRASaGSUalvSC OcwCE5gkZn5qYOpi5OAQFkiXmPSkEKSBRUBVomHNWUYQm1fAQ6L1+iR2iHVyEiePTQY7g1PA U2J/0zawuJDAREaJo7OzJzDyLmBkWMUoklpanJueW2yoV5yYW1yal66XnJ+7iREY9NuO/dy8 g/HSxuBDjAIcjEo8vAd2dEQIsSaWFVfmHmKU4GBWEuE9tK8zQog3JbGyKrUoP76oNCe1+BCj KdBRE5mlRJPzgRGZVxJvaGJobmloZGxhYW5kpCTOW/LhSriQQHpiSWp2ampBahFMHxMHp1QD 49S3Podqky9tFfE49Yi/boLzDePMzwVvjm9bdiCSpa9SxzDLTuG7T0Xg5kfNm7Q6de7KWk91 nBwg3/+WT91Qeot+352vbmq72Dm0g9uMnhbeONk3dUHZjKBnYkprf068x5PBlrvww3LO8JyJ 1zUvNh3IOS1xvi95k9hk709p2Yuuvy1Q6S/fpsRSnJFoqMVcVJwIAIY9WoqQAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170126092959eucas1p28ac04e5c3b9c4ae882047c93a57d3a4e X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170126092959eucas1p28ac04e5c3b9c4ae882047c93a57d3a4e X-RootMTR: 20170126092959eucas1p28ac04e5c3b9c4ae882047c93a57d3a4e References: <CACRpkdY_SpqfyTTqSP5+a1k1LDf_5w77UXo=EognmOzWBz2c-Q@mail.gmail.com> <1485422967-30643-1-git-send-email-m.szyprowski@samsung.com> <CGME20170126092959eucas1p28ac04e5c3b9c4ae882047c93a57d3a4e@eucas1p2.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
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; /*