Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309670
b: refs/heads/master
c: bb28da9
h: refs/heads/master
v: v3
  • Loading branch information
Ramakrishna Pallala authored and Anton Vorontsov committed May 5, 2012
1 parent faa513f commit d8072cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ef3d8fb4deb77ee020b246d217dd4dfb28d88d5
refs/heads/master: bb28da90f4f973529f81be01547ebde7bf270042
2 changes: 2 additions & 0 deletions trunk/drivers/power/max17042_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,8 @@ static int __devexit max17042_remove(struct i2c_client *client)
{
struct max17042_chip *chip = i2c_get_clientdata(client);

if (client->irq)
free_irq(client->irq, chip);
power_supply_unregister(&chip->battery);
return 0;
}
Expand Down

0 comments on commit d8072cd

Please sign in to comment.