projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (pwm-fan) Remove duplicate dev_set_drvdata call
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
pwm-fan.c
diff --git
a/drivers/hwmon/pwm-fan.c
b/drivers/hwmon/pwm-fan.c
index af30dd63de6a7c4db41884d8f81ad6c33e69e4df..823c877a1ec0952ce5fab7a465c79826f3442764 100644
(file)
--- 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 */