commit | 2b359172e013c6b1b7e424e5be92a70fc7cceaaf | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Apr 25 09:17:23 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon May 20 11:54:56 2013 -0700 |
tree | 6d17b11f6aa885312bd35dd4f76faacea409f8dd | |
parent | 9bcc3278445bedc272dc2c432e81502d00ac9182 [diff] |
serial: mcf: missing uart_unregister_driver() on error in mcf_init() Add the missing uart_unregister_driver() before return from mcf_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>