summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-dwc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pwm/pwm-dwc-core.c')
-rw-r--r--drivers/pwm/pwm-dwc-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-dwc-core.c b/drivers/pwm/pwm-dwc-core.c
index 043736972cb9..c8425493b95d 100644
--- a/drivers/pwm/pwm-dwc-core.c
+++ b/drivers/pwm/pwm-dwc-core.c
@@ -172,7 +172,6 @@ struct pwm_chip *dwc_pwm_alloc(struct device *dev)
dwc->clk_ns = 10;
chip->ops = &dwc_pwm_ops;
- dev_set_drvdata(dev, chip);
return chip;
}
EXPORT_SYMBOL_GPL(dwc_pwm_alloc);