pwm: Constify PWM device where possible