Searched refs:pwm_prop (Results 1 – 1 of 1) sorted by relevance
1330 char *pwm_prop[2]; in pwm_export_child() local1358 pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=pwm%u", pwm->hwpwm); in pwm_export_child()1359 pwm_prop[1] = NULL; in pwm_export_child()1360 kobject_uevent_env(&pwmchip_dev->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child()1361 kfree(pwm_prop[0]); in pwm_export_child()1374 char *pwm_prop[2]; in pwm_unexport_child() local1383 pwm_prop[0] = kasprintf(GFP_KERNEL, "UNEXPORT=pwm%u", pwm->hwpwm); in pwm_unexport_child()1384 pwm_prop[1] = NULL; in pwm_unexport_child()1385 kobject_uevent_env(&pwmchip_dev->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child()1386 kfree(pwm_prop[0]); in pwm_unexport_child()