mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
fpga: zynq-fpga: 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: Michal Simek <michal.simek@amd.com>
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20260713132237.370272-1-panchuang@vivo.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
This commit is contained in:
parent
b5ba63e247
commit
2c972f03cc
|
|
@ -598,7 +598,6 @@ static int zynq_fpga_probe(struct platform_device *pdev)
|
|||
err = devm_request_irq(dev, priv->irq, zynq_fpga_isr, 0, dev_name(dev),
|
||||
priv);
|
||||
if (err) {
|
||||
dev_err(dev, "unable to request IRQ\n");
|
||||
clk_disable_unprepare(priv->clk);
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user