aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNikita Yushchenko <[email protected]>2021-10-05 17:34:50 +0300
committerGreg Kroah-Hartman <[email protected]>2021-10-13 14:27:55 +0200
commitd445aa402d60014a37a199fae2bba379696b007d (patch)
tree17a603a3ba36c97748ecb8a67b0110531aad1f90 /tools/perf/scripts/python/export-to-sqlite.py
parent2ab189164056b05474275bb40caa038a37713061 (diff)
staging: most: dim2: use device release method
Commit 723de0f9171e ("staging: most: remove device from interface structure") moved registration of driver-provided struct device to the most subsystem. This updated dim2 driver as well. However, struct device passed to register_device() becomes refcounted, and must not be explicitly deallocated, but must provide release method instead. Which is incompatible with managing it via devres. This patch makes the device structure allocated without devres, adds device release method, and moves device destruction there. Fixes: 723de0f9171e ("staging: most: remove device from interface structure") Signed-off-by: Nikita Yushchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions