From patchwork Thu Apr 15 12:03:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thermal-bot for Julien Panis X-Patchwork-Id: 423013 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, URIBL_BLOCKED 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 CA513C43460 for ; Thu, 15 Apr 2021 12:04:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 96A71613B7 for ; Thu, 15 Apr 2021 12:04:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232786AbhDOMEX (ORCPT ); Thu, 15 Apr 2021 08:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232769AbhDOMEX (ORCPT ); Thu, 15 Apr 2021 08:04:23 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18F97C061574 for ; Thu, 15 Apr 2021 05:04:00 -0700 (PDT) Date: Thu, 15 Apr 2021 12:03:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1618488236; 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=O/k+R2cLU3CaoOh0dTSm4LTGFEXxYWR4oBhAeJZPoAQ=; b=3vdW67P083SGEkOHBmHavVCvBX7v28euVODQiC4HjVtlhbs/WbdtX1Agb/zRC87bmqw7nv /WgrYQdKTRPnhVUx+PK1hKgVW9/0Cn2TXdMa9ofs/Wx1f0dPtQmo5kEKdU2IVvhunlGe04 du8FeHTuzJdqZQoy04bnMaXg4KrZOaP3YPUfvNNFeIQlw/zRfQ6YnaS4TXcCDYYokcKs4y 5Zx+RsO7gkkhrJ/ueijoAgSQNHmv+iWV5t8BVt54RULXYSRau+krS7+k7KZYzqHB/ZwYs7 hetDRjuNVktf1i/IDemmItVnMsanerAXXH6QipsmCqrARHPAM22sMm+lCXhHxg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1618488236; 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=O/k+R2cLU3CaoOh0dTSm4LTGFEXxYWR4oBhAeJZPoAQ=; b=IVgh34+/UjiUO97WE7exO5PW/r0jWA9nLQgqxxZM9IZGcT1YShO95nDV6vRo0O+nJ7IikD ysSieWMMeOCFi4Cg== 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: <161848823524.29796.2023940646427405695.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails 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: 70955f08376c9812594730fb397dd6c5439c24fd Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//70955f08376c9812594730fb397dd6c5439c24fd Author: Ruiqi Gong AuthorDate: Thu, 08 Apr 2021 06:03:29 -04:00 Committer: Daniel Lezcano CommitterDate: Thu, 15 Apr 2021 13:21:43 +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; }