Merge remote-tracking branches 'spi/fix/atmel', 'spi/fix/doc', 'spi/fix/dw', 'spi...
[deliverable/linux.git] / drivers / pwm / core.c
index 966497d10c6ef201144fd6cd66edef7298b18c99..810aef3f4c3e84586d5dd5719ea5d9c74dcfdcfe 100644 (file)
@@ -192,7 +192,7 @@ static void of_pwmchip_add(struct pwm_chip *chip)
 
 static void of_pwmchip_remove(struct pwm_chip *chip)
 {
-       if (chip->dev && chip->dev->of_node)
+       if (chip->dev)
                of_node_put(chip->dev->of_node);
 }
 
This page took 0.026524 seconds and 5 git commands to generate.