diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2025-04-22 17:05:31 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-04-23 16:05:50 -0500 |
commit | bfa4477751e9909bb121eca860f44d1b4259d871 (patch) | |
tree | de096f2214204af651a6f638f3100fd9dcee3091 /tools/perf/scripts/python/gecko.py | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
PM: runtime: Define pm_runtime_put cleanup helper
Define a cleanup helper for use with __free to automatically drop the
device usage count when the pointer goes out of scope.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://patch.msgid.link/20250422230534.2295291-2-alex.williamson@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions