]> git.baikalelectronics.ru Git - kernel.git/commit
serial: of_serial: do not set port.type twice
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 8 May 2015 04:03:13 +0000 (13:03 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 May 2015 17:10:08 +0000 (19:10 +0200)
commitd71c756d1feae9db2be9e83c0ce7f81fa2efab4f
treebdf022da99c014abd7964c1b2e8dcddef0d01317
parent3f30e1f3ce68290c557dd6af357d4a3474eecc46
serial: of_serial: do not set port.type twice

The port.type has already been set by of_platform_serial_setup()
called from a few lines above.
Setting it to the same value is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/of_serial.c