summaryrefslogtreecommitdiff
path: root/drivers/mailbox/stm32-ipcc.c
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2020-11-29 21:52:27 +0300
committerJassi Brar <jaswinder.singh@linaro.org>2020-12-02 04:17:20 +0300
commit133af21f7c00a2bfc2b6c6aa7bfad4dc3eeb0401 (patch)
tree22d8df06f81245feb1b953160c94aa0cf0788faa /drivers/mailbox/stm32-ipcc.c
parentd68f17291ccf86442c3d367ba83581b81541baae (diff)
downloadlinux-133af21f7c00a2bfc2b6c6aa7bfad4dc3eeb0401.tar.xz
mailbox: stm32-ipcc: remove duplicate error message
platform_get_irq_byname already prints an error message if the requested irq was not found. Don't print another message in the driver. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/stm32-ipcc.c')
-rw-r--r--drivers/mailbox/stm32-ipcc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mailbox/stm32-ipcc.c b/drivers/mailbox/stm32-ipcc.c
index ef966887aa15..ab8fe56af948 100644
--- a/drivers/mailbox/stm32-ipcc.c
+++ b/drivers/mailbox/stm32-ipcc.c
@@ -257,9 +257,6 @@ static int stm32_ipcc_probe(struct platform_device *pdev)
for (i = 0; i < IPCC_IRQ_NUM; i++) {
ipcc->irqs[i] = platform_get_irq_byname(pdev, irq_name[i]);
if (ipcc->irqs[i] < 0) {
- if (ipcc->irqs[i] != -EPROBE_DEFER)
- dev_err(dev, "no IRQ specified %s\n",
- irq_name[i]);
ret = ipcc->irqs[i];
goto err_clk;
}