From: Wei Yongjun Date: Thu, 25 Apr 2013 07:34:27 +0000 (+0800) Subject: tty: serial: mpc5xxx: fix error handing in mpc52xx_uart_init() X-Git-Tag: v3.10-rc3~22^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bcc3278445bedc272dc2c432e81502d00ac9182;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed