diff options
| author | Krzysztof Kozlowski <[email protected]> | 2023-06-25 18:27:54 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-07-07 16:54:26 -0700 |
| commit | caec3d4416a2fbd7399556ba366da4d8fc05d9f5 (patch) | |
| tree | a194f8a4ce65309d5769b389d26f49d42d036977 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0d384e5959dde12717419a3fd77ee62cc10f069f (diff) | |
Input: gpio_keys_polled - 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions