From patchwork Mon Jan 30 12:18:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 92846 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1409231qgi; Mon, 30 Jan 2017 04:30:38 -0800 (PST) X-Received: by 10.99.109.143 with SMTP id i137mr23622646pgc.11.1485779438190; Mon, 30 Jan 2017 04:30:38 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w31si12463843pla.66.2017.01.30.04.30.37; Mon, 30 Jan 2017 04:30:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783AbdA3Mah (ORCPT + 4 others); Mon, 30 Jan 2017 07:30:37 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:18855 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523AbdA3Mag (ORCPT ); Mon, 30 Jan 2017 07:30:36 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKL00DIRE8EZW50@mailout3.w1.samsung.com>; Mon, 30 Jan 2017 12:19:26 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170130121925eucas1p20bd6ddce3c170057d203c03b9cac0973~ei_pQBIkS1632816328eucas1p2d; Mon, 30 Jan 2017 12:19:25 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges5.samsung.com (EUCPMTA) with SMTP id B9.D1.17477.D4F2F885; Mon, 30 Jan 2017 12:19:25 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170130121924eucas1p24f99bd1ca38a37d88d54aae96d0e141f~ei_oNVoXa0678706787eucas1p2w; Mon, 30 Jan 2017 12:19:24 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d000004445-fe-588f2f4d17f6 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 51.24.06687.58F2F885; Mon, 30 Jan 2017 12:20:21 +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 <0OKL00IHCE7WJ0B0@eusync3.samsung.com>; Mon, 30 Jan 2017 12:19:14 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Javier Martinez Canillas , Bartlomiej Zolnierkiewicz , Chanwoo Choi , Inki Dae Subject: [PATCH v3 3/5] soc: samsung: pm_domains: Remove message about failed memory allocation Date: Mon, 30 Jan 2017 13:18:58 +0100 Message-id: <1485778740-30337-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485778740-30337-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsWy7djP87q++v0RBrc6hSw2zljPanH9y3NW i0n3J7BYvHm7hsni/PkN7Bafe48wWsw4v4/JYu2Ru+wWh9+0szpwemxa1cnmsaX/LrtH35ZV jB6fN8kFsERx2aSk5mSWpRbp2yVwZczdHlXwkLWio3MSSwPjfZYuRk4OCQETiV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2 vwJawcHBIqAq0fGvCCTMK+AhMfH6Y6htchInj01mBbE5BTwlvq5eBmYLAdV8unqeeQIj7wJG hlWMIqmlxbnpucWGesWJucWleel6yfm5mxiBQb3t2M/NOxgvbQw+xCjAwajEw3tDuC9CiDWx rLgy9xCjBAezkgjvSdX+CCHelMTKqtSi/Pii0pzU4kOMpkA3TWSWEk3OB0ZcXkm8oYmhuaWh kbGFhbmRkZI4b8mHK+FCAumJJanZqakFqUUwfUwcnFINjHUnT1gG1P+9YtAUwTNXLV9twat9 0UdXd+TvsjsZWPtkrseUat4tdZ/OXvaUvT3lyNMlYZazz4itlwvJ8k/rfNl/R/+I4i3xRNmW eNO0/PunP92c6RM6h/vMdXlb8a3bGH8uNp+SavzL42PVS+mZDX9PHH3bbnhW2Md17+/iayL6 by5s7O5KMlNiKc5INNRiLipOBAB8cCSKgAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170130121924eucas1p24f99bd1ca38a37d88d54aae96d0e141f X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 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: 20170130121924eucas1p24f99bd1ca38a37d88d54aae96d0e141f X-RootMTR: 20170130121924eucas1p24f99bd1ca38a37d88d54aae96d0e141f References: <1485778740-30337-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Memory subsystem already prints message about failed memory allocation, there is no need to do it in the drivers. Signed-off-by: Marek Szyprowski --- drivers/soc/samsung/pm_domains.c | 2 -- 1 file changed, 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c index 00e32772655a..5a0a46bcbe18 100644 --- a/drivers/soc/samsung/pm_domains.c +++ b/drivers/soc/samsung/pm_domains.c @@ -156,8 +156,6 @@ static __init int exynos4_pm_init_power_domain(void) pd = kzalloc(sizeof(*pd), GFP_KERNEL); if (!pd) { - pr_err("%s: failed to allocate memory for domain\n", - __func__); of_node_put(np); return -ENOMEM; }