From patchwork Fri Jan 27 10:47:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 92602 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp142568obz; Fri, 27 Jan 2017 02:50:22 -0800 (PST) X-Received: by 10.84.218.133 with SMTP id r5mr11392965pli.90.1485514222751; Fri, 27 Jan 2017 02:50:22 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z23si4119696pll.24.2017.01.27.02.50.22; Fri, 27 Jan 2017 02:50:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932750AbdA0KuA (ORCPT + 13 others); Fri, 27 Jan 2017 05:50:00 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:34153 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932666AbdA0KsG (ORCPT ); Fri, 27 Jan 2017 05:48:06 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKF000XVQ03XP70@mailout4.w1.samsung.com>; Fri, 27 Jan 2017 10:48:03 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170127104803eucas1p287d451e303619a3700312c011f209646~dmzAd6txm3216632166eucas1p2k; Fri, 27 Jan 2017 10:48:03 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2.samsung.com (EUCPMTA) with SMTP id 83.62.30614.2652B885; Fri, 27 Jan 2017 10:48:02 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170127104802eucas1p27facdbb5c2914da740f4d2ea6b87680b~dmy-3Rwoz0413704137eucas1p24; Fri, 27 Jan 2017 10:48:02 +0000 (GMT) X-AuditID: cbfec7f1-f793f6d000007796-77-588b256246b2 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 43.60.10233.0652B885; Fri, 27 Jan 2017 10:48:00 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKF003YLPZX2Z80@eusync4.samsung.com>; Fri, 27 Jan 2017 10:48:02 +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 3/4] soc: samsung: pm_domains: Remove message about failed memory allocation Date: Fri, 27 Jan 2017 11:47:51 +0100 Message-id: <1485514072-29502-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1485514072-29502-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsWy7djP87pJqt0RBnuXGFpsnLGe1eL6l+es FpPuT2CxePN2DZPF+fMb2C0+9x5htJhxfh+Txdojd9ktDr9pZ3Xg9Ni0qpPNY0v/XXaPvi2r GD0+b5ILYInisklJzcksSy3St0vgypi7PargIWtFR+cklgbG+yxdjJwcEgImEu8/PmSHsMUk Ltxbz9bFyMUhJLCUUeLOn+PsEM5n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lFPCUOLdhBivEZg+JtesesE5g5F3A yLCKUSS1tDg3PbfYSK84Mbe4NC9dLzk/dxMjMKi3Hfu5ZQdj17vgQ4wCHIxKPLwR8l0RQqyJ ZcWVuYcYJTiYlUR4dcW6I4R4UxIrq1KL8uOLSnNSiw8xmgIdNZFZSjQ5HxhxeSXxhiaG5paG RsYWFuZGRkrivFM/XAkXEkhPLEnNTk0tSC2C6WPi4JRqYFzkbir0d+Hh+sXTeP8mbVcPX6Vz 6vwERoVXq201FBcbNh/u3ZZ/63XU60O8h940TT/v8y1ekfOjqpaOybum4Gk8Nasbs65ZqaR8 OvF4d4dDyk3WWn4Piw+2u56rtPpnT4hK/pq96XfhtL2ebSVb3+hf+ntxgWMfc1Vo5b8H6UYb +Ko/n2iW81ViKc5INNRiLipOBABYqWUSgAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170127104802eucas1p27facdbb5c2914da740f4d2ea6b87680b 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: 20170127104802eucas1p27facdbb5c2914da740f4d2ea6b87680b X-RootMTR: 20170127104802eucas1p27facdbb5c2914da740f4d2ea6b87680b References: <1485514072-29502-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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-pm" 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; }