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