Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94913
b: refs/heads/master
c: 6d072d7
h: refs/heads/master
i:
  94911: d9f26c8
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Apr 29, 2008
1 parent 25e2242 commit ec12f50
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: 1842cc2eeb345c4eef069ffd46e95359fb37b4b5
refs/heads/master: 6d072d78f87e8fe0fe30d096991b83af07f8bdfe
2 changes: 2 additions & 0 deletions trunk/drivers/i2c/chips/tps65010.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ static int __exit tps65010_remove(struct i2c_client *client)
flush_scheduled_work();
debugfs_remove(tps->file);
kfree(tps);
i2c_set_clientdata(client, NULL);
the_tps = NULL;
return 0;
}
Expand Down Expand Up @@ -615,6 +616,7 @@ static int tps65010_probe(struct i2c_client *client)
i2c_smbus_read_byte_data(client, TPS_DEFGPIO),
i2c_smbus_read_byte_data(client, TPS_MASK3));

i2c_set_clientdata(client, tps);
the_tps = tps;

#if defined(CONFIG_USB_GADGET) && !defined(CONFIG_USB_OTG)
Expand Down

0 comments on commit ec12f50

Please sign in to comment.