Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58806
b: refs/heads/master
c: d75d53c
h: refs/heads/master
v: v3
  • Loading branch information
Mark M. Hoffman authored and Jean Delvare committed Jul 12, 2007
1 parent 994c30c commit 44ac788
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d64f73be1b59b9556de0a8fbd4f1a003c6a45a5c
refs/heads/master: d75d53cd571c02990d56e72f615ab11e943772f9
3 changes: 2 additions & 1 deletion trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ struct i2c_client {

static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj)
{
return to_i2c_client(container_of(kobj, struct device, kobj));
struct device * const dev = container_of(kobj, struct device, kobj);
return to_i2c_client(dev);
}

static inline void *i2c_get_clientdata (struct i2c_client *dev)
Expand Down

0 comments on commit 44ac788

Please sign in to comment.