|
@@ -425,6 +425,8 @@ void pwmchip_sysfs_unexport_children(struct pwm_chip *chip)
|
|
if (test_bit(PWMF_EXPORTED, &pwm->flags))
|
|
if (test_bit(PWMF_EXPORTED, &pwm->flags))
|
|
pwm_unexport_child(parent, pwm);
|
|
pwm_unexport_child(parent, pwm);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ put_device(parent);
|
|
}
|
|
}
|
|
|
|
|
|
static int __init pwm_sysfs_init(void)
|
|
static int __init pwm_sysfs_init(void)
|