Skip to content
Commit 6b060d8a authored by chenqiwu's avatar chenqiwu Committed by Wolfram Sang
Browse files

i2c: use kobj_to_dev() API



Use kobj_to_dev() API instead of container_of().

Signed-off-by: default avatarchenqiwu <chenqiwu@xiaomi.com>
Reviewed-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent a786b80c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment