aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-11-09 17:34:09 +0100
committerAlexandre Belloni <[email protected]>2020-11-19 12:50:12 +0100
commit1bfc485b73579bff5326ac481fd9be7e24a5d5d1 (patch)
tree33230dec2dfa16ee83a368376fe44e219d25c6b6 /tools/perf/scripts/python/intel-pt-events.py
parentfdcfd854333be5b30377dc5daa9cd0fa1643a979 (diff)
rtc: shrink devm_rtc_allocate_device()
We don't need to use devres_alloc() & devres_add() manually if all we want to manage is a single pointer. We can shrink the code by using devm_add_action_or_reset() instead. The number of allocations stays the same. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions