serial/imx: let probing fail for the dt case without a valid alias
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 15 Dec 2011 08:16:34 +0000 (09:16 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2012 00:30:34 +0000 (16:30 -0800)
commit20bb8095a467dde88bd09a55ed62c60fada2e5c9
treed4c387d24cb5a4731c9a0427598e3374710c6732
parenta197a191f73a75d80d5b67e09e0b89c214dc3690
serial/imx: let probing fail for the dt case without a valid alias

When the uart device is instantiated by dt but dt doesn't provide an
alias then better let probing fail instead of falling back to an
unrelated device id used for the line number and no platform data.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/imx.c