diff options
author | Tan Zhongjun <tanzhongjun@yulong.com> | 2021-06-10 16:01:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-10 23:10:23 +0200 |
commit | 950fd045d76c96ada8c7a6e80f1f4e40de4beb17 (patch) | |
tree | 6f16e2fd4c110d50366e20171add8b945def117a /drivers/net | |
parent | dccp: tfrc: fix doc warnings in tfrc_equation.c (diff) | |
download | linux-950fd045d76c96ada8c7a6e80f1f4e40de4beb17.tar.xz linux-950fd045d76c96ada8c7a6e80f1f4e40de4beb17.zip |
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: Tan Zhongjun <tanzhongjun@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ipa/ipa_smp2p.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ipa/ipa_smp2p.c b/drivers/net/ipa/ipa_smp2p.c index a5f7a79a1923..cf709df70d28 100644 --- a/drivers/net/ipa/ipa_smp2p.c +++ b/drivers/net/ipa/ipa_smp2p.c @@ -176,11 +176,8 @@ static int ipa_smp2p_irq_init(struct ipa_smp2p *smp2p, const char *name, int ret; ret = platform_get_irq_byname(smp2p->ipa->pdev, name); - if (ret <= 0) { - dev_err(dev, "DT error %d getting \"%s\" IRQ property\n", - ret, name); + if (ret <= 0) return ret ? : -EINVAL; - } irq = ret; ret = request_threaded_irq(irq, NULL, handler, 0, name, smp2p); |