diff options
Diffstat (limited to 'drivers/hwmon/vt8231.c')
-rw-r--r-- | drivers/hwmon/vt8231.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c index 320d8141be78..c604972f0186 100644 --- a/drivers/hwmon/vt8231.c +++ b/drivers/hwmon/vt8231.c | |||
@@ -743,6 +743,7 @@ exit_remove_files: | |||
743 | sysfs_remove_group(&pdev->dev.kobj, &vt8231_group); | 743 | sysfs_remove_group(&pdev->dev.kobj, &vt8231_group); |
744 | 744 | ||
745 | exit_free: | 745 | exit_free: |
746 | platform_set_drvdata(pdev, NULL); | ||
746 | kfree(data); | 747 | kfree(data); |
747 | 748 | ||
748 | exit_release: | 749 | exit_release: |