mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
crypto: amlogic - Remove redundant dev_err()
Since commit 55b48e23f5 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
1d39231ee9
commit
c32dd3367b
|
|
@ -257,10 +257,8 @@ static int meson_crypto_probe(struct platform_device *pdev)
|
|||
|
||||
err = devm_request_irq(&pdev->dev, mc->irqs[i], meson_irq_handler, 0,
|
||||
"gxl-crypto", mc);
|
||||
if (err < 0) {
|
||||
dev_err(mc->dev, "Cannot request IRQ for flow %d\n", i);
|
||||
if (err < 0)
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
err = clk_prepare_enable(mc->busclk);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user