diff options
| author | Bartosz Golaszewski <[email protected]> | 2020-11-30 15:27:59 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-01-09 14:25:26 +0000 |
| commit | 2a9685d1a3b7644ca08d8355fc238b43faef7c3e (patch) | |
| tree | 52f3aa721d67405452dcec90f5c0b73a48ba98c2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | eab64715709ed440d54cac42f239e2d49df26c1f (diff) | |
iio: adc: xilinx: use more devres helpers and remove remove()
In order to simplify resource management and error paths in probe() and
entirely drop the remove() callback - use devres helpers wherever
possible. Define devm actions for cancelling the delayed work and
disabling the clock.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Tested-by: Anand Ashok Dumbre <[email protected]>
Reviewed-by: Anand Ashok Dumbre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions