Update drv_pwm.c

A little drv_pwm cleanup