diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-29 08:47:12 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 19:40:49 +0100 |
| commit | 1030b5bc68ae572467122bfe7aa48b118e942c52 (patch) | |
| tree | 1e23bb7389f1a0184835fcaa98ef4fb79ffe18bc /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 55dc295200e60fd4a334098dd4c036eff9e9ead3 (diff) | |
| download | linux-1030b5bc68ae572467122bfe7aa48b118e942c52.tar.gz linux-1030b5bc68ae572467122bfe7aa48b118e942c52.zip | |
iio: adc: exynos_adc: 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 <krzk@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200829064726.26268-4-krzk@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
