]> git.karo-electronics.de Git - linux-beck.git/commit
tty: serial: msm_serial: Remove console unregistration from driver exit.
authorPramod Gurav <pramod.gurav@smartplayin.com>
Mon, 12 Jan 2015 13:52:12 +0000 (19:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:25 +0000 (10:11 -0800)
commit2f7f558c222bc0ed617aa9888d0043a9aeeba253
tree43121de3e6d35559c6c900cd545198fb6f20e3b0
parent4daba33466a81197e65c1a86cc1e1d1ca4e70939
tty: serial: msm_serial: Remove console unregistration from driver exit.

unregister_console() will be called from uart_remove_one_port() while
removing the platform driver. So not necessary to call it in driver
exit path.

Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_serial.c