[pwm-gen] Minor cleanup