s3c-hsudc: use release_mem_region instead of release_resource
From: Heiko Stuebner <heiko@...> Date: Sun, 18 Dec 2011 13:49:35 +0100
Commit-Message
As the memory region is requested through request_mem_region use the correct paired method to release it in the error path and don't go "beneath the API". Reported-by: Russell King <rmk+kernel@...> Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
drivers/usb/gadget/s3c-hsudc.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
Statistics
- 1 lines added
- 3 lines removed