summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-12-16 12:12:36 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-12-16 12:12:36 -0300
commit39f054a98ab191fed8d921763f131841d876fc0b (patch)
tree3bd5dbb58b11d30e75be3f275a4b5c2c2dda7a43 /drivers/hwmon/pwm-fan.c
parent8ff4f20f3eb55dea0dbbe5e32043ab6b7427882f (diff)
parent2b14864acbaaf03d9c01982e243a84632524c3ac (diff)
Merge remote-tracking branch 'torvalds/master' into perf/core
To pick up fixes. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
-rw-r--r--drivers/hwmon/pwm-fan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c
index 17518b4cab1b..f12b9a28a232 100644
--- a/drivers/hwmon/pwm-fan.c
+++ b/drivers/hwmon/pwm-fan.c
@@ -336,8 +336,6 @@ static int pwm_fan_probe(struct platform_device *pdev)
return ret;
}
- ctx->pwm_value = MAX_PWM;
-
pwm_init_state(ctx->pwm, &ctx->pwm_state);
/*