diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-29 08:47:11 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-03 19:40:49 +0100 |
| commit | 55dc295200e60fd4a334098dd4c036eff9e9ead3 (patch) | |
| tree | 134ea6e24437c48c9de638582839e0118edacced /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | c8b9a02361d99364faddbf1193b85d476f35cfd3 (diff) | |
iio: adc: envelope-detector: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Peter Rosin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions