All of lore.kernel.org
 help / color / mirror / Atom feed
From: "thermal-bot for Florian Fainelli" <tip-bot2@linutronix.de>
To: linux-pm@vger.kernel.org
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	rui.zhang@intel.com, amitk@kernel.org
Subject: [thermal: thermal/next] thermal/drivers/brcmstb_thermal: Interrupt is optional
Date: Tue, 08 Mar 2022 20:33:44 -0000	[thread overview]
Message-ID: <164677162497.16921.16912408744026813034.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20220301181412.2008044-1-f.fainelli@gmail.com>

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     7eab0b9d48a825e8e845003f81eeaaf0bcb239fd
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//7eab0b9d48a825e8e845003f81eeaaf0bcb239fd
Author:        Florian Fainelli <f.fainelli@gmail.com>
AuthorDate:    Tue, 01 Mar 2022 10:14:12 -08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Tue, 08 Mar 2022 21:26:09 +01:00

thermal/drivers/brcmstb_thermal: Interrupt is optional

Utilize platform_get_irq_optional() to silence these messages:

brcmstb_thermal a581500.thermal: IRQ index 0 not found

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220301181412.2008044-1-f.fainelli@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/thermal/broadcom/brcmstb_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c b/drivers/thermal/broadcom/brcmstb_thermal.c
index 8df5ede..0cedb8b 100644
--- a/drivers/thermal/broadcom/brcmstb_thermal.c
+++ b/drivers/thermal/broadcom/brcmstb_thermal.c
@@ -351,7 +351,7 @@ static int brcmstb_thermal_probe(struct platform_device *pdev)
 
 	priv->thermal = thermal;
 
-	irq = platform_get_irq(pdev, 0);
+	irq = platform_get_irq_optional(pdev, 0);
 	if (irq >= 0) {
 		ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
 						brcmstb_tmon_irq_thread,

      reply	other threads:[~2022-03-08 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 18:14 [PATCH RESEND] thermal: brcmstb_thermal: Interrupt is optional Florian Fainelli
2022-03-01 18:14 ` Florian Fainelli
2022-03-08 20:33 ` thermal-bot for Florian Fainelli [this message]

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=164677162497.16921.16912408744026813034.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=amitk@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=f.fainelli@gmail.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    /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: link
Be 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.