commit | 140827c148f2f3a95fdcec5310f6cd980139b383 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Tue Aug 28 09:12:01 2012 +0200 |
committer | Thierry Reding <thierry.reding@avionic-design.de> | Wed Sep 12 14:25:04 2012 +0200 |
tree | 513ab07873ffadbc33251f2b7d4ecd785f16b6b9 | |
parent | 19e73333236a6115617f8ffb4cc290bdb6f2865a [diff] |
pwm: i.MX: remove unnecessary if in pwm_[en|dis]able The PWM core makes sure that pwm_enable/disable are called only once. Still keep the enabled state since we will need it in pwm_config. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>