summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/pwm-fan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c
index af30dd63de6a..823c877a1ec0 100644
--- a/drivers/hwmon/pwm-fan.c
+++ b/drivers/hwmon/pwm-fan.c
@@ -110,7 +110,6 @@ static int pwm_fan_probe(struct platform_device *pdev)
return PTR_ERR(ctx->pwm);
}
- dev_set_drvdata(&pdev->dev, ctx);
platform_set_drvdata(pdev, ctx);
/* Set duty cycle to maximum allowed */
OpenPOWER on IntegriCloud