Skip to content
Commit baf1d9c1 authored by zhouchuangao's avatar zhouchuangao Committed by Greg Kroah-Hartman
Browse files

driver/base/soc: Use kobj_to_dev() API



Use kobj_to_dev() API instead of container_of().

Signed-off-by: default avatarzhouchuangao <zhouchuangao@xiaomi.com>
Link: https://lore.kernel.org/r/1587878031-16591-1-git-send-email-zhouchuangao@xiaomi.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 96fa72ff
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