From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: chunfeng.yun@mediatek.com Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux@roeck-us.net, heikki.krogerus@linux.intel.com, cy_huang@richtek.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] usb: typec: tcpci_mt6360: Retrieve interrupt by index Date: Fri, 19 Jan 2024 10:41:05 +0100 [thread overview] Message-ID: <20240119094105.98312-2-angelogioacchino.delregno@collabora.com> (raw) In-Reply-To: <20240119094105.98312-1-angelogioacchino.delregno@collabora.com> This IP has only one interrupt and names are not needed in this case: change to use platform_get_irq() instead, dropping the PD_IRQB name. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> --- drivers/usb/typec/tcpm/tcpci_mt6360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/tcpm/tcpci_mt6360.c b/drivers/usb/typec/tcpm/tcpci_mt6360.c index 02b7fd302265..171592ae1bbe 100644 --- a/drivers/usb/typec/tcpm/tcpci_mt6360.c +++ b/drivers/usb/typec/tcpm/tcpci_mt6360.c @@ -153,7 +153,7 @@ static int mt6360_tcpc_probe(struct platform_device *pdev) return -ENODEV; } - mti->irq = platform_get_irq_byname(pdev, "PD_IRQB"); + mti->irq = platform_get_irq(pdev, 0); if (mti->irq < 0) return mti->irq; -- 2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: chunfeng.yun@mediatek.com Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux@roeck-us.net, heikki.krogerus@linux.intel.com, cy_huang@richtek.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] usb: typec: tcpci_mt6360: Retrieve interrupt by index Date: Fri, 19 Jan 2024 10:41:05 +0100 [thread overview] Message-ID: <20240119094105.98312-2-angelogioacchino.delregno@collabora.com> (raw) In-Reply-To: <20240119094105.98312-1-angelogioacchino.delregno@collabora.com> This IP has only one interrupt and names are not needed in this case: change to use platform_get_irq() instead, dropping the PD_IRQB name. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> --- drivers/usb/typec/tcpm/tcpci_mt6360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/tcpm/tcpci_mt6360.c b/drivers/usb/typec/tcpm/tcpci_mt6360.c index 02b7fd302265..171592ae1bbe 100644 --- a/drivers/usb/typec/tcpm/tcpci_mt6360.c +++ b/drivers/usb/typec/tcpm/tcpci_mt6360.c @@ -153,7 +153,7 @@ static int mt6360_tcpc_probe(struct platform_device *pdev) return -ENODEV; } - mti->irq = platform_get_irq_byname(pdev, "PD_IRQB"); + mti->irq = platform_get_irq(pdev, 0); if (mti->irq < 0) return mti->irq; -- 2.43.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2024-01-19 9:41 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-19 9:41 [PATCH v2 1/2] dt-bindings: usb: mt6360-tcpc: Drop interrupt-names AngeloGioacchino Del Regno 2024-01-19 9:41 ` AngeloGioacchino Del Regno 2024-01-19 9:41 ` AngeloGioacchino Del Regno [this message] 2024-01-19 9:41 ` [PATCH v2 2/2] usb: typec: tcpci_mt6360: Retrieve interrupt by index AngeloGioacchino Del Regno 2024-01-19 11:49 ` [PATCH v2 1/2] dt-bindings: usb: mt6360-tcpc: Drop interrupt-names Rob Herring 2024-01-19 11:49 ` Rob Herring 2024-01-19 16:32 ` Conor Dooley 2024-01-19 16:32 ` Conor Dooley 2024-01-22 10:32 ` AngeloGioacchino Del Regno 2024-01-22 10:32 ` AngeloGioacchino Del Regno 2024-01-23 17:14 ` Conor Dooley 2024-01-23 17:14 ` Conor Dooley 2024-01-24 8:48 ` AngeloGioacchino Del Regno 2024-01-24 8:48 ` AngeloGioacchino Del Regno 2024-01-24 16:18 ` Conor Dooley 2024-01-24 16:18 ` Conor Dooley 2024-01-25 10:32 ` Krzysztof Kozlowski 2024-01-25 10:32 ` Krzysztof Kozlowski 2024-01-25 11:41 ` AngeloGioacchino Del Regno 2024-01-25 11:41 ` AngeloGioacchino Del Regno 2024-01-25 16:57 ` Conor Dooley 2024-01-25 16:57 ` Conor Dooley 2024-01-25 17:02 ` Conor Dooley 2024-01-25 17:02 ` Conor Dooley 2024-01-26 9:15 ` AngeloGioacchino Del Regno 2024-01-26 9:15 ` AngeloGioacchino Del Regno 2024-01-26 9:27 ` Conor Dooley 2024-01-26 9:27 ` Conor Dooley
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240119094105.98312-2-angelogioacchino.delregno@collabora.com \ --to=angelogioacchino.delregno@collabora.com \ --cc=chunfeng.yun@mediatek.com \ --cc=conor+dt@kernel.org \ --cc=cy_huang@richtek.com \ --cc=devicetree@vger.kernel.org \ --cc=gregkh@linuxfoundation.org \ --cc=heikki.krogerus@linux.intel.com \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=linux-usb@vger.kernel.org \ --cc=linux@roeck-us.net \ --cc=matthias.bgg@gmail.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.