summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-04-27 16:18:25 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-05-09 21:22:40 +0300
commitc393ef0741d4bb8848e3e1f77a66404eaf174298 (patch)
tree726388487148910947cbf4241410807028aa7d72 /include/linux
parentf71cc65c01bdac1bc7705b1aad34f0023b41ec4d (diff)
downloadlinux-c393ef0741d4bb8848e3e1f77a66404eaf174298.tar.xz
software node: provide wrappers around kobject_get/put()
Make the code more readable by avoid constant dereferencing of the swnode's kobject when managing references. Provide wrappers that take struct swnode * as argument and make them hide that logic. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org> Link: https://patch.msgid.link/20260427131825.15793-1-bartosz.golaszewski@oss.qualcomm.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions