Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234097
b: refs/heads/master
c: d9ebaa4
h: refs/heads/master
i:
  234095: ae55611
v: v3
  • Loading branch information
Hans de Goede authored and Guenter Roeck committed Mar 13, 2011
1 parent cbea0a6 commit e37b52c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14a4019de88111d26ba444495fd14833ddb2d65e
refs/heads/master: d9ebaa45472c92704f4814682eec21455edcfa1f
2 changes: 1 addition & 1 deletion trunk/drivers/hwmon/f71882fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,6 @@ static int f71882fg_remove(struct platform_device *pdev)
int nr_fans = (data->type == f71882fg) ? 4 : 3;
u8 start_reg = f71882fg_read8(data, F71882FG_REG_START);

platform_set_drvdata(pdev, NULL);
if (data->hwmon_dev)
hwmon_device_unregister(data->hwmon_dev);

Expand Down Expand Up @@ -2178,6 +2177,7 @@ static int f71882fg_remove(struct platform_device *pdev)
}
}

platform_set_drvdata(pdev, NULL);
kfree(data);

return 0;
Expand Down

0 comments on commit e37b52c

Please sign in to comment.