mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
fbdev: s3c-fb: 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
24eadacc51
commit
1867db62c1
|
|
@ -1421,10 +1421,8 @@ static int s3c_fb_probe(struct platform_device *pdev)
|
|||
|
||||
ret = devm_request_irq(dev, sfb->irq_no, s3c_fb_irq,
|
||||
0, "s3c_fb", sfb);
|
||||
if (ret) {
|
||||
dev_err(dev, "irq request failed\n");
|
||||
if (ret)
|
||||
goto err_lcd_clk;
|
||||
}
|
||||
|
||||
dev_dbg(dev, "got resources (regs %p), probing windows\n", sfb->regs);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user