Commit 950fd045 authored by Tan Zhongjun's avatar Tan Zhongjun Committed by David S. Miller

soc: qcom: ipa: Remove superfluous error message around platform_get_irq()

The platform_get_irq() prints error message telling that interrupt is
missing,hence there is no need to duplicated that message in the
drivers.
Signed-off-by: default avatarTan Zhongjun <tanzhongjun@yulong.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb8e2e43
...@@ -176,11 +176,8 @@ static int ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name, ...@@ -176,11 +176,8 @@ static int ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name,
int ret; int ret;
ret = platform_get_irq_byname(smp2p->ipa->pdev, name); ret = platform_get_irq_byname(smp2p->ipa->pdev, name);
if (ret <= 0) { if (ret <= 0)
dev_err(dev, "DT error %d getting \"%s\" IRQ property\n",
ret, name);
return ret ? : -EINVAL; return ret ? : -EINVAL;
}
irq = ret; irq = ret;
ret = request_threaded_irq(irq, NULL, handler, 0, name, smp2p); ret = request_threaded_irq(irq, NULL, handler, 0, name, smp2p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment