TTY: hvcs: fix missing unlock on error in hvcs_initialize()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 22 Oct 2012 04:42:59 +0000 (12:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 18:37:02 +0000 (11:37 -0700)
commitad3d1e5fc94e1d617298cf9b8fb522e2d219521a
tree3acb66c8bef8d114ee09b1422acbbbbc3502e61b
parent08ec212c0f92cbf30e3ecc7349f18151714041d6
TTY: hvcs: fix missing unlock on error in hvcs_initialize()

Add the missing unlock on the error handling path in function
hvcs_initialize().

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