diff options
-rw-r--r-- | drivers/hwmon/pwm-fan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pwm-fan.c b/drivers/hwmon/pwm-fan.c index 666568c50b8..d5421c023b4 100644 --- a/drivers/hwmon/pwm-fan.c +++ b/drivers/hwmon/pwm-fan.c @@ -152,7 +152,7 @@ static int pwm_fan_remove(struct platform_device *pdev) if (ctx->pwm_value) pwm_disable(ctx->pwm); - mutex_destroy(&ctx->mutex); + mutex_destroy(&ctx->lock); return 0; } |