mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
fbdev: sa1100fb: 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
1867db62c1
commit
fa1005144f
|
|
@ -1167,10 +1167,8 @@ static int sa1100fb_probe(struct platform_device *pdev)
|
|||
|
||||
ret = devm_request_irq(&pdev->dev, irq, sa1100fb_handle_irq, 0,
|
||||
"LCD", fbi);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "request_irq failed: %d\n", ret);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden",
|
||||
GPIOD_OUT_LOW);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user