pwm: i.MX: remove unnecessary if in pwm_[en|dis]able
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 28 Aug 2012 07:12:01 +0000 (09:12 +0200)
committerThierry Reding <thierry.reding@avionic-design.de>
Wed, 12 Sep 2012 12:25:04 +0000 (14:25 +0200)
commit140827c148f2f3a95fdcec5310f6cd980139b383
tree513ab07873ffadbc33251f2b7d4ecd785f16b6b9
parent19e73333236a6115617f8ffb4cc290bdb6f2865a
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>
drivers/pwm/pwm-imx.c