Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1511855ybh; Thu, 23 Jul 2020 10:38:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5bSgY5eJB1B6kYlosjN8Ki5S+pzoqOTemKf1zGUK6vz6sh8/m5iTFFxN5a9Knh+40CuMa X-Received: by 2002:a17:906:fcc7:: with SMTP id qx7mr5610224ejb.182.1595525898522; Thu, 23 Jul 2020 10:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595525898; cv=none; d=google.com; s=arc-20160816; b=vK4obSsBiYfPPgV5QLNWYTivTBRY9XopLWqJJGzJ6dk9JgMxBnlXEN7Lgf2ylpXwGO +mePRAK98ICSYL9roU7Q3Ppk7ziqpSO0X6hBQ5ozZZK2GYMLfd4XA5+NGSTjnkdfVc7u +G1C9j3+/wyMK+DOLbZLpgnXJoHZzvj7nyAuGH86cFc81PDVwTdKh0gxuaUrcFtLT6zu GlpoFgLRTrxLp8hRk+KOHCGOqpBPcNWNndwRPk0ZqVrH82NWChOTnjTCpokBo7piIs/p B85EJE+86I8/VV19ogssYinficEIe5Siq49UkuTsGy+/+fqqAm9NwBbI6spUiosp7cha da5w== 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=qnuIrZu2OWZ5kvibJg3aLSShYvtv8J4Cmi01ZuM4HUc=; b=crTJwJUvgtL6XgLx6m1b9cRrPdAxxDmMGzoiAjwsedkvQyPs/5Yl/CAoQZfBKbdRds vGxKtO25zF8O5jXtVxH1kA0x6NEyfigHXOfYDT9PXIyMW2ZALwI2IT8PEAYN7pchSbF1 EUdjkTUxFUuXBHOQfhenAikJw9zgnghiNFFtOnQBES7qAi+UflIGkySw+GHqqKCzto/I fYz7OcXhBbq9q6TTDxyXJS9lH3OcX+Qk/1HAm7XFjZJbrkyrUTS+1qdaXYssWIxB6ugP /mfRvNMQerHuGlgWjaU6YoB+ezfb8C0lhnVQbUOfWtQdyw9VsLflUGNmgOi4ZU5n3jbq pMBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=PQL2Dzu+; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si2531419edo.175.2020.07.23.10.37.55; Thu, 23 Jul 2020 10:38:18 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=PQL2Dzu+; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729811AbgGWRhq (ORCPT + 99 others); Thu, 23 Jul 2020 13:37:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728030AbgGWRhq (ORCPT ); Thu, 23 Jul 2020 13:37:46 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1152EC0619E2 for ; Thu, 23 Jul 2020 10:37:46 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id 207so3364020pfu.3 for ; Thu, 23 Jul 2020 10:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qnuIrZu2OWZ5kvibJg3aLSShYvtv8J4Cmi01ZuM4HUc=; b=PQL2Dzu+NyxvneZO+9riZM5BPQljQd5y0QHCqDonnE9YhEMxSIxU1BxGHIgflOvBgs aVM1ujTMLTpWe2xuZaJF0T90dTxI4S4fTu+fomJ9guXal5MCiQwuzFh+a9venPA8cruV I5+/M8kERmuifFpR2Y+CLeFkHpLbevIG8qmQu1qa0rxljQ8fiJYr6fisZklFa0WAjrWo ZSPFB3DurMQ1rcxRADLINxxFeRWWMIT1q6O6IIPbVD1KmIUzniZj1j4QtlKzWeS+f5M6 NSWJEXusM+uVG0MzzQkqW4aBmpuhAyXMZWUcCOvREVIDcp500g0r42e2W9hfW5XmiToQ K41A== 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=qnuIrZu2OWZ5kvibJg3aLSShYvtv8J4Cmi01ZuM4HUc=; b=ZLr6Kcsv5+q70DK7zZKxDRNHIr/ZFm/JvGKm7yVm/I20cD2YXSrSIAvjSDogXBg/YG xbz9NJG2g1ItWiPvhnx26kzt8YcWuacFmXAkOIbZ3diLYM1oDJHtTRB9rkP/hzCQ+JXR 4F6L9vVUAEo7pngVVYwqMWESm2fPLKvatd0+jaSuj3Q0mUqy2X+p5wE7BVv/NFU9/Zb6 FThTCKeMePEarSCQTPesjI66H7fqMIVtP6qeA4kcbiWc+rRfiSYZqHzk2wV6hUEBLPAB XwOU9CafUCmZOWaMTXt7O3vPegLgdNYcLxv9gwBDZOoUh4H3bNPg1XKCaZbLafvsJuPR fG4w== X-Gm-Message-State: AOAM533oVCheUWuoM9XJyoaM37QW7Noqq8VsCbk2Z3IZsAXzceu8a56e YoFaimwOhDOJnnER8b8Qmax80cljYTEJEnGetOT1FA== X-Received: by 2002:a63:fc01:: with SMTP id j1mr5228706pgi.0.1595525864945; Thu, 23 Jul 2020 10:37:44 -0700 (PDT) MIME-Version: 1.0 References: <20200718000637.3632841-1-saravanak@google.com> <20200718000637.3632841-5-saravanak@google.com> <1595504763.31289.5.camel@mtkswgap22> In-Reply-To: <1595504763.31289.5.camel@mtkswgap22> From: Saravana Kannan Date: Thu, 23 Jul 2020 10:37:09 -0700 Message-ID: Subject: Re: [PATCH v3 4/4] irqchip/mtk-cirq: Convert to a platform driver To: Hanks Chen Cc: Thomas Gleixner , Jason Cooper , Marc Zyngier , Matthias Brugger , Andy Gross , Bjorn Andersson , Android Kernel Team , LKML , linux-arm-kernel , "moderated list:ARM/Mediatek SoC support" , linux-arm-msm , John Stultz , CC Hwang , Loda Chou 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, Jul 23, 2020 at 4:46 AM Hanks Chen wrote: > > On Fri, 2020-07-17 at 17:06 -0700, Saravana Kannan wrote: > > This driver can work as a platform driver. So covert it to a platform > > driver. > > > > Signed-off-by: Saravana Kannan > > --- > > drivers/irqchip/irq-mtk-cirq.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/irqchip/irq-mtk-cirq.c b/drivers/irqchip/irq-mtk-cirq.c > > index 69ba8ce3c178..62a61275aaa3 100644 > > --- a/drivers/irqchip/irq-mtk-cirq.c > > +++ b/drivers/irqchip/irq-mtk-cirq.c > > @@ -295,4 +295,6 @@ static int __init mtk_cirq_of_init(struct device_node *node, > > return ret; > > } > > > > -IRQCHIP_DECLARE(mtk_cirq, "mediatek,mtk-cirq", mtk_cirq_of_init); > > +IRQCHIP_PLATFORM_DRIVER_BEGIN(mtk_cirq) > > +IRQCHIP_MATCH("mediatek,mtk-cirq", mtk_cirq_of_init) > > +IRQCHIP_PLATFORM_DRIVER_END(mtk_cirq) > > Hi Saravana, > > Looks good for me to convert cirq to a platform. > Thank you for your patch. > > Reviewed-by: Hanks Chen Hi Hanks, Thanks for the Reviewed-by on both patches. -Saravana