diff options
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/ucc_uart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/ucc_uart.c b/drivers/serial/ucc_uart.c index 315a9333ca3c..7de66c06b05d 100644 --- a/drivers/serial/ucc_uart.c +++ b/drivers/serial/ucc_uart.c | |||
@@ -1274,6 +1274,7 @@ static int ucc_uart_probe(struct of_device *ofdev, | |||
1274 | if (!iprop) { | 1274 | if (!iprop) { |
1275 | iprop = of_get_property(np, "device-id", NULL); | 1275 | iprop = of_get_property(np, "device-id", NULL); |
1276 | if (!iprop) { | 1276 | if (!iprop) { |
1277 | kfree(qe_port); | ||
1277 | dev_err(&ofdev->dev, "UCC is unspecified in " | 1278 | dev_err(&ofdev->dev, "UCC is unspecified in " |
1278 | "device tree\n"); | 1279 | "device tree\n"); |
1279 | return -EINVAL; | 1280 | return -EINVAL; |