Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287941
b: refs/heads/master
c: 363434b
h: refs/heads/master
i:
  287939: bb2c1e9
v: v3
  • Loading branch information
Guenter Roeck committed Feb 23, 2012
1 parent e5d671d commit 3dd0426
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 2f2da1ac0ba5b6cc6e1957c4da5ff20e67d8442b
refs/heads/master: 363434b5dc352464ac7601547891e5fc9105f124
3 changes: 1 addition & 2 deletions trunk/drivers/hwmon/ads1015.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ static int ads1015_probe(struct i2c_client *client,
continue;
err = device_create_file(&client->dev, &ads1015_in[k].dev_attr);
if (err)
goto exit_free;
goto exit_remove;
}

data->hwmon_dev = hwmon_device_register(&client->dev);
Expand All @@ -285,7 +285,6 @@ static int ads1015_probe(struct i2c_client *client,
exit_remove:
for (k = 0; k < ADS1015_CHANNELS; ++k)
device_remove_file(&client->dev, &ads1015_in[k].dev_attr);
exit_free:
kfree(data);
exit:
return err;
Expand Down

0 comments on commit 3dd0426

Please sign in to comment.