aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2018-09-21 06:40:08 -0700
committerGreg Kroah-Hartman <[email protected]>2018-09-28 15:14:54 +0200
commitc1de7f43bd84271e438a4f2dadc4ba9a353baaea (patch)
treef08b22fddaa52f2d55f6b2cb34bacc936e8838a9 /tools/perf/scripts/python/check-perf-trace.py
parentfa72d847d68d7833b77a4bef944cf2c5baf56f49 (diff)
nvmem: use kref
Use kref for reference counting. Use an approach similar to the one seen in the common clock subsystem: don't actually destroy the nvmem device until the last user puts it. This way we can get rid of the users check from nvmem_unregister(). Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions