Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1378117ybh; Thu, 12 Mar 2020 23:46:07 -0700 (PDT) X-Google-Smtp-Source: ADFU+vti0q14eCTT9M+NG1xx5HLn9BaSOU7C9ZTqt+r1vtHxNEvkn+Ydss4SDuIZdIzg2QnM8VmX X-Received: by 2002:aca:230e:: with SMTP id e14mr5400183oie.169.1584081967683; Thu, 12 Mar 2020 23:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584081967; cv=none; d=google.com; s=arc-20160816; b=IbyxJ3bcG0kdDG5+zXfKZqCqOiQf4I6JjaATBigud3H4bKgvGjFS5r/dZcE8cexXMh wbXQSLQH38JNBQZv0IgqY5JEYnpFZMnEaHs3M33LbrSUQjiUpqj2gvpr/FMdMt5iDrIc S0UKs4xJicQ+rjzTbzEMsw+bQUnsFRVvmfzBaCfd6npimcEs9mXOyBDJ2GO91DcPhTEr S3I45yDwE/bVIrgIC63HHLLdxy6x2bVeziJ21Go/i3c/qgl2fXSNk2hVrwKpC3Y2rtxH 2l45t8m3VQnM5Id7p26tTopDZ26rV89SS/qCaN57iuI50kmfNZOT9D8HmCUDKYwVc1yp 1TVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=u3qAn4YoRebJQqW0ESMKiYs5d9XcsFkw/+72Qxl6Rt0=; b=bg9cs7mt8mvRZcoQYV+zjMRmKdnIGChmYhpHCSAv5JHETCzH1lqMOJjLhuoQ84ieqx QerIWMZwSMeqdb/VOKnXCLPz67GwpSSDWZ9LRvG1SdlY7GZXlv7bKCClWYan4OGZ/cYC hqmXcN+IIjbgwgJ0dLFwjM+mxC6IqGhIXgvvG9YTRDzZ3fhplcKtTdtsP/ucrdhl1rw3 qDLAnfhY9iunRZ4m6qGDi6mjlqLDjbbxz5g8jOSP24H+G+PeKGqxp54mPE+XxsBoL6Pe rvWh15DQM6ottyHF6fuMuXugbHi3pfWepnZI13D9YPjS1QT0ue/ll9AXmxEw8Z1O3cWz kw9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si4104915otp.110.2020.03.12.23.45.53; Thu, 12 Mar 2020 23:46:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726423AbgCMGpR (ORCPT + 99 others); Fri, 13 Mar 2020 02:45:17 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:41521 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbgCMGpQ (ORCPT ); Fri, 13 Mar 2020 02:45:16 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jCe4D-00078K-5C; Fri, 13 Mar 2020 07:45:09 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jCe45-0002pC-Ep; Fri, 13 Mar 2020 07:45:01 +0100 Date: Fri, 13 Mar 2020 07:45:01 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Chris Packham Cc: thierry.reding@gmail.com, linus.walleij@linaro.org, bgolaszewski@baylibre.com, linux-pwm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: mvebu: avoid error message for optional IRQ Message-ID: <20200313064501.43h5htrebbgceudj@pengutronix.de> References: <20200313034244.26336-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200313034244.26336-1-chris.packham@alliedtelesis.co.nz> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Fri, Mar 13, 2020 at 04:42:44PM +1300, Chris Packham wrote: > platform_get_irq() will generate an error message if the requested irq > is not present > > mvebu-gpio f1010140.gpio: IRQ index 3 not found > > use platform_get_irq_optional() to avoid the error message being > generated. > > Signed-off-by: Chris Packham LGTM Acked-by: Uwe Kleine-K?nig Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | https://www.pengutronix.de/ |