Alban Bedel 54b2a999a1 pwm: lpc32xx: Properly disable the clock on device removal
A single clock is used for all PWMs meaning the clock's reference count
might be between 0 and N when .remove() is called. Instead of a single
clk_disable() call pwm_disable() on each PWM, to ensure that
clk_disable() is called for each PWM that is still enabled.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2012-12-06 08:52:11 +01:00
..
2012-12-06 08:51:38 +01:00
2012-11-28 15:16:20 +01:00
2012-11-28 15:16:20 +01:00
2012-12-06 08:52:04 +01:00
2012-10-05 20:56:42 +02:00
2012-11-28 15:16:16 +01:00
2012-11-28 15:14:41 +01:00
2012-11-28 15:14:41 +01:00