Commit c8ad6a76 authored by Minghao Chi's avatar Minghao Chi Committed by Hans de Goede
Browse files

platform/x86: samsung-laptop: use kobj_to_dev()



Use kobj_to_dev() instead of open-coding it.

Signed-off-by: default avatarMinghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220511021522.1488373-1-chi.minghao@zte.com.cn


Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 0ca48a2e
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