Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932249AbaBFIZg (ORCPT ); Thu, 6 Feb 2014 03:25:36 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:8332 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932130AbaBFIZf (ORCPT ); Thu, 6 Feb 2014 03:25:35 -0500 X-AuditID: cbfee68e-b7f566d000002344-fb-52f346fd68e9 From: Jingoo Han To: "'Andrew Morton'" Cc: linux-kernel@vger.kernel.org, "'Jingoo Han'" , "'Johan Hovold'" References: <000101cf2313$6ef38e80$4cdaab80$%han@samsung.com> In-reply-to: <000101cf2313$6ef38e80$4cdaab80$%han@samsung.com> Subject: [PATCH 09/12] backlight: lm3533_bl: Remove unnecessary OOM messages Date: Thu, 06 Feb 2014 17:25:33 +0900 Message-id: <000a01cf2315$0110d740$033285c0$%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 Thread-index: Ac8jE27bRmoXkttyRH6rTI4zkLyyhgAAXagw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJIsWRmVeSWpSXmKPExsVy+t8zI92/bp+DDL7fMbaYs34Nm8XlhZdY Lfaukra4vGsOmwOLx85Zd9k9Tsz4zeLRt2UVo8fnTXIBLFFcNimpOZllqUX6dglcGev6nrMU rGerOPJAtIFxAWsXIyeHhICJxInDx1ggbDGJC/fWs3UxcnEICSxjlPh4vIOpi5EDrGjtdW6I +HRGibblb1ghnF+MEt+e9DKBdLMJqEl8+XKYHaRBREBfoq1FAyTMLJAlcfb2ZWYQW0jAVmL3 6ZNgizkF7CS2fWoFaxUW8JH49rKHEcRmEVCVuHLhOBuIzQtU//XQImYIW1Dix+R7LBAztSTW 7zzOBGHLS2xe85YZ4k51iUd/dUHCIgJGEl1Xb0KVi0jse/GOEeLHU+wSHzrNIFYJSHybfIgF olVWYtMB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Bjep7zyS+/hKQdN mPTVxL9fajyxPYqlacHJtuo+xdr7zn7zBTku3Q1rry8TSp5aeS3QxnnDfPZk4U+z4rkfrzs8 nXWthn5zoaPytaDl/0qa/3lq7F//XFpq/4Xzn4+/bS57vpiprWCaR+8qdX/uGBGBW/N8V/D7 3TnoEHZY3LKzf9nRLlVgemUpzkg01GIuKk4EAJGJq146AwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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/video/backlight/lm3533_bl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/video/backlight/lm3533_bl.c b/drivers/video/backlight/lm3533_bl.c index 187d1c2..cff1fbe 100644 --- a/drivers/video/backlight/lm3533_bl.c +++ b/drivers/video/backlight/lm3533_bl.c @@ -296,11 +296,8 @@ static int lm3533_bl_probe(struct platform_device *pdev) } bl = devm_kzalloc(&pdev->dev, sizeof(*bl), GFP_KERNEL); - if (!bl) { - dev_err(&pdev->dev, - "failed to allocate memory for backlight\n"); + if (!bl) return -ENOMEM; - } bl->lm3533 = lm3533; bl->id = pdev->id; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/