All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] thermal: brcmstb_thermal: Interrupt is optional
@ 2022-03-01 18:14 ` Florian Fainelli
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2022-03-01 18:14 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Markus Mayer,
	maintainer:BROADCOM STB AVS TMON DRIVER, Rafael J. Wysocki,
	Daniel Lezcano, Amit Kucheria, Zhang Rui,
	open list:BROADCOM STB AVS TMON DRIVER,
	moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE

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>
---
 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 8df5edef1ded..0cedb8b4f00a 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,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH RESEND] thermal: brcmstb_thermal: Interrupt is optional
@ 2022-03-01 18:14 ` Florian Fainelli
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2022-03-01 18:14 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Markus Mayer,
	maintainer:BROADCOM STB AVS TMON DRIVER, Rafael J. Wysocki,
	Daniel Lezcano, Amit Kucheria, Zhang Rui,
	open list:BROADCOM STB AVS TMON DRIVER,
	moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE

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>
---
 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 8df5edef1ded..0cedb8b4f00a 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,
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [thermal: thermal/next] thermal/drivers/brcmstb_thermal: Interrupt is optional
  2022-03-01 18:14 ` Florian Fainelli
  (?)
@ 2022-03-08 20:33 ` thermal-bot for Florian Fainelli
  -1 siblings, 0 replies; 3+ messages in thread
From: thermal-bot for Florian Fainelli @ 2022-03-08 20:33 UTC (permalink / raw)
  To: linux-pm; +Cc: Florian Fainelli, Daniel Lezcano, rui.zhang, amitk

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,

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-08 20:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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: thermal/next] thermal/drivers/brcmstb_thermal: " thermal-bot for Florian Fainelli

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.