diff options
| author | Yicong Yang <[email protected]> | 2021-04-08 19:38:16 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:49:07 +0100 |
| commit | 7349e8a36caa11c07e71b05f42c384bc540446c8 (patch) | |
| tree | d09bd1f578f2f11dba9949b40bf8da380111dd8c /tools/perf/scripts/python/bin | |
| parent | 171a70afbde9a3e7499d7d3efde8ca49f7e5f00d (diff) | |
iio: inkern: 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/bin')
0 files changed, 0 insertions, 0 deletions