commit | 6b060d8a09e9ab03748d1134c34275714a3c0217 | [log] [tgz] |
---|---|---|
author | chenqiwu <chenqiwu@xiaomi.com> | Fri Feb 14 20:56:37 2020 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Mar 10 10:50:08 2020 +0100 |
tree | a255085348c32904546c8de37265c012f9b73337 | |
parent | a786b80c48c2d135a2387b870b19ab503701c314 [diff] |
i2c: use kobj_to_dev() API Use kobj_to_dev() API instead of container_of(). Signed-off-by: chenqiwu <chenqiwu@xiaomi.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>