i2c: i801: Fix I2C Block Read on 8-Series/C220 and later
[cascardo/linux.git] / drivers / pwm / core.c
index 0dbd29e..172ef82 100644 (file)
@@ -339,6 +339,8 @@ int pwmchip_remove(struct pwm_chip *chip)
        unsigned int i;
        int ret = 0;
 
+       pwmchip_sysfs_unexport_children(chip);
+
        mutex_lock(&pwm_lock);
 
        for (i = 0; i < chip->npwm; i++) {