[PATCH 6.1 229/417] pwm: stm32: Use hweight32 in stm32_pwm_detect_channels