summaryrefslogtreecommitdiffstats
path: root/drivers/soc/ti
diff options
context:
space:
mode:
authorYihao Han <hanyihao@vivo.com>2022-03-03 04:44:44 -0800
committerNishanth Menon <nm@ti.com>2022-04-11 08:45:42 -0500
commitc2b0390132edffad1b52e4e84f797343b10f5ef2 (patch)
tree4cd47ac358c485f1ae9cdbbb202671fb64eaf152 /drivers/soc/ti
parent3123109284176b1532874591f7c81f3837bbdc17 (diff)
downloadlinux-stable-c2b0390132edffad1b52e4e84f797343b10f5ef2.tar.gz
linux-stable-c2b0390132edffad1b52e4e84f797343b10f5ef2.tar.bz2
linux-stable-c2b0390132edffad1b52e4e84f797343b10f5ef2.zip
soc: ti: wkup_m3_ipc: fix platform_get_irq.cocci warning
Remove dev_err() messages after platform_get_irq*() failures. platform_get_irq() already prints an error. Generated by: scripts/coccinelle/api/platform_get_irq.cocci Signed-off-by: Yihao Han <hanyihao@vivo.com> Signed-off-by: Nishanth Menon <nm@ti.com> Link: https://lore.kernel.org/r/20220303124444.3373-1-hanyihao@vivo.com
Diffstat (limited to 'drivers/soc/ti')
-rw-r--r--drivers/soc/ti/wkup_m3_ipc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
index 2f03ced0f411..f145e65041fd 100644
--- a/drivers/soc/ti/wkup_m3_ipc.c
+++ b/drivers/soc/ti/wkup_m3_ipc.c
@@ -450,10 +450,8 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)
return PTR_ERR(m3_ipc->ipc_mem_base);
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(&pdev->dev, "no irq resource\n");
+ if (irq < 0)
return irq;
- }
ret = devm_request_irq(dev, irq, wkup_m3_txev_handler,
0, "wkup_m3_txev", m3_ipc);