diff options
Diffstat (limited to 'drivers/tty/serial/owl-uart.c')
| -rw-r--r-- | drivers/tty/serial/owl-uart.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c index 29a6dc6a8d23..03963af77b15 100644 --- a/drivers/tty/serial/owl-uart.c +++ b/drivers/tty/serial/owl-uart.c @@ -662,10 +662,8 @@ static int owl_uart_probe(struct platform_device *pdev)  	}  	irq = platform_get_irq(pdev, 0); -	if (irq < 0) { -		dev_err(&pdev->dev, "could not get irq\n"); +	if (irq < 0)  		return irq; -	}  	if (owl_uart_ports[pdev->id]) {  		dev_err(&pdev->dev, "port %d already allocated\n", pdev->id);  |