mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
fbdev: pxa3xx-gcu: 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() call.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
dde94092ec
commit
1f2b187074
|
|
@ -615,10 +615,8 @@ static int pxa3xx_gcu_probe(struct platform_device *pdev)
|
|||
|
||||
ret = devm_request_irq(dev, irq, pxa3xx_gcu_handle_irq,
|
||||
0, DRV_NAME, priv);
|
||||
if (ret < 0) {
|
||||
dev_err(dev, "request_irq failed\n");
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* allocate dma memory */
|
||||
priv->shared = dma_alloc_coherent(dev, SHARED_SIZE,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user