Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2312404ybp; Sat, 5 Oct 2019 09:38:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzw5Ut9v4C2zOVIaJUIIRIR2AwQj2J4/AohDSnTWw+qVqLoniHYT535zrEoW8tNoNgCCO8t X-Received: by 2002:a17:906:164d:: with SMTP id n13mr17286462ejd.75.1570293517020; Sat, 05 Oct 2019 09:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570293517; cv=none; d=google.com; s=arc-20160816; b=XETsXtt7FXQk/qH3DwzdaoaHl1QRWv31cIOVr4CLmI5l3z6EP7SeKVa2cC4UBPivM/ fiMsH6P28iUFK7ReE7/tm6U2MyGh4fBff//WbiQcJ7nAGY4egITwFuy7S7eM3OpnfwRs 2JUnRmd9r0ISkWRL1f6IRHAFaQwLSAs4Ggn22DJCu2Le99D1nhJTyBo1m5Cw5AHVICDn P0+UnUqyroKoG23kEVysOWNYGRUxoveUtelF0A8LP38SSdQl40/CT+PLxaBKxL4cLa7/ JaGRgDqxeIf3p20fAfAqueslpaNuEQIIgq4qZKclc5aGDaeulQBm3KBPf+2IQr3dLzyf fObA== 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=Pn6mxtcEEEc3owMIwbkt2TQL3Wmbd6NRz2v8eZ+RVTk=; b=X1WBiBRob4LonICBCfqwnRUty75r5VCqREL7+TfofoHl2z+pLCsamrLBYm24V7yCPd GBaqkRXa+rSZTjukJ2TpHaZd0hssaJUGb0UNQHCzOamhPeuuopNE4gOWrZQhYQVZUJ8T OCHzWxRpkyGyw2S6TXL4SwH+lKJ4DA8jwK6zoxE6fjaWxTwMnjmSVvEVSZy6g0/tOhl7 Dg124Bvko3u8gJIaCu0JV898isHOtQUOgd5QzJ256MUvKzXU3uD1XzP2zMG1awxtcObK x3KfWMA+7blkXxO76HRJPdMU6oUrLQk37Yhv/nc6cmEU1y4k3WguX0e7fU7AVJDoeHRO 8cbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rpEtxSVE; 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 rk14si4578907ejb.24.2019.10.05.09.38.13; Sat, 05 Oct 2019 09:38:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=rpEtxSVE; 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 S1729148AbfJEQf5 (ORCPT + 99 others); Sat, 5 Oct 2019 12:35:57 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:38819 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbfJEQf4 (ORCPT ); Sat, 5 Oct 2019 12:35:56 -0400 Received: by mail-lf1-f68.google.com with SMTP id u28so6531701lfc.5 for ; Sat, 05 Oct 2019 09:35:55 -0700 (PDT) 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=Pn6mxtcEEEc3owMIwbkt2TQL3Wmbd6NRz2v8eZ+RVTk=; b=rpEtxSVEvEX2HhDQUFGyl3RdGfgjIagn3D9aobXi/wZtjscUnA1mkJD0kM3fiNupTG AfnKtyqJeYJ2uOTaQs6ySZeaNTCqFfo0/LKAfsZG6XIHVgRQWHGjbI4X+8tR86xbgh58 UxZZo2Z8FOTYmp7b39uIYNs66Brkx9UEIKIyeGX7lge6cL6kKDMj9FaHEFKuhUJoIrou aEWJ35sYx+gYXF4Ss9Yohhnn31dOWy2cV94C52WosfyCgY4tR3/6M6q+HpHrqtJkL9IN V7orx4r/DU5hbKtRoeY/W3lxfG/Iy2raEXipla9KnUlwGY2BgV32P1ctLRpxvIGgWLm1 qLAg== 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=Pn6mxtcEEEc3owMIwbkt2TQL3Wmbd6NRz2v8eZ+RVTk=; b=mNB0rkIs/x9dlHwzWk97uhxPNhsCLnd7aExGA6IwGM9EllhD/H16D7E9HefULNSSCJ xTpe3TbSCH8vPP6fJzrOERkh+/yMRckgLepf2az6Yn4WjKJEMOepgK8EH5FxIEFk8UY/ 3F8630s/QB9AcZSgCvfWvly0u6ko0OoKGuRSKHS/wKzvYfoF8QmPpa7z0FgndLZrcyU0 yjyzCzyExDPAfG0i8KyXxaU1+ELNVr5cl1phThL5M7ZQRIBa4AQR4y0zQkSTHqH+AAg+ vCuEID1leftSBIJ4SjfpudHgttcH065MIYvUJAhdDg6CurVP2cZ75NExThGGSSX78oiT WUlQ== X-Gm-Message-State: APjAAAVGCl1Ck9qlskLNu6YS6PxdvExaieNO2UMSnPvBVo4Nxl59SsFc Qyn7w9BG5JiXZnQF+yX631BsyJIYZuZxLP+6rxbvrA== X-Received: by 2002:a05:6512:25b:: with SMTP id b27mr12485234lfo.60.1570293354605; Sat, 05 Oct 2019 09:35:54 -0700 (PDT) MIME-Version: 1.0 References: <20191003000310.17099-1-chris.packham@alliedtelesis.co.nz> <20191003000310.17099-2-chris.packham@alliedtelesis.co.nz> In-Reply-To: <20191003000310.17099-2-chris.packham@alliedtelesis.co.nz> From: Linus Walleij Date: Sat, 5 Oct 2019 18:35:43 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] pinctrl: iproc: allow for error from platform_get_irq() To: Chris Packham Cc: Ray Jui , Scott Branden , bcm-kernel-feedback-list , Rayagonda Kokatanur , Li Jin , "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 Thu, Oct 3, 2019 at 2:03 AM Chris Packham wrote: > platform_get_irq() can return an error code. Allow for this when getting > the irq. > > Fixes: 6f265e5d4da7 ("pinctrl: bcm-iproc: Pass irqchip when adding gpiochip") > Signed-off-by: Chris Packham Patch applied for fixes. Yours, Linus Walleij