thermal: brcmstb_thermal: Interrupt is optional
PATCH RESEND 1/1 thermal: 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 <[email protected]>
--- drivers/thermal/broadcom/brcmstb_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/broadcom/brcmstb_thermal.c +1 -1
@@ -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,
Signature · 1 line
2.25.1
[thermal: thermal/next] thermal/drivers/brcmstb_thermal: Interrupt is optional
The following commit has been merged into the thermal/next branch of thermal:
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 <[email protected]> AuthorDate: Tue, 01 Mar 2022 10:14:12 -08:00 Committer: Daniel Lezcano <[email protected]> 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 <[email protected]>
Signed-off-by Daniel Lezcano <[email protected]>
--- drivers/thermal/broadcom/brcmstb_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/broadcom/brcmstb_thermal.c +1 -1
@@ -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,