Skip to content
Commit 224941c9 authored by Wang Qing's avatar Wang Qing Committed by Sebastian Reichel
Browse files

power: supply: use kobj_to_dev



Use kobj_to_dev() API instead of open-coded container_of().

Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 0768e6e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment