mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
soc/tegra: cbb: 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>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
74a161d20e
commit
b46a43e6c6
|
|
@ -2072,20 +2072,15 @@ static int tegra194_cbb_interrupt_enable(struct tegra_cbb *cbb)
|
|||
if (priv->sec_irq) {
|
||||
err = devm_request_irq(dev, priv->sec_irq, tegra194_cbb_err_isr, 0, dev_name(dev),
|
||||
priv);
|
||||
if (err) {
|
||||
dev_err(dev, "failed to register interrupt %u: %d\n", priv->sec_irq, err);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
if (priv->nonsec_irq) {
|
||||
err = devm_request_irq(dev, priv->nonsec_irq, tegra194_cbb_err_isr, 0,
|
||||
dev_name(dev), priv);
|
||||
if (err) {
|
||||
dev_err(dev, "failed to register interrupt %u: %d\n", priv->nonsec_irq,
|
||||
err);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user