msm_serial: add missing iounmap() on error in msm_request_port()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 17 Jul 2013 05:34:09 +0000 (13:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:04:50 +0000 (16:04 -0700)
commit195be84aaae50af84c833d91c81af015091ec86d
tree1159d446e5326aa73f5d9fe8de3fad3cbfe720e2
parent37e1ceb1796279d8a7b0dfaeff8a829d1dd1b2f3
msm_serial: add missing iounmap() on error in msm_request_port()

Add the missing iounmap() before return from msm_request_port()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/msm_serial.c