[PATCH 6.6 316/583] pwm: stm32: Use hweight32 in stm32_pwm_detect_channels