forked from Minki/linux
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>
This commit is contained in:
parent
d68f17291c
commit
133af21f7c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user