serial/efm32-uart: don't use pdev->id to determine the port's line
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 30 Jul 2013 14:35:20 +0000 (16:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 01:05:39 +0000 (18:05 -0700)
commit11f1ad3ab4c2b2f208f7ef5b0360903bdf00df61
tree75e5141b118890ba818286e36fe9feab53e815f5
parent574de559c1797618fd8ed03576837eb3113c5d26
serial/efm32-uart: don't use pdev->id to determine the port's line

pdev->id is not a valid choice for device-tree probed devices. So use
the (properly determined) line from efm32_uart_probe consistenly

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/efm32-uart.c