TTY: msm_serial, remove unneeded console set
authorJiri Slaby <jslaby@suse.cz>
Thu, 14 Jul 2011 12:35:11 +0000 (14:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:34:05 +0000 (10:34 -0700)
commite150c4ccbe7246c27b5208599fe9f6677c93b5fe
tree6862d33b844f2fab1c0937ede28ef8993ac32bed
parent1f33a51d9771b34be3cb6f7fb96a325e17bbac7b
TTY: msm_serial, remove unneeded console set

It doesn't make sense to set console to uart_port in console->setup.
At that time the console is set by uart_add_one_port already.

The call chain looked like:
uart_add_one_port()
  uport->cons = drv->cons;   <= once
  uart_configure_port()
    register_console()
     console->setup()
       port->cons = co;      <= second time

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/msm_serial.c