pwm interface: Minor fixes

- fixed line lengths
- fixed return value for pwm_init