[PATCH 0/2] pwm: stm32: A (small) fix and a cleanup

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Jul 13 08:51:40 PDT 2023


Hello,

I was surprised when I spotted the stm32 calling pwm_disable() in the
remove callback. I thought I fixed all drivers in this regard.

Best regards
Uwe

Uwe Kleine-König (2):
  pwm: stm32: Don't modify HW state in .remove() callback
  pwm: stm32: Simplify using devm_pwmchip_add()

 drivers/pwm/pwm-stm32.c | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
-- 
2.39.2




More information about the linux-arm-kernel mailing list