Commit 0616ca73 authored by chenqiwu's avatar chenqiwu Committed by Greg Kroah-Hartman
Browse files

usb: use kobj_to_dev() API



Use kobj_to_dev() API instead of container_of().

Signed-off-by: default avatarchenqiwu <chenqiwu@xiaomi.com>
Link: https://lore.kernel.org/r/1581683820-9978-1-git-send-email-qiwuchen55@gmail.com


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