]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86a8eaca55959de865797703dc1eab34936c0bcc
tree89cddff02878fac9146aef62ae438651353ffbd9
parent510d21b90462b2df87a0b5ecd638f4fb5805debb
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>
arch/unicore32/kernel/pwm.c