commit | 5384e27317016bd30aa7a7a7513f76ce7caa3b09 | [log] [tgz] |
---|---|---|
author | Thierry Reding <thierry.reding@avionic-design.de> | Thu Aug 30 15:52:28 2012 +0200 |
committer | Thierry Reding <thierry.reding@avionic-design.de> | Fri Oct 05 20:56:41 2012 +0200 |
tree | 89cddff02878fac9146aef62ae438651353ffbd9 | |
parent | e551fadef3650c34137e90f17963ca613b8f8610 [diff] |
unicore32: pwm: Use managed resource allocations 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>