diff options
| author | 2021-02-03 21:55:15 +0000 | |
|---|---|---|
| committer | 2021-02-04 10:20:42 +0100 | |
| commit | 708086b2365bca758f652bb6bff4e56e5bbf9d45 (patch) | |
| tree | bb46373061591cc2629170f788a44f322f993d04 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: ideapad-laptop: use device_{add,remove}_group (diff) | |
| download | linux-dev-708086b2365bca758f652bb6bff4e56e5bbf9d45.tar.xz linux-dev-708086b2365bca758f652bb6bff4e56e5bbf9d45.zip | |
platform/x86: ideapad-laptop: use kobj_to_dev()
Use kobj_to_dev() instead of open-coding the container_of() macro.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-9-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
