tty: serial: msm_serial: Use DT aliases
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 23 Oct 2014 00:33:01 +0000 (17:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:23 +0000 (14:57 -0800)
commit97f754710304382607417c700476007443cd96a4
tree6032440d9bb279e9ad9017e2ef6124df9b44169d
parenta12f1b406f2d3c3e3bba5300b6e420d004ca263b
tty: serial: msm_serial: Use DT aliases

We rely on probe order of this driver to determine the line number for
the uart port. This makes it impossible to know the line number
when these devices are populated via DT. Use the DT alias
mechanism to assign the line based on the aliases node.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_serial.c