From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44EDBC433ED for ; Tue, 20 Apr 2021 07:20:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09D7B60C40 for ; Tue, 20 Apr 2021 07:20:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230378AbhDTHVZ (ORCPT ); Tue, 20 Apr 2021 03:21:25 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:50504 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbhDTHVY (ORCPT ); Tue, 20 Apr 2021 03:21:24 -0400 Date: Tue, 20 Apr 2021 07:20:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1618903252; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z2uKb1MpYIMa0U3+pn6rToHXX0LxC5/yXqNXyA1WDfQ=; b=gdqsdBw+2k1yNVpW7PVI25QohGSyoAFqHywBhYLBW0kzJ3aSuaHKfCQXXo2X/RNewSIlEp uUCFn/1YxKJW3AUnC4tuuJIDjVdQZ7QYK3GpWwqQte6OKSbGC//MNWTRZpngXFj47RtDHX vMNH4lKZOxUPCeROk2Zr1nnhaR+h1hL+U3LtLAK7/epNrE6Z0p1Fa9zNHJNhe+7dJK4Ek0 Ds9lbas2DGdGuTAqKQuhWw6zO5cazHTzPMaE5PBuukiMlSu9/Lk9KjBj6SR2LndOvvj0pS Itb34WYyZm34KrgVFAzGciOrDn31byNZu2XL87BXwQ3f6fiH/75xNQ7CVE+Gvw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1618903252; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z2uKb1MpYIMa0U3+pn6rToHXX0LxC5/yXqNXyA1WDfQ=; b=ioV3HeYJoxI5YAWHr/wP1od/jrqXInKwkfSJxWNFSUAcdVP+sjjsyonH45LpcMjmi3bxoh plVkCqipUnU4SFAA== From: "thermal-bot for Ruiqi Gong" Sender: tip-bot2@linutronix.de Reply-to: linux-pm@vger.kernel.org To: linux-pm@vger.kernel.org Subject: [thermal: thermal/next] thermal/drivers/bcm2835: Remove redundant dev_err call in bcm2835_thermal_probe() Cc: Hulk Robot , Ruiqi Gong , Daniel Lezcano , rui.zhang@intel.com, amitk@kernel.org In-Reply-To: <20210408100329.7585-1-gongruiqi1@huawei.com> References: <20210408100329.7585-1-gongruiqi1@huawei.com> MIME-Version: 1.0 Message-ID: <161890325164.29796.18016540711647128822.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The following commit has been merged into the thermal/next branch of thermal: Commit-ID: d1ab7c3a33d27e7b63fd6207d88852561072ae36 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//d1ab7c3a33d27e7b63fd6207d88852561072ae36 Author: Ruiqi Gong AuthorDate: Thu, 08 Apr 2021 06:03:29 -04:00 Committer: Daniel Lezcano CommitterDate: Tue, 20 Apr 2021 08:58:47 +02:00 thermal/drivers/bcm2835: Remove redundant dev_err call in bcm2835_thermal_probe() There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Ruiqi Gong Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210408100329.7585-1-gongruiqi1@huawei.com --- drivers/thermal/broadcom/bcm2835_thermal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/broadcom/bcm2835_thermal.c b/drivers/thermal/broadcom/bcm2835_thermal.c index 3199977..c8e4344 100644 --- a/drivers/thermal/broadcom/bcm2835_thermal.c +++ b/drivers/thermal/broadcom/bcm2835_thermal.c @@ -184,7 +184,6 @@ static int bcm2835_thermal_probe(struct platform_device *pdev) data->regs = devm_ioremap_resource(&pdev->dev, res); if (IS_ERR(data->regs)) { err = PTR_ERR(data->regs); - dev_err(&pdev->dev, "Could not get registers: %d\n", err); return err; }