aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYicong Yang <[email protected]>2021-04-08 19:38:14 +0800
committerJonathan Cameron <[email protected]>2021-05-17 13:49:07 +0100
commitcf5724e91515e8b016019b148c99bdf7c58f3ab7 (patch)
tree2000b1808b57df476e4f40ee366c12de603ac0b3 /tools/perf/scripts/python
parent8e39d4723a00cfc7029e61f7bd9ffa357409f9d2 (diff)
iio: core: simplify some devm functions
Use devm_add_action_or_reset() instead of devres_alloc() and devres_add(), which works the same. This will simplify the code. There is no functional changes. Signed-off-by: Yicong Yang <[email protected]> Reviewed-by: Lars-Peter Clausen <[email protected]> Reviewed-by: Nuno Sa <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions