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