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: 9541053 Return-Path: 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 EA18F60429 for ; Fri, 27 Jan 2017 10:50:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E14C520649 for ; Fri, 27 Jan 2017 10:50:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D631227FBB; Fri, 27 Jan 2017 10:50:11 +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 79BA220649 for ; Fri, 27 Jan 2017 10:50:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932673AbdA0Kt7 (ORCPT ); Fri, 27 Jan 2017 05:49:59 -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+Txdojd9ktDr9pZ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HeejYQW0hg CaPEksVeXYxcQHYTk8TyyZ/BitgEDCW63naBFYkI2EvcfrKMHaSIWWAvk8TlqS+YQBLCAnES H372gRWxCKhKvN99jRHE5hXwkLh+aiLUZjmJk8cmgw3lFPCUOLdhBivEZg+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?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: 20170127104802eucas1p27facdbb5c2914da740f4d2ea6b87680b X-RootMTR: 20170127104802eucas1p27facdbb5c2914da740f4d2ea6b87680b References: <1485514072-29502-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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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; }