diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-29 08:47:16 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-03 19:40:50 +0100 |
| commit | ce30eeb613cbde817ae3c041505a3181cccb9d35 (patch) | |
| tree | c6b18f66e6330c7c9676e51aa391ac386914cc33 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6d2710ce2c45122eea4ccdb4cee1fd56e6702cea (diff) | |
iio: adc: stm32: 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions