提交 3fc1eb5f 编写于 作者: U Uwe Kleine-König 提交者: Greg Kroah-Hartman

serial/efm32-uart: don't slur over failure in probe_dt

Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 11f1ad3a
......@@ -751,7 +751,8 @@ static int efm32_uart_probe(struct platform_device *pdev)
if (pdata)
efm_port->pdata = *pdata;
}
} else if (ret < 0)
goto err_probe_dt;
line = efm_port->port.line;
......@@ -764,6 +765,7 @@ static int efm32_uart_probe(struct platform_device *pdev)
if (line >= 0 && line < ARRAY_SIZE(efm32_uart_ports))
efm32_uart_ports[line] = NULL;
err_probe_dt:
err_get_rxirq:
err_too_small:
err_get_base:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册