pwm: stm32-lp: Remove pwm_is_enabled() check before calling pwm_disable()
authorAxel Lin <axel.lin@ingics.com>
Tue, 7 Nov 2017 03:30:41 +0000 (11:30 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 15 Nov 2017 10:02:06 +0000 (11:02 +0100)
commitf83e2ae2606b3754a5b9dfe9dd792c453698df6c
tree6ee4a8547a171a6ed1556f9b5057b38a59df0bd1
parent424268c7494c2ae24c95565b9047bbf30309e88a
pwm: stm32-lp: Remove pwm_is_enabled() check before calling pwm_disable()

The same checking is done by the implementation of pwm_disable().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-stm32-lp.c