devm_pwm_get —
resource managed pwm_get
struct pwm_device * devm_pwm_get ( | struct device * dev, |
const char * con_id); |
This function performs like pwm_get but the acquired PWM device will
automatically be released on driver detach.