On Mon, May 21, 2012 at 08:55:40PM +0800, Axel Lin wrote: > The devm_kzalloc function eliminates the need for manual resource releasing > and simplify error handling. Resources allocated by devm_* are freed > automatically on driver detach. Applied, thanks.