[PATCH 5.15 228/374] pwm: stm32: Use hweight32 in stm32_pwm_detect_channels