diff options
author | Oliver Neukum <oneukum@suse.com> | 2022-04-28 15:34:55 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 11:02:23 +0200 |
commit | af2aa3c4e52bc63b532b55b1ac66f262ecff2fb3 (patch) | |
tree | 3cea291da9ddd07c3855ff45287121ce7930b732 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 07af64dddfb87d1af9360204155396be07b7aa70 (diff) |
media: imon: drop references only after device is no longer used
The point of using get/put_device() is to keep references
for as long as the device may be in use. That means dropping
them must be the penultimate action right before freeing the memory.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions