Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254815
b: refs/heads/master
c: 96b269c
h: refs/heads/master
i:
  254813: 435b589
  254811: 7682376
  254807: 6d2b467
  254799: 69df03e
  254783: 6a7a47a
v: v3
  • Loading branch information
Andre Bartke authored and Matthew Garrett committed Jul 7, 2011
1 parent 0a1dcdd commit efd9f4c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2d43f671c8fb0fd72e896a8b31e15b98916f707d
refs/heads/master: 96b269c1b0e5a218096aa6ff240d2286e99ddd6d
4 changes: 3 additions & 1 deletion trunk/drivers/platform/x86/compal-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1030,8 +1030,10 @@ static int __devinit compal_probe(struct platform_device *pdev)
initialize_fan_control_data(data);

err = sysfs_create_group(&pdev->dev.kobj, &compal_attribute_group);
if (err)
if (err) {
kfree(data);
return err;
}

data->hwmon_dev = hwmon_device_register(&pdev->dev);
if (IS_ERR(data->hwmon_dev)) {
Expand Down

0 comments on commit efd9f4c

Please sign in to comment.