[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230627071707.77659-3-frank.li@vivo.com>
Date: Tue, 27 Jun 2023 15:16:54 +0800
From: Yangtao Li <frank.li@...o.com>
To: miquel.raynal@...tlin.com, rafael@...nel.org,
daniel.lezcano@...aro.org, amitk@...nel.org, rui.zhang@...el.com,
mmayer@...adcom.com, bcm-kernel-feedback-list@...adcom.com,
florian.fainelli@...adcom.com, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
linux-imx@....com, agross@...nel.org, andersson@...nel.org,
konrad.dybcio@...aro.org, thara.gopinath@...il.com,
heiko@...ech.de, mcoquelin.stm32@...il.com,
alexandre.torgue@...s.st.com, thierry.reding@...il.com,
jonathanh@...dia.com, tglx@...utronix.de, matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com,
srinivas.pandruvada@...ux.intel.com,
DLG-Adam.Ward.opensource@...renesas.com, frank.li@...o.com,
shangxiaojing@...wei.com, bchihi@...libre.com, wenst@...omium.org,
u.kleine-koenig@...gutronix.de, hayashi.kunihiko@...ionext.com,
niklas.soderlund+renesas@...natech.se, chi.minghao@....com.cn,
johan+linaro@...nel.org, jernej.skrabec@...il.com
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-rockchip@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com,
linux-tegra@...r.kernel.org, linux-mediatek@...ts.infradead.org
Subject: [PATCH 03/15] thermal/drivers/brcmstb_thermal: remove redundant msg
The upper-layer devm_request_threaded_irq() function can directly
print error information.
Signed-off-by: Yangtao Li <frank.li@...o.com>
---
drivers/thermal/broadcom/brcmstb_thermal.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c b/drivers/thermal/broadcom/brcmstb_thermal.c
index 72d1dbe60b8f..7611094cf367 100644
--- a/drivers/thermal/broadcom/brcmstb_thermal.c
+++ b/drivers/thermal/broadcom/brcmstb_thermal.c
@@ -353,10 +353,8 @@ static int brcmstb_thermal_probe(struct platform_device *pdev)
brcmstb_tmon_irq_thread,
IRQF_ONESHOT,
DRV_NAME, priv);
- if (ret < 0) {
- dev_err(&pdev->dev, "could not request IRQ: %d\n", ret);
+ if (ret < 0)
return ret;
- }
}
dev_info(&pdev->dev, "registered AVS TMON of-sensor driver\n");
--
2.39.0
Powered by blists - more mailing lists