mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
crypto: allwinner - 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:
@@ -976,10 +976,8 @@ static int sun8i_ce_probe(struct platform_device *pdev)
|
||||
|
||||
err = devm_request_irq(&pdev->dev, irq, ce_irq_handler, 0,
|
||||
"sun8i-ce-ns", ce);
|
||||
if (err) {
|
||||
dev_err(ce->dev, "Cannot request CryptoEngine Non-secure IRQ (err=%d)\n", err);
|
||||
if (err)
|
||||
goto error_pm;
|
||||
}
|
||||
|
||||
err = sun8i_ce_register_algs(ce);
|
||||
if (err)
|
||||
|
||||
@@ -824,10 +824,8 @@ static int sun8i_ss_probe(struct platform_device *pdev)
|
||||
goto error_pm;
|
||||
|
||||
err = devm_request_irq(&pdev->dev, irq, ss_irq_handler, 0, "sun8i-ss", ss);
|
||||
if (err) {
|
||||
dev_err(ss->dev, "Cannot request SecuritySystem IRQ (err=%d)\n", err);
|
||||
if (err)
|
||||
goto error_irq;
|
||||
}
|
||||
|
||||
err = sun8i_ss_register_algs(ss);
|
||||
if (err)
|
||||
|
||||
Reference in New Issue
Block a user