]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tty: serial: mpc5xxx: fix error handing in mpc52xx_uart_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 25 Apr 2013 07:34:27 +0000 (15:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2013 18:54:55 +0000 (11:54 -0700)
commit9bcc3278445bedc272dc2c432e81502d00ac9182
treeadcc2e3ae5f0de71339730ff8704c3fe1c7deb2c
parenta82ea439655a66d587f353a3992521159f4050ee
tty: serial: mpc5xxx: fix error handing in mpc52xx_uart_init()

Add the missing uart_unregister_driver() and uninit before return
from mpc52xx_uart_init() in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mpc52xx_uart.c