Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3461296yba; Tue, 23 Apr 2019 04:21:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgWhPP0Li1p4pOt9trU4UDKRzf+MHFLDbgFrOkFJNtAnNxI/CxMLSCrwkvwFMaeYEudfqC X-Received: by 2002:a62:e710:: with SMTP id s16mr25720155pfh.74.1556018476504; Tue, 23 Apr 2019 04:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556018476; cv=none; d=google.com; s=arc-20160816; b=fNW7FYvbKaEBc1AlliuGRXLjuNdb+N5fIMUf58PLMBpbfxHzplZE280wlVkuJX8RrQ abaUFUw4BKoh+TpSZCQ83+HGkE/WONwpsq3uNAVPE7yQsHER83VaKdgXatPSkdDGIXUL XLeItn9U7WFZlJlueN3vRIgu8RYYOQDq8GfGxTHad8U1NWH3DqjRzhmK6M8utZSBUavb YM4ONvwmLtEHdXb1yLmhsd64evQ+ifaOYOULWJUeM3cC4MH8k8YE3DkD7UslBBuZ+/Q9 h3loC04wbzg7/rZZMXIEya/WFvk5meGxqcksv5cVtWL7lzYz+zOcIOS39N+La6tFLxm0 r0AA== 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=k4RO9LMjHdIhnwf7G/ZuwPpP9mr2WU/Y8CHUvX2HrVc=; b=XJEOpmSdFu87PSim15n3m37GTmHJQeIMsT1TZheLHi8yEb4Dn1AaiB4AsJdF0mg9oz lIQM54wxoyhS3zmqiz8OnoVmH9aeuoWb/BkCtMUqTL2Pf92FvNqKO9F39GTmk8ZeGkkB uhupNRU8Y5soAQaHb9/8DtVsVhRJTKKPkaMNPAdrr0bOi5tFWa1efMFnjR1p9dDsoQjT eOJcO1F0/8KlU4RJcWidG2AAtyHxtJno27XpGJomR6odnGs5RHevm2Y5fDRQtwLUdqyT 0bWG+iJqyxL99zt1H1DsdYI0eUVSMSoRCjETUTlzLKy1j97LqrBf0/Yf1LZFH2O9KnSa aXYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5SiOmDK; 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 u6si5050450pgj.225.2019.04.23.04.21.01; Tue, 23 Apr 2019 04:21:16 -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=O5SiOmDK; 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 S1727522AbfDWLSs (ORCPT + 99 others); Tue, 23 Apr 2019 07:18:48 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:36206 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726655AbfDWLSs (ORCPT ); Tue, 23 Apr 2019 07:18:48 -0400 Received: by mail-lj1-f193.google.com with SMTP id l23so2550000lja.3 for ; Tue, 23 Apr 2019 04:18:46 -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=k4RO9LMjHdIhnwf7G/ZuwPpP9mr2WU/Y8CHUvX2HrVc=; b=O5SiOmDKrWZijb4nrjS7wAPdl8BjBuck1c8PddbUnwpiquMcDjokrKCmy3G+w5I3W5 F04VnqQqRGUBgwTY2H6q06weTAnMPVapIAb9e7mw2uoG4iLenpRLNuiTkjCv/hCTYV/J WyqSM0WtpUqAyyj0oIbIHfPUSl3+cuhpkmFkSpJep8G7ipJAJd0hVZdn2tF87ul7Jagx BPdLgCO3C5Qn0H3mMOk6sGiZ6Cmvsq3Qy3zAyYbhPwKFaXTBT19mE7B99/RbKkNRmHQY wTwAXd5HNzALE0RPpsyk4dI4B9RB5Gb3h8Ya//RG5k04iA6v1P/BcEiENi6pN0BdzCQd /oOQ== 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=k4RO9LMjHdIhnwf7G/ZuwPpP9mr2WU/Y8CHUvX2HrVc=; b=k7Cp+K+ora9n1frVHPVUQcFJ/gjnoQ2cUvMQV2SwLxNd5MLjB4kTJ0AWvutvBo/nro akNeB+7pmFRwN82oAtzlt4t6LZLkk2mNLciR9SDgt6UQk/IMiEIZknD+4nELjJu86GTU 8PArax4xRx6eOQJlYRXQF+wLJ+6tKvAmJVyy9N6S6/6iVPNLlUnEjLhjQlAgww6vxUiu iG7e7v20IOdXn8pYlNvBKbzqdtklJLru5MlV7hXFsLLdyo94sTxK0LKhj8eA/3Fkjx3/ 4YC+z4GAmes9ZWdysTDVAo85V7hlLNGM5LDCc6AerboMZAuLx5OEgFtAHOaKV0ZrFG78 TNZQ== X-Gm-Message-State: APjAAAW4DEwXmRb5uyZ+Sk+Ld4xt1WehdDrhsVM/mI3JqBDpfHwGsPlO z+XNOdzIV1UoZSI7P/OKnMaNkiJ7koarUEcALsxHXw== X-Received: by 2002:a2e:3a17:: with SMTP id h23mr2312484lja.105.1556018326057; Tue, 23 Apr 2019 04:18:46 -0700 (PDT) MIME-Version: 1.0 References: <20190420100950.7997-1-lokeshvutla@ti.com> <20190420100950.7997-8-lokeshvutla@ti.com> In-Reply-To: <20190420100950.7997-8-lokeshvutla@ti.com> From: Linus Walleij Date: Tue, 23 Apr 2019 13:18:34 +0200 Message-ID: Subject: Re: [PATCH v7 07/14] gpio: thunderx: Use the default parent apis for {request,release}_resources To: Lokesh Vutla Cc: Marc Zyngier , Santosh Shilimkar , Rob Herring , Nishanth Menon , Thomas Gleixner , Jason Cooper , Linux ARM Mailing List , "linux-kernel@vger.kernel.org" , Tero Kristo , Sekhar Nori , Tony Lindgren , Peter Ujfalusi , Grygorii Strashko , Device Tree Mailing List , "open list:GPIO SUBSYSTEM" 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 Sat, Apr 20, 2019 at 12:11 PM Lokesh Vutla wrote: > thunderx_gpio_irq_{request,release}_resources apis are trying to > {request,release} resources on parent interrupt. There are default > apis doing the same. Use the default parent apis instead of writing > the same code snippet. > > Cc: linux-gpio@vger.kernel.org > Cc: Linus Walleij > Signed-off-by: Lokesh Vutla Acked-by: Linus Walleij It's fine to apply this to the irqchip tree once the irq maintainers are happy. Yours, Linus Walleij