Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6440148ybl; Wed, 15 Jan 2020 04:48:11 -0800 (PST) X-Google-Smtp-Source: APXvYqxJW7YP5cJTUYMmZoo5v6nuZoSKdHy4Ia708gQDg0nR/g2X0D3cDmFvjiCHuSnGzbz3vDVk X-Received: by 2002:aca:d6c4:: with SMTP id n187mr21275003oig.29.1579092491444; Wed, 15 Jan 2020 04:48:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579092491; cv=none; d=google.com; s=arc-20160816; b=DAS0pBVWeIIMFSqA8RWkg0pGZHE9LDEkplLBFpR84ptj7/ibXRVzJsRveWm8BkHIY6 Ty9BPivCjE89rzs1s+CfG47YXyaGNX4iIAThHTEsMItZiS/9hFpITLWswAERW9GEPh7r 7/zVzRzgyoLPKZRUDE8sQbdUujy+kwwZ79/EIMjG05xzD0wK52CyFl5mWxctFkgoeXiq fuVAoR6oELpik3FrpRdNJQR81m8+A2NFDzlD6wCZFN+k30ISXb6GjzQP2gIhEvl45i5l KGirloHkgBTws4E5Nzcbp8iMePb+1IkoaVfMa5XViYI7jFOpz6B0VbhMC5CUZBi3cMM8 G1HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LKM41qfZK+I1YPOs3sE0ln+ytjb0AeE1CS75B4GClME=; b=nakvUkOGsXt8Vd9XWa0itqVUAkI3a/tr+WZfatYZ9t97uMmBw/CFP5j0dJlrvzhlnB fr7JqQjMVx0o73eK3EVYNzB6BoYqi3yt0FmwbdIOrmD1ACbzGleXGXsyq8QLrZ/A5iB4 4h1MDxbHbYPNj9P05keS0DM52DeYG4IP0G4iKMerxlcWMhAW9ldu8mRotqNOo/z3PAsD DA0iatwbHOcurZcg/nPphqOxh6Yi/Gs9+OrM/4mHB3txzpQBpy/1fpTXoMGajaPTs1zi C/CJpvWi6op9PWIUoReVozasmJgV207H4du37cuRtnY11DoHj3TJ9mzF/qLCQiIbEaZ/ bXTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gNMuhELw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k84si9223249oib.46.2020.01.15.04.47.59; Wed, 15 Jan 2020 04:48:11 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=gNMuhELw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728949AbgAOMrE (ORCPT + 99 others); Wed, 15 Jan 2020 07:47:04 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:39694 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbgAOMrE (ORCPT ); Wed, 15 Jan 2020 07:47:04 -0500 Received: by mail-lj1-f195.google.com with SMTP id l2so18368729lja.6 for ; Wed, 15 Jan 2020 04:47:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LKM41qfZK+I1YPOs3sE0ln+ytjb0AeE1CS75B4GClME=; b=gNMuhELwoO28aS9RrTIh/9249e1lPntBbdbAhxIt/a5SboIutP1c//C+mVDqR4q3Z6 /pMkgdWk4sIKijEfs9JvArrTWEUpuvIMBbByausxTy30f0TEnOA3SY2E9UGpF71fPWs0 vXtSTf9z1wONQDaLg03dtE9BQyn7/rBqnuAUWoy+1YpuFMnKLbokY+nXxC/aexy9WA8/ HlzSf1FzshN7h3ZBGJctu3Z0b65JD05cTf8n9JlFEdl+Da3o9yKthGB6O/uWsWvpswo6 EdjeFs8bpAwDrR6d8llwIytZHYhrCokCkbVLuXwYq60OKSkFZFHVIHr3zsX/YF1Lm910 ZZDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LKM41qfZK+I1YPOs3sE0ln+ytjb0AeE1CS75B4GClME=; b=TMd6cg3rgasVj+q1xwZq29TvnBWbFDd0Bea4uTdgup/gRkMTfmjNRF3WGxykdMVtwv AuP1kpB8QPAuHEeY/BseuDTA+7e14x7/WFZthNEcQhLsGqc/w8xm4aFPC/EA1p+7KtVa VqEOiK18Diql361s1/ryHYIBVOc/SVaq9DVVCkRGrP+Q3oQ+c3EozpDjDIe5eBuI436h qWbSeMfBJ/Or3cMBs3+lZdTxad824mgH6uZIaEv/llnhjwJEisVZY4Jk0EI7k9iR2Zrg fYMQoI1vwxs5H2FQIxZEfWI0PngqTHWJh1X8IOeZvuDmVRx8frG4oYRQ0NrI167jI56w RNew== X-Gm-Message-State: APjAAAWpOR0Tq1PuBLxfCvn5WtLmwsUbNN+sGr4EJBalrBSEepkpxD+k jSmokc2WN4LHK7o4ea0wtaEzROxTlYv1feHTDQzlWw== X-Received: by 2002:a2e:918c:: with SMTP id f12mr1683852ljg.66.1579092422193; Wed, 15 Jan 2020 04:47:02 -0800 (PST) MIME-Version: 1.0 References: <20200110035524.23511-1-rayagonda.kokatanur@broadcom.com> In-Reply-To: <20200110035524.23511-1-rayagonda.kokatanur@broadcom.com> From: Linus Walleij Date: Wed, 15 Jan 2020 13:46:51 +0100 Message-ID: Subject: Re: [PATCH v1 1/1] pinctrl: iproc: Use platform_get_irq_optional() to avoid error message To: Rayagonda Kokatanur Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list , Chris Packham , Li Jin , YueHaibing , "open list:GPIO SUBSYSTEM" , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 10, 2020 at 4:55 AM Rayagonda Kokatanur wrote: > Use platform_get_irq_optional() instead of platform_get_irq() to avoid > below error message during probe: > > [ 0.589121] iproc-gpio 66424800.gpio: IRQ index 0 not found > > Signed-off-by: Rayagonda Kokatanur Patch applied with Chris' ACK. Yours, Linus Walleij