pwm: Ensure a struct pwm has the same lifetime as its pwm_chip