diff --git a/[refs] b/[refs] index aa198616a6ec..1df368c65a22 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d64f73be1b59b9556de0a8fbd4f1a003c6a45a5c +refs/heads/master: d75d53cd571c02990d56e72f615ab11e943772f9 diff --git a/trunk/include/linux/i2c.h b/trunk/include/linux/i2c.h index a24e267fd189..44f2ecf47d9f 100644 --- a/trunk/include/linux/i2c.h +++ b/trunk/include/linux/i2c.h @@ -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)