pwm: stm32-lp: Remove useless loop in stm32_pwm_lp_remove()
authorFabrice Gasnier <fabrice.gasnier@st.com>
Fri, 20 Jul 2018 07:16:32 +0000 (09:16 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Aug 2018 09:32:25 +0000 (11:32 +0200)
commit2c2059c0b85d93d527cd23c0491288ef0264aee5
tree4042a167ca5ca52d94c083f8675a3ed831a9292f
parent43725feb593127b16318b871e3a9bf89a96d66cb
pwm: stm32-lp: Remove useless loop in stm32_pwm_lp_remove()

LPTimer has only one pwm channel (npwm = 1). Remove useless for loop
in remove routine.

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