mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
crypto: ccree - 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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
1 parent
53fa9d8d97
commit
f9a1dd7a57
1 file changed
+1
-3
@@ -471,10 +471,8 @@ static int init_cc_resources(struct platform_device *plat_dev)
|
||||
/* register the driver isr function */
|
||||
rc = devm_request_irq(dev, irq, cc_isr, IRQF_SHARED, "ccree",
|
||||
new_drvdata);
|
||||
if (rc) {
|
||||
dev_err(dev, "Could not register to interrupt %d\n", irq);
|
||||
if (rc)
|
||||
goto post_pm_err;
|
||||
}
|
||||
dev_dbg(dev, "Registered to IRQ: %d\n", irq);
|
||||
|
||||
init_cc_cache_params(new_drvdata);
|
||||
|
||||
Reference in new issue
Block a user