Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2722884pxx; Sun, 1 Nov 2020 07:45:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPsgJWb2wqwj07tsKL+HhMvHKlR5vyqSg6f6GpCslOg9U9YFBvyjwU6i0XeNrYTZPnwsUi X-Received: by 2002:a50:d616:: with SMTP id x22mr12363927edi.221.1604245515153; Sun, 01 Nov 2020 07:45:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604245515; cv=none; d=google.com; s=arc-20160816; b=qP2WySvffPU1bxnq2aJfkN6bLWrsG4cyXiqaJ9+K+95Mh1cZWHITmT2AUmlJ1t2Pe+ hL93Sk/f4KjTunnATmSU7lHiReUTqK/SQ84KCf3lQdsPpA+h0+wRL9JcFoMoAPJBhcA0 Rn+psh2NlSradiAcSwiiucvnln2sk8qZ6CVei5e80ayqRg/P7NWOH442o1myyFYZzmJU tXEPjAJTIqLbqmZlYVqZ/76F2YCrpRNVeHKmmUlwywErthUjamvdRzyWXYPmSyuPVK30 BkZo4XgI1UMHnd+cjaOr8bLh2f0C/M8hBbuq/uU2bqYGQimJOVDgBCScWtVscxVuFgV9 98Fw== 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=/NwnffomtHKY3jYHRxkQFCI7Hp/IKn5+PmX8KZZ0ynA=; b=RtTivusG2agCbtAtfARcb7O79aaIvfQcwrutdIm759HdGhSbr6Rq9yQBbXBVxrSTRC bCKHLbtafC0L6sA1HnrOckld2T/MCacseSw8AtAVUcjmlBZdNMpSAH3VtkOkSRx61NDl Pc1BuJO6maI2H3NGLWoSukNf2PxjuCgAF7+QxzfPlhRSa3HufL41mnyvNu/fS3bWGh8H LOOrAlKd6TUV7fG5KpPZViQPuKe5cIBQyY+Gj6mjOd7jdCl0g7gTFftXNzQvgrkTPBUQ czUcHh96bI3fAqUK+qEEC16JycVvMJKWtpYQllgDFMH3r/CdPu3wCR1h3xCV6V6ivgnU 3HXw== 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 n19si8008974ejj.278.2020.11.01.07.44.52; Sun, 01 Nov 2020 07:45:15 -0800 (PST) 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 S1726891AbgKAPnO (ORCPT + 99 others); Sun, 1 Nov 2020 10:43:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726851AbgKAPnO (ORCPT ); Sun, 1 Nov 2020 10:43:14 -0500 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 D1092C0617A6 for ; Sun, 1 Nov 2020 07:43:13 -0800 (PST) Received: from dslb-188-104-063-075.188.104.pools.vodafone-ip.de ([188.104.63.75] 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 1kZFVf-00073G-1l; Sun, 01 Nov 2020 16:43:11 +0100 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 v2 2/3] mailbox: stm32-ipcc: remove duplicate error message Date: Sun, 1 Nov 2020 16:42:30 +0100 Message-Id: <20201101154231.14250-2-martin@kaiser.cx> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201101154231.14250-1-martin@kaiser.cx> References: <20201024133154.22767-1-martin@kaiser.cx> <20201101154231.14250-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 Reviewed-by: Fabien Dessenne --- changes in v2 - added Fabien's review tag - reformatted the commit message such that lines are < 75 chars 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