diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-06-25 18:27:58 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-07-07 16:54:27 -0700 |
| commit | 50653e8fada2f92c07559e129199daaa3f760d00 (patch) | |
| tree | 9a7c096c4ebdec659c8e575fdea81ff4730ee416 /tools/perf/scripts/python/flamegraph.py | |
| parent | 1e402a15bc00201c1068596445ebfe98d60d1c58 (diff) | |
Input: elan_i2c - 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: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions