mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
crypto: keembay - Remove redundant dev_err()
Since commit 55b48e23f5 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_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
80283c1e1b
commit
ac2ad1af8a
|
|
@ -1612,10 +1612,8 @@ static int kmb_ocs_aes_probe(struct platform_device *pdev)
|
|||
|
||||
rc = devm_request_threaded_irq(dev, aes_dev->irq, ocs_aes_irq_handler,
|
||||
NULL, 0, "keembay-ocs-aes", aes_dev);
|
||||
if (rc < 0) {
|
||||
dev_err(dev, "Could not request IRQ\n");
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
}
|
||||
|
||||
INIT_LIST_HEAD(&aes_dev->list);
|
||||
spin_lock(&ocs_aes.lock);
|
||||
|
|
|
|||
|
|
@ -900,10 +900,8 @@ static int kmb_ocs_ecc_probe(struct platform_device *pdev)
|
|||
|
||||
rc = devm_request_threaded_irq(dev, ecc_dev->irq, ocs_ecc_irq_handler,
|
||||
NULL, 0, "keembay-ocs-ecc", ecc_dev);
|
||||
if (rc < 0) {
|
||||
dev_err(dev, "Could not request IRQ\n");
|
||||
if (rc < 0)
|
||||
goto list_del;
|
||||
}
|
||||
|
||||
/* Add device to the list of OCS ECC devices. */
|
||||
spin_lock(&ocs_ecc.lock);
|
||||
|
|
|
|||
|
|
@ -1205,10 +1205,8 @@ static int kmb_ocs_hcu_probe(struct platform_device *pdev)
|
|||
rc = devm_request_threaded_irq(&pdev->dev, hcu_dev->irq,
|
||||
ocs_hcu_irq_handler, NULL, 0,
|
||||
"keembay-ocs-hcu", hcu_dev);
|
||||
if (rc < 0) {
|
||||
dev_err(dev, "Could not request IRQ.\n");
|
||||
if (rc < 0)
|
||||
return rc;
|
||||
}
|
||||
|
||||
INIT_LIST_HEAD(&hcu_dev->list);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user