unicore32: pwm: Use managed resource allocations
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 30 Aug 2012 13:52:28 +0000 (15:52 +0200)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 5 Oct 2012 18:56:41 +0000 (20:56 +0200)
This commit uses the managed resource allocation functions to simplify
the cleanup paths on error and removal.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Qin Rui <qinrui@mprc.pku.edu.cn>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>

No differences found