From patchwork Fri Sep 12 08:17:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 388513 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-we0-x23b.google.com (mail-we0-x23b.google.com [IPv6:2a00:1450:400c:c03::23b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3D18D1400F0 for ; Fri, 12 Sep 2014 18:18:03 +1000 (EST) Received: by mail-we0-f187.google.com with SMTP id q58sf27721wes.24 for ; Fri, 12 Sep 2014 01:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=fKH/QCkHJPUvG4PotboG+6t7EISPCp3lyN4EPJuYRtY=; b=wNUevFbPfGJF/irj0edA4/ZSQ/ydw4nw9k6hBgLSLTKmRX1vl2OyLl7fTOCUvxcH50 +071/6yZm7hvnSnSmzKaJw01bJBix2KYE5AMnRISi/XfLtIG9SZplY69PanG0cG5EQQ8 0WSYhCZFAiX/q4H0CUxyKZJdzekF2GIKCRdOPaTNPGs+5AL0dVXv81Uo2pVyfRZBHwhu x/k06f1hrQ9fVplTWex9TT0Z2eGGQXFx17983reNF85J+It7ZE63Mx8advmEI9G2pD+i uApfAFf5v3/n34dQkNMlPPSBriAPlTUy5mbgAzKCiO9RuaQdktVAH/ErwIpWS0SMH9zu nBlg== X-Received: by 10.180.105.169 with SMTP id gn9mr1240wib.12.1410509880470; Fri, 12 Sep 2014 01:18:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.180.103.8 with SMTP id fs8ls61258wib.48.canary; Fri, 12 Sep 2014 01:18:00 -0700 (PDT) X-Received: by 10.180.105.3 with SMTP id gi3mr122169wib.3.1410509880060; Fri, 12 Sep 2014 01:18:00 -0700 (PDT) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk. [93.93.135.160]) by gmr-mx.google.com with ESMTPS id p7si74628wiz.1.2014.09.12.01.18.00 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 12 Sep 2014 01:18:00 -0700 (PDT) Received-SPF: none (google.com: javier.martinez@collabora.co.uk does not designate permitted sender hosts) client-ip=93.93.135.160; Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: javier) with ESMTPSA id 6687626880E0 From: Javier Martinez Canillas To: Andrew Morton Cc: Alessandro Zummo , Doug Anderson , Olof Johansson , Krzysztof Kozlowski , rtc-linux@googlegroups.com, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Javier Martinez Canillas Subject: [rtc-linux] [PATCH RESEND v9 4/5] rtc: max77686: Remove unneded info log Date: Fri, 12 Sep 2014 10:17:42 +0200 Message-Id: <1410509864-10019-5-git-send-email-javier.martinez@collabora.co.uk> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1410509864-10019-1-git-send-email-javier.martinez@collabora.co.uk> References: <1410509864-10019-1-git-send-email-javier.martinez@collabora.co.uk> X-Original-Sender: javier.martinez@collabora.co.uk X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: javier.martinez@collabora.co.uk does not designate permitted sender hosts) smtp.mail=javier.martinez@collabora.co.uk Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , If devm_rtc_device_register() fails a dev_err() is already reported so there is no need to do an additional dev_info(). Signed-off-by: Javier Martinez Canillas --- drivers/rtc/rtc-max77686.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 55396bb..b177ba1 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c @@ -457,8 +457,6 @@ static int max77686_rtc_probe(struct platform_device *pdev) &max77686_rtc_ops, THIS_MODULE); if (IS_ERR(info->rtc_dev)) { - dev_info(&pdev->dev, "%s: fail\n", __func__); - ret = PTR_ERR(info->rtc_dev); dev_err(&pdev->dev, "Failed to register RTC device: %d\n", ret); if (ret == 0)