usb: isp1760-if: fix memleak when platform_get_resource fail
authorLibo Chen <chenlibo.3@gmail.com>
Thu, 9 May 2013 04:58:09 +0000 (12:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:35:13 +0000 (17:35 -0700)
commit72d9c8b68d013133b296ad8e63a30fb257351484
tree33909da7d02bb412395372d8a78501a2f9cc6fd2
parent9a9ef7360e601cbe4c978742c115645e67bd6e25
usb: isp1760-if: fix memleak when platform_get_resource fail

When platform_get_resource fail, we should release_mem_region

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/isp1760-if.c