From patchwork Wed Feb 26 01:08:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 324157 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B75052C00A0 for ; Wed, 26 Feb 2014 12:08:13 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750900AbaBZBIN (ORCPT ); Tue, 25 Feb 2014 20:08:13 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:38056 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800AbaBZBIM (ORCPT ); Tue, 25 Feb 2014 20:08:12 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1K00M0PWHN5IC0@mailout3.samsung.com> for linux-pwm@vger.kernel.org; Wed, 26 Feb 2014 10:08:11 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 37.D6.10364.B7E3D035; Wed, 26 Feb 2014 10:08:11 +0900 (KST) X-AuditID: cbfee690-b7f266d00000287c-df-530d3e7b31c3 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 91.5A.29263.B7E3D035; Wed, 26 Feb 2014 10:08:11 +0900 (KST) Received: from DOJG1HAN03 ([12.36.166.146]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N1K0066ZWHMOE00@mmp2.samsung.com>; Wed, 26 Feb 2014 10:08:10 +0900 (KST) From: Jingoo Han To: 'Thierry Reding' Cc: linux-pwm@vger.kernel.org, 'Jingoo Han' , 'Laurent Pinchart' , 'Simon Horman' References: <000701cf328e$00ed24c0$02c76e40$%han@samsung.com> In-reply-to: <000701cf328e$00ed24c0$02c76e40$%han@samsung.com> Subject: [PATCH 4/9] pwm: renesas-tpu: Remove unnecessary OOM messages Date: Wed, 26 Feb 2014 10:08:10 +0900 Message-id: <000c01cf328f$376b8860$a6429920$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-language: ko Thread-index: Ac8yjgDAAe+vBVdBShKGb71bK5ER2QAAP7Zg X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBIsWRmVeSWpSXmKPExsVy+t8zY91qO95gg4PzBCyat35ltLi88BKr xcSmOywWd++uYrT4uWseiwOrx85Zd9k9ZnfMZPXo27KK0WPOz28sHp83yQWwRnHZpKTmZJal FunbJXBlPHw4mblgFlvF2nfrWRoY+1i7GDk5JARMJC4dvscIYYtJXLi3nq2LkYtDSGAZo0Tj vDnsMEWHp75jgkhMZ5S4vqIPyvnNKPFu7RYmkCo2ATWJL18Og3WICOhLXLp+iRWkiFlgFaPE ot8rwIqEBGwl7t3ZALaPU8BOYtGqFSxdjBwcwgJuEtdu6IKEWQRUJZo6NjCD2LxA5Zu+7WaC sAUlfky+xwJiMwtoSazfeZwJwpaX2LzmLTPIGAkBdYlHf3UhwiIS+168Y4Q4x0hi774GRpBz JAQesUt0HN3ODrFLQOLb5EMsEL2yEpsOMEM8LClxcMUNlgmMErOQbJ6FZPMsJJtnIVm3gJFl FaNoakFyQXFSepGJXnFibnFpXrpecn7uJkZIrE7YwXjvgPUhxmSg9ROZpUST84GxnlcSb2hs ZmRhamJqbGRuaUaasJI4r9qjpCAhgfTEktTs1NSC1KL4otKc1OJDjEwcnFINjGwPot518jv4 nAv9s+3byfvNb89VtnOfu/J2r+fUG7rtagGKIo2nA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ndprSd8Y+/apn4HWSzVmIpzkg01GIuKk4EAEnpaehIAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han --- drivers/pwm/pwm-renesas-tpu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pwm/pwm-renesas-tpu.c b/drivers/pwm/pwm-renesas-tpu.c index aff6ba9..cc13ff4 100644 --- a/drivers/pwm/pwm-renesas-tpu.c +++ b/drivers/pwm/pwm-renesas-tpu.c @@ -405,10 +405,8 @@ static int tpu_probe(struct platform_device *pdev) int ret; tpu = devm_kzalloc(&pdev->dev, sizeof(*tpu), GFP_KERNEL); - if (tpu == NULL) { - dev_err(&pdev->dev, "failed to allocate driver data\n"); + if (tpu == NULL) return -ENOMEM; - } spin_lock_init(&tpu->lock); tpu->pdev = pdev;