diff options
| author | Yicong Yang <[email protected]> | 2021-04-08 19:38:12 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:49:06 +0100 |
| commit | bfc1807acf85a22a17ea22635d4f546c3c53a73f (patch) | |
| tree | aa6a64272e918f077955b4d287cacb2bbf9e9937 /tools/perf/scripts/python/netdev-times.py | |
| parent | 2c6a958789f79dedef3d661569f7faa7b375b538 (diff) | |
iio: hw_consumer: simplify devm_iio_hw_consumer_alloc()
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions