Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1446432pxu; Sat, 24 Oct 2020 10:57:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlG+aspgWCxLLz1AjXvHNNTLjEjMINyTCBkIxoN7p0OnSDU1Tgc06GEcjzqO+P3SBQXJBN X-Received: by 2002:a05:6402:1653:: with SMTP id s19mr8492136edx.124.1603562224856; Sat, 24 Oct 2020 10:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603562224; cv=none; d=google.com; s=arc-20160816; b=HsHrh4b3M2wi0Mdfh1hdtYYK/6G+PfCNg4mRsvfOTVVKSEl2rljcf8qDmMiPebhcPF pAi9uJod3Ke6df0BAD8nPB6N13N/yZHMEPBPkf7Gt71i8qmeSY8k/Qq5+fqopFx7WByk 15BBe2Q8ibLtSDSTSOqM/8bxeVj18ba5dXJlKEl2f+o6bxVB9gQu629Qkn5Fu+Pg4Ezg tp0Z8QdO0CMY+Z+3GHkkn37raR0FSFhUFjvfWQXgsYnxSLhUPmMsBvYsZcQQ5rwSlWET nOMM3VY767xLQWE2bfy4SUcmSEPW00R29numiSU6YFvoa+KBczBx4BVThwQJtI1D1jGv DH9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tbBwerN0x9vO0uo1KibErtVtbEUuWL9a9G19XcdWHcA=; b=WEdNltSg/PqWpWOx7dJy0TT3o3U3vdB6HRTD85H4eTp8iFQFMawI6UysKoCc6VpYMG QdGLdms0jidZcuhf27l7F3T7LFI/9RcnwbGdXbddpaRdqEdQf7VW5z03eu3ikZEpGGMS GmJWrKRevAmc/Xi4mAYQ4fWlqdQwUj5uF02zlIY7K+sAMYTEE696mFpwziicxYn2inNS liSoXV3c/Fi9yN6+9IoT3fQlLdma7zKtuNL6EB4+sL4HknXnWIiN6W1r2QfPOZPxC/5Q Y0uKIw9jswdLgrAJWc7e3P+ZEeLi2wpYkC8J7WLsGS2HgAcz601qPdHZGoEycUX5mQ+C Fx3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si3510993ejq.159.2020.10.24.10.56.16; Sat, 24 Oct 2020 10:57:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761858AbgJXOEX (ORCPT + 99 others); Sat, 24 Oct 2020 10:04:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761854AbgJXOEW (ORCPT ); Sat, 24 Oct 2020 10:04:22 -0400 X-Greylist: delayed 1920 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 24 Oct 2020 07:04:22 PDT Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 519BCC0613CE for ; Sat, 24 Oct 2020 07:04:22 -0700 (PDT) Received: from dslb-188-096-149-111.188.096.pools.vodafone-ip.de ([188.96.149.111] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1kWJej-0005I1-Bn; Sat, 24 Oct 2020 15:32:25 +0200 From: Martin Kaiser To: Jassi Brar , Maxime Coquelin , Alexandre Torgue , Fabien Dessenne Cc: linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 2/2] mailbox: stm32-ipcc: remove duplicate error message Date: Sat, 24 Oct 2020 15:31:54 +0200 Message-Id: <20201024133154.22767-2-martin@kaiser.cx> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201024133154.22767-1-martin@kaiser.cx> References: <20201024133154.22767-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org platform_get_irq_byname already prints an error message if the requested irq was not found. Don't print another message in the driver. Signed-off-by: Martin Kaiser --- drivers/mailbox/stm32-ipcc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mailbox/stm32-ipcc.c b/drivers/mailbox/stm32-ipcc.c index ef966887aa15..ab8fe56af948 100644 --- a/drivers/mailbox/stm32-ipcc.c +++ b/drivers/mailbox/stm32-ipcc.c @@ -257,9 +257,6 @@ static int stm32_ipcc_probe(struct platform_device *pdev) for (i = 0; i < IPCC_IRQ_NUM; i++) { ipcc->irqs[i] = platform_get_irq_byname(pdev, irq_name[i]); if (ipcc->irqs[i] < 0) { - if (ipcc->irqs[i] != -EPROBE_DEFER) - dev_err(dev, "no IRQ specified %s\n", - irq_name[i]); ret = ipcc->irqs[i]; goto err_clk; } -- 2.20.1