diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-06-25 18:27:55 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-07-07 16:54:27 -0700 |
| commit | c4834f4ad7fdc9002e7d3424bd7aed7a63f070be (patch) | |
| tree | b50e74a96ed026cc81b00216289e4651660c7423 /tools/perf/scripts/python/flamegraph.py | |
| parent | caec3d4416a2fbd7399556ba366da4d8fc05d9f5 (diff) | |
Input: gpio-vibra - 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]>
Reviewed-by: Linus Walleij <[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