diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-29 08:47:14 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-03 19:40:49 +0100 |
| commit | a3e584fab675b833e9923a0f5e76031b027525d9 (patch) | |
| tree | 49ec0eaba4144cc39da78fac848f6eb4af36c623 /tools/perf/scripts/python | |
| parent | 291cb0b37af611503ccacff752ac0fc920b0a21b (diff) | |
iio: adc: meson_saradc: 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: Martin Blumenstingl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions