[PATCH 3/7] s3c-hsudc: add a remove function

Russell King - ARM Linux linux at arm.linux.org.uk
Sun Dec 18 03:03:44 EST 2011


On Sat, Dec 17, 2011 at 08:26:33PM +0100, Heiko Stübner wrote:
> +	release_resource(hsudc->mem_rsrc);
> +	kfree(hsudc->mem_rsrc);

release_mem_region() is paired with request_mem_region.  Do not go beneath
the API by doing the above.



More information about the linux-arm-kernel mailing list