diff options
| author | Yicong Yang <[email protected]> | 2021-04-08 19:38:10 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-05-17 13:49:06 +0100 |
| commit | 4e023c4dcfc555e9a5f87435cae19412c0684343 (patch) | |
| tree | 7ea83a4a3481ed642c9ea4059e1c3ead7614b934 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | afa2b78f1e58eaca820f32c124e5655f43583eb1 (diff) | |
iio: adc: adi-axi-adc: simplify devm_adi_axi_adc_conv_register()
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: Alexandru Ardelean <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions