diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-08 14:13:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-09 12:42:57 +0300 |
commit | 789be03a600842ef461968cc5a2d458f51f319b2 (patch) | |
tree | 931ba69e3827398471652589432ab138a0f0584e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fb42378dcc7f247df56f0ecddfdae85487495fbc (diff) | |
download | linux-789be03a600842ef461968cc5a2d458f51f319b2.tar.xz |
driver core: add local subsys_get and subsys_put functions
We need to control the reference count of the subsys private structure
instead of directly manipulating the kset reference count of it, so wrap
that logic up in a subsys_get() and subsys_put() function to make it more
obvious as to what is happening.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230208111330.439504-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions