aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-11-10 15:47:43 +0200
committerAndy Shevchenko <[email protected]>2021-11-15 13:31:44 +0200
commit2ff64a84bbb3ea0281899766d9a944fd18db7013 (patch)
treea44b8341371fb048465d59d51bde902074762e38 /tools/perf/scripts/python/sched-migration.py
parent507805b83ff108473dba9d4909e41abd50cf07f5 (diff)
gpiolib: acpi: shrink devm_acpi_dev_add_driver_gpios()
If all we want to manage is a single pointer, there's no need to manually allocate and add a new devres. We can simply use devm_add_action_or_reset() and shrink the code by a good bit. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions