[PATCH v5 19/46] pwm: switch to the atomic API